summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-29 09:43:53 +0100
committerGitHub <noreply@github.com>2024-10-29 09:43:53 +0100
commitcf6a575cbd1d155b8c81c174e885d93e80092a6f (patch)
tree0aae04563b431fdc466ef30f2d9b924a437ea1c3 /ospfd
parentMerge pull request #17257 from pguibert6WIND/srv6_debug (diff)
parentospfd:fix syntax of some no commands (diff)
downloadfrr-cf6a575cbd1d155b8c81c174e885d93e80092a6f.tar.xz
frr-cf6a575cbd1d155b8c81c174e885d93e80092a6f.zip
Merge pull request #17189 from Shbinging/fix_some_ospf_unset_commands_syntax
ospfd:fix syntax of some ospf no commands
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_vty.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 3be3de24c..511884e37 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -1266,7 +1266,7 @@ DEFUN (ospf_area_vlink_intervals,
DEFUN (no_ospf_area_vlink_intervals,
no_ospf_area_vlink_intervals_cmd,
- "no area <A.B.C.D|(0-4294967295)> virtual-link A.B.C.D {hello-interval (1-65535)|retransmit-interval (1-65535)|retransmit-window (20-1000)|transmit-delay (1-65535)|dead-interval (1-65535)}",
+ "no area <A.B.C.D|(0-4294967295)> virtual-link A.B.C.D {hello-interval [(1-65535)]|retransmit-interval [(1-65535)]|retransmit-window [(20-1000)]|transmit-delay [(1-65535)]|dead-interval [(1-65535)]}",
NO_STR
VLINK_HELPSTR_IPADDR
VLINK_HELPSTR_TIME_PARAM)
@@ -1583,7 +1583,7 @@ DEFPY (no_ospf_area_nssa,
"no area <A.B.C.D|(0-4294967295)>$area_str nssa\
[{\
<translate-candidate|translate-never|translate-always>\
- |default-information-originate [{metric (0-16777214)|metric-type (1-2)}]\
+ |default-information-originate [{metric [(0-16777214)]|metric-type [(1-2)]}]\
|no-summary\
|suppress-fa\
}]",
@@ -1664,7 +1664,7 @@ DEFPY (ospf_area_nssa_range,
DEFPY (no_ospf_area_nssa_range,
no_ospf_area_nssa_range_cmd,
- "no area <A.B.C.D|(0-4294967295)>$area_str nssa range A.B.C.D/M$prefix [<not-advertise|cost (0-16777215)>]",
+ "no area <A.B.C.D|(0-4294967295)>$area_str nssa range A.B.C.D/M$prefix [<not-advertise|cost [(0-16777215)]>]",
NO_STR
"OSPF area parameters\n"
"OSPF area ID in IP address format\n"
@@ -1743,7 +1743,7 @@ DEFUN (ospf_area_default_cost,
DEFUN (no_ospf_area_default_cost,
no_ospf_area_default_cost_cmd,
- "no area <A.B.C.D|(0-4294967295)> default-cost (0-16777215)",
+ "no area <A.B.C.D|(0-4294967295)> default-cost [(0-16777215)]",
NO_STR
"OSPF area parameters\n"
"OSPF area ID in IP address format\n"
@@ -2591,7 +2591,7 @@ ALIAS(ospf_write_multiplier, write_multiplier_cmd, "write-multiplier (1-100)",
DEFUN (no_ospf_write_multiplier,
no_ospf_write_multiplier_cmd,
- "no ospf write-multiplier (1-100)",
+ "no ospf write-multiplier [(1-100)]",
NO_STR
"OSPF specific commands\n"
"Write multiplier\n"
@@ -9560,7 +9560,7 @@ DEFUN (ospf_default_information_originate,
DEFUN (no_ospf_default_information_originate,
no_ospf_default_information_originate_cmd,
- "no default-information originate [{always|metric (0-16777214)|metric-type (1-2)|route-map RMAP_NAME}]",
+ "no default-information originate [{always|metric [(0-16777214)]|metric-type [(1-2)]|route-map [RMAP_NAME]}]",
NO_STR
"Control distribution of default information\n"
"Distribute a default route\n"
@@ -9644,7 +9644,7 @@ DEFUN (ospf_distance,
DEFUN (no_ospf_distance,
no_ospf_distance_cmd,
- "no distance (1-255)",
+ "no distance [(1-255)]",
NO_STR
"Administrative distance\n"
"OSPF Administrative distance\n")