mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
all: Fix various syntax errors
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
98463e0ab7
commit
12dcf78e0b
@ -3698,15 +3698,13 @@ DEFUN (no_set_weight,
|
||||
}
|
||||
|
||||
|
||||
DEFUN (set_aspath_prepend,
|
||||
set_aspath_prepend_cmd,
|
||||
"set as-path prepend <(1-4294967295)...|last-as (1-10)>",
|
||||
DEFUN (set_aspath_prepend_asn,
|
||||
set_aspath_prepend_asn_cmd,
|
||||
"set as-path prepend (1-4294967295)...",
|
||||
SET_STR
|
||||
"Transform BGP AS_PATH attribute\n"
|
||||
"Prepend to the as-path\n"
|
||||
"AS number\n"
|
||||
"Use the peer's AS-number\n"
|
||||
"Number of times to insert")
|
||||
"AS number\n")
|
||||
{
|
||||
int idx_asn = 3;
|
||||
int ret;
|
||||
@ -3719,6 +3717,17 @@ DEFUN (set_aspath_prepend,
|
||||
return ret;
|
||||
}
|
||||
|
||||
DEFUN (set_aspath_prepend_lastas,
|
||||
set_aspath_prepend_lastas_cmd,
|
||||
"set as-path prepend last-as (1-10)",
|
||||
SET_STR
|
||||
"Transform BGP AS_PATH attribute\n"
|
||||
"Prepend to the as-path\n"
|
||||
"Use the peer's AS-number\n"
|
||||
"Number of times to insert")
|
||||
{
|
||||
return set_aspath_prepend_asn (self, vty, argc, argv);
|
||||
}
|
||||
|
||||
DEFUN (no_set_aspath_prepend,
|
||||
no_set_aspath_prepend_cmd,
|
||||
@ -4516,7 +4525,8 @@ bgp_route_map_init (void)
|
||||
install_element (RMAP_NODE, &no_set_weight_cmd);
|
||||
install_element (RMAP_NODE, &set_metric_cmd);
|
||||
install_element (RMAP_NODE, &no_set_metric_cmd);
|
||||
install_element (RMAP_NODE, &set_aspath_prepend_cmd);
|
||||
install_element (RMAP_NODE, &set_aspath_prepend_asn_cmd);
|
||||
install_element (RMAP_NODE, &set_aspath_prepend_lastas_cmd);
|
||||
install_element (RMAP_NODE, &set_aspath_exclude_cmd);
|
||||
install_element (RMAP_NODE, &no_set_aspath_prepend_cmd);
|
||||
install_element (RMAP_NODE, &no_set_aspath_exclude_cmd);
|
||||
|
@ -943,7 +943,7 @@ DEFUN (no_bgp_confederation_identifier,
|
||||
|
||||
DEFUN (bgp_confederation_peers,
|
||||
bgp_confederation_peers_cmd,
|
||||
"bgp confederation peers . (1-4294967295)",
|
||||
"bgp confederation peers (1-4294967295)...",
|
||||
"BGP specific commands\n"
|
||||
"AS confederation parameters\n"
|
||||
"Peer ASs in BGP confederation\n"
|
||||
|
@ -55,7 +55,7 @@ isis_circuit_lookup (struct vty *vty)
|
||||
|
||||
DEFUN (ip_router_isis,
|
||||
ip_router_isis_cmd,
|
||||
"<ip|ipv6> router isis WORD",
|
||||
"ip router isis WORD",
|
||||
"Interface Internet Protocol config commands\n"
|
||||
"IP router interface commands\n"
|
||||
"IS-IS Routing for IP\n"
|
||||
@ -108,6 +108,17 @@ DEFUN (ip_router_isis,
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (ip6_router_isis,
|
||||
ip6_router_isis_cmd,
|
||||
"ipv6 router isis WORD",
|
||||
"Interface Internet Protocol config commands\n"
|
||||
"IP router interface commands\n"
|
||||
"IS-IS Routing for IP\n"
|
||||
"Routing process tag\n")
|
||||
{
|
||||
return ip_router_isis (self, vty, argc, argv);
|
||||
}
|
||||
|
||||
DEFUN (no_ip_router_isis,
|
||||
no_ip_router_isis_cmd,
|
||||
"no <ip|ipv6> router isis WORD",
|
||||
@ -2163,6 +2174,7 @@ void
|
||||
isis_vty_init (void)
|
||||
{
|
||||
install_element (INTERFACE_NODE, &ip_router_isis_cmd);
|
||||
install_element (INTERFACE_NODE, &ip6_router_isis_cmd);
|
||||
install_element (INTERFACE_NODE, &no_ip_router_isis_cmd);
|
||||
|
||||
install_element (INTERFACE_NODE, &isis_passive_cmd);
|
||||
|
@ -8372,7 +8372,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 WORD>]",
|
||||
"no default-information originate [<always|metric (0-16777214)|metric-type (1-2)|route-map WORD>]",
|
||||
NO_STR
|
||||
"Control distribution of default information\n"
|
||||
"Distribute a default route\n"
|
||||
|
@ -1358,7 +1358,7 @@ DEFUN (ip_rip_receive_version,
|
||||
|
||||
DEFUN (ip_rip_receive_version_1,
|
||||
ip_rip_receive_version_1_cmd,
|
||||
"ip rip receive version 1 2",
|
||||
"ip rip receive version (1-1) (2-2)",
|
||||
IP_STR
|
||||
"Routing Information Protocol\n"
|
||||
"Advertisement reception\n"
|
||||
|
@ -3696,7 +3696,7 @@ zebra_ip_config (struct vty *vty)
|
||||
|
||||
DEFUN (ip_zebra_import_table_distance,
|
||||
ip_zebra_import_table_distance_cmd,
|
||||
"ip import-table (1-252) [distance (1-255)] [route-map WORD>]",
|
||||
"ip import-table (1-252) [distance (1-255)] [route-map WORD]",
|
||||
IP_STR
|
||||
"import routes from non-main kernel table\n"
|
||||
"kernel routing table id\n"
|
||||
|
Loading…
Reference in New Issue
Block a user