Adding comments to static routes via CLI - Check Point CheckMates
Adding comments to static routes via CLI
Hi,
does anyone know how to add a comment to a static route via the CLI on a Spark Gateway?
Within the Web interface, a route can be edited and a comment can be added, this will then show up when view via the CLI as below..
Gateway-ID-xxxxxx> show static-routes
id: 1
disabled: false
destination: 172.17.0.0/20
source:
service:
ipv4-address: 172.17.0.2
monitored-server-1:
monitored-server-2:
monitored-server-3:
monitoring-mode: off
interface:
logical:
metric: 0
rank: 60
priority: 0
comment: Test Comment
However I cannot find any way to do this via the CLI. The commands add static-route or set static-route do not support the parameter "comment", nor is it documented in the Spark Management guide. In additon, when I run show configuration it does not appear there either.
Thanks
0
Kudos
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
2 Replies
MVP Gold CHKP
2026-05-1407:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like the option for comments isn't in the CLI. In my R81.10.17 test box if I add a comment to a route and then 'show configuration' the comment is not included in the config line for that route.
0
Kudos
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Advisor
2026-05-1411:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe the "comments" for specific rules are only supported from the Spark WEBUI. Show configuration exports most (not all) of the settings, but it doesn't mean the settings can all be configured from CLI.
I think this is one of the reasons restoring all the settings from "show configuration" output in Gaia Embedded is unsupported and human intervention is needed for filtering the CLISH commands that actually work.
0
Kudos
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Post Reply
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
sx8n20394 |
7 |
israelfds95 |
7 |
jorgeluiznim |
5 |
velo |
1 |
BikeMan |
1 |
emmap |
1 |
CEEJAY |
1 |
Max_Leorne |
1 |
Chris_Atkinson |
1 |
Trending Discussions
Reach My Device – A Native Option for Secure Remote Access to Quantum Spark Appliances
Downgrading a Quantum Spark Appliance: From 'Upgrade Not Supported' to a Working Boot Loader Recover
L2TP Remote Access VPN - Can't Connect on SMB 2550 R82.00.10
Upcoming Events
Sort by:
Tue 28 Jul 2026 @ 11:00 AM (EDT)
Under the Hood - Check Point and Illumio – Modern Network Defense Against AI-Based Threats
Wed 29 Jul 2026 @ 12:00 PM (SGT)
The AI Security Report 2026: A Turning Point for Enterprise Defense - SGT
Wed 29 Jul 2026 @ 02:00 PM (IDT)
The AI Security Report 2026: A Turning Point for Enterprise Defense - AMER
Wed 29 Jul 2026 @ 03:00 PM (CEST)
The AI Security Report 2026: A Turning Point for Enterprise Defense EMEA
Wed 29 Jul 2026 @ 11:00 AM (EDT)
TechTalk: On-Premise SD-WAN Management
Thu 30 Jul 2026 @ 11:30 AM (CDT)
CheckMates Live DFW: Agentic AI Security Deep Dive & Hands-On
Tue 28 Jul 2026 @ 11:00 AM (EDT)
Wed 29 Jul 2026 @ 12:00 PM (SGT)
Wed 29 Jul 2026 @ 02:00 PM (IDT)
Wed 29 Jul 2026 @ 03:00 PM (CEST)
Wed 29 Jul 2026 @ 11:00 AM (EDT)
TechTalk: On-Premise SD-WAN Management
Thu 30 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI Gateway
Tue 11 Aug 2026 @ 11:30 AM (EDT)
New York City: Agentic AI Security Deep Dive & Hands-On
Thu 13 Aug 2026 @ 11:30 AM (EDT)
Waltham, MA: Agentic AI Security Deep Dive & Hands-On
Thu 20 Aug 2026 @ 08:30 AM (COT)
Medellin: Workspace Evolution: Hybrid Mesh Management - Visibilidad, Automatización e IA
Thu 20 Aug 2026 @ 06:00 PM (COT)
Medellin: Workspace Intelligence: IA Generativa en Acción para Equipos de Seguridad
Thu 27 Aug 2026 @ 09:00 AM (CEST)
Check Point Hands-On SASE and Cloud Workshop - Zurich
Wed 21 Oct 2026 @ 09:00 AM (BST)
AI Security Workshop - Glasgow
About CheckMates
Learn Check Point
Advanced Learning
Resources
Non-English Discussions
YOU DESERVE THE BEST SECURITY
We’re Social. Follow Us CheckMates on LinkedIn Check Point on YouTube CheckMates on Facebook CheckMates on Instagram
©1994-2026 Check Point Software Technologies Ltd. All rights reserved. Copyright Privacy Policy About Us UserCenter
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.