Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Greg_Harbers
Collaborator

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
2 Replies
emmap
MVP Gold CHKP MVP Gold CHKP
MVP Gold CHKP

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
Tom_Hinoue
Advisor
Advisor

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

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events