mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 04:25:43 +00:00
Expand #defines in command strings
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
92300491f6
commit
9ccf14f739
@ -555,7 +555,7 @@ bgp_bfd_show_info(struct vty *vty, struct peer *peer, u_char use_json, json_obje
|
||||
|
||||
DEFUN (neighbor_bfd,
|
||||
neighbor_bfd_cmd,
|
||||
NEIGHBOR_CMD2 "bfd",
|
||||
"neighbor <A.B.C.D|X:X::X:X|WORD> bfd",
|
||||
NEIGHBOR_STR
|
||||
NEIGHBOR_ADDR_STR2
|
||||
"Enables BFD support\n")
|
||||
@ -578,7 +578,7 @@ DEFUN (neighbor_bfd,
|
||||
|
||||
DEFUN (neighbor_bfd_param,
|
||||
neighbor_bfd_param_cmd,
|
||||
NEIGHBOR_CMD2 "bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
|
||||
"neighbor <A.B.C.D|X:X::X:X|WORD> bfd (2-255) (50-60000) (50-60000)",
|
||||
NEIGHBOR_STR
|
||||
NEIGHBOR_ADDR_STR2
|
||||
"Enables BFD support\n"
|
||||
@ -652,7 +652,7 @@ DEFUN_HIDDEN (neighbor_bfd_type,
|
||||
*/
|
||||
DEFUN (no_neighbor_bfd,
|
||||
no_neighbor_bfd_cmd,
|
||||
NO_NEIGHBOR_CMD2 "bfd",
|
||||
"no neighbor <A.B.C.D|X:X::X:X|WORD> bfd",
|
||||
NO_STR
|
||||
NEIGHBOR_STR
|
||||
NEIGHBOR_ADDR_STR2
|
||||
|
@ -513,7 +513,7 @@ DEFUN (show_ip_bgp_nexthop_detail,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_nexthop,
|
||||
show_ip_bgp_instance_nexthop_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " nexthop",
|
||||
"show ip bgp <view|vrf> WORD nexthop",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -526,7 +526,7 @@ DEFUN (show_ip_bgp_instance_nexthop,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_all_nexthop,
|
||||
show_ip_bgp_instance_all_nexthop_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_ALL_CMD " nexthop",
|
||||
"show ip bgp <view|vrf> all nexthop",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -539,7 +539,7 @@ DEFUN (show_ip_bgp_instance_all_nexthop,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_nexthop_detail,
|
||||
show_ip_bgp_instance_nexthop_detail_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " nexthop detail",
|
||||
"show ip bgp <view|vrf> WORD nexthop detail",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
|
116
bgpd/bgp_route.c
116
bgpd/bgp_route.c
@ -8444,7 +8444,7 @@ DEFUN (show_ip_bgp_vpnv4_rd_prefix,
|
||||
|
||||
DEFUN (show_ip_bgp_view,
|
||||
show_ip_bgp_instance_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " [json]",
|
||||
"show ip bgp <view|vrf> WORD [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -8467,7 +8467,7 @@ DEFUN (show_ip_bgp_view,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_all,
|
||||
show_ip_bgp_instance_all_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_ALL_CMD " [json]",
|
||||
"show ip bgp <view|vrf> all [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -8482,7 +8482,7 @@ DEFUN (show_ip_bgp_instance_all,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_route,
|
||||
show_ip_bgp_instance_route_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " A.B.C.D [json]",
|
||||
"show ip bgp <view|vrf> WORD A.B.C.D [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -8497,7 +8497,7 @@ DEFUN (show_ip_bgp_instance_route,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_route_pathtype,
|
||||
show_ip_bgp_instance_route_pathtype_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " A.B.C.D <bestpath|multipath> [json]",
|
||||
"show ip bgp <view|vrf> WORD A.B.C.D <bestpath|multipath> [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -8520,7 +8520,7 @@ DEFUN (show_ip_bgp_instance_route_pathtype,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_prefix,
|
||||
show_ip_bgp_instance_prefix_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " A.B.C.D/M [json]",
|
||||
"show ip bgp <view|vrf> WORD A.B.C.D/M [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -8535,7 +8535,7 @@ DEFUN (show_ip_bgp_instance_prefix,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_prefix_pathtype,
|
||||
show_ip_bgp_instance_prefix_pathtype_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " A.B.C.D/M <bestpath|multipath> [json]",
|
||||
"show ip bgp <view|vrf> WORD A.B.C.D/M <bestpath|multipath> [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -8836,7 +8836,7 @@ DEFUN (show_ipv6_bgp_prefix,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -8846,7 +8846,7 @@ DEFUN (show_ipv6_bgp_prefix,
|
||||
*/
|
||||
DEFUN (show_bgp_view,
|
||||
show_bgp_instance_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " [json]",
|
||||
"show bgp <view|vrf> WORD [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -8868,7 +8868,7 @@ DEFUN (show_bgp_view,
|
||||
|
||||
DEFUN (show_bgp_instance_all,
|
||||
show_bgp_instance_all_cmd,
|
||||
"show bgp " BGP_INSTANCE_ALL_CMD " [json]",
|
||||
"show bgp <view|vrf> all [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_ALL_HELP_STR
|
||||
@ -8883,7 +8883,7 @@ DEFUN (show_bgp_instance_all,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 X:X::X:X [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -8894,7 +8894,7 @@ DEFUN (show_bgp_instance_all,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_route,
|
||||
show_bgp_instance_route_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " X:X::X:X [json]",
|
||||
"show bgp <view|vrf> WORD X:X::X:X [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -8909,7 +8909,7 @@ DEFUN (show_bgp_instance_route,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X (bestpath|multipath) [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 X:X::X:X (bestpath|multipath) [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -8922,7 +8922,7 @@ DEFUN (show_bgp_instance_route,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_route_pathtype,
|
||||
show_bgp_instance_route_pathtype_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " X:X::X:X <bestpath|multipath> [json]",
|
||||
"show bgp <view|vrf> WORD X:X::X:X <bestpath|multipath> [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -8944,7 +8944,7 @@ DEFUN (show_bgp_instance_route_pathtype,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 X:X::X:X/M [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -8955,7 +8955,7 @@ DEFUN (show_bgp_instance_route_pathtype,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_prefix,
|
||||
show_bgp_instance_prefix_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " X:X::X:X/M [json]",
|
||||
"show bgp <view|vrf> WORD X:X::X:X/M [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -8970,7 +8970,7 @@ DEFUN (show_bgp_instance_prefix,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M (bestpath|multipath) [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 X:X::X:X/M (bestpath|multipath) [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -8983,7 +8983,7 @@ DEFUN (show_bgp_instance_prefix,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_prefix_pathtype,
|
||||
show_bgp_instance_prefix_pathtype_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " X:X::X:X/M <bestpath|multipath> [json]",
|
||||
"show bgp <view|vrf> WORD X:X::X:X/M <bestpath|multipath> [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -9005,7 +9005,7 @@ DEFUN (show_bgp_instance_prefix_pathtype,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 prefix-list WORD",
|
||||
* "show bgp <view|vrf> WORD ipv6 prefix-list WORD",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -9016,7 +9016,7 @@ DEFUN (show_bgp_instance_prefix_pathtype,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_prefix_list,
|
||||
show_bgp_instance_prefix_list_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " prefix-list WORD",
|
||||
"show bgp <view|vrf> WORD prefix-list WORD",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -9032,7 +9032,7 @@ DEFUN (show_bgp_instance_prefix_list,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 filter-list WORD",
|
||||
* "show bgp <view|vrf> WORD ipv6 filter-list WORD",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -9043,7 +9043,7 @@ DEFUN (show_bgp_instance_prefix_list,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_filter_list,
|
||||
show_bgp_instance_filter_list_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " filter-list WORD",
|
||||
"show bgp <view|vrf> WORD filter-list WORD",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -9059,7 +9059,7 @@ DEFUN (show_bgp_instance_filter_list,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 route-map WORD",
|
||||
* "show bgp <view|vrf> WORD ipv6 route-map WORD",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -9070,7 +9070,7 @@ DEFUN (show_bgp_instance_filter_list,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_route_map,
|
||||
show_bgp_instance_route_map_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " route-map WORD",
|
||||
"show bgp <view|vrf> WORD route-map WORD",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -9086,7 +9086,7 @@ DEFUN (show_bgp_instance_route_map,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 community-list (<1-500>|WORD)",
|
||||
* "show bgp <view|vrf> WORD ipv6 community-list (<1-500>|WORD)",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -9098,7 +9098,7 @@ DEFUN (show_bgp_instance_route_map,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_community_list,
|
||||
show_bgp_instance_community_list_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " community-list <(1-500)|WORD>",
|
||||
"show bgp <view|vrf> WORD community-list <(1-500)|WORD>",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -9114,7 +9114,7 @@ DEFUN (show_bgp_instance_community_list,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M longer-prefixes",
|
||||
* "show bgp <view|vrf> WORD ipv6 X:X::X:X/M longer-prefixes",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -9125,7 +9125,7 @@ DEFUN (show_bgp_instance_community_list,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_prefix_longer,
|
||||
show_bgp_instance_prefix_longer_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " X:X::X:X/M longer-prefixes",
|
||||
"show bgp <view|vrf> WORD X:X::X:X/M longer-prefixes",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -9387,7 +9387,7 @@ DEFUN (show_ip_bgp_prefix_list,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_prefix_list,
|
||||
show_ip_bgp_instance_prefix_list_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " prefix-list WORD",
|
||||
"show ip bgp <view|vrf> WORD prefix-list WORD",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -9549,7 +9549,7 @@ DEFUN (show_ip_bgp_filter_list,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_filter_list,
|
||||
show_ip_bgp_instance_filter_list_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " filter-list WORD",
|
||||
"show ip bgp <view|vrf> WORD filter-list WORD",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -9787,7 +9787,7 @@ DEFUN (show_ip_bgp_route_map,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_route_map,
|
||||
show_ip_bgp_instance_route_map_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " route-map WORD",
|
||||
"show ip bgp <view|vrf> WORD route-map WORD",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -10246,7 +10246,7 @@ DEFUN (show_ip_bgp_ipv4_community,
|
||||
|
||||
DEFUN (show_bgp_instance_afi_safi_community_all,
|
||||
show_bgp_instance_afi_safi_community_all_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " <ipv4|ipv6> <unicast|multicast> community",
|
||||
"show bgp <view|vrf> WORD <ipv4|ipv6> <unicast|multicast> community",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -10278,7 +10278,7 @@ DEFUN (show_bgp_instance_afi_safi_community_all,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
|
||||
* "show bgp <view|vrf> WORD (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -10300,7 +10300,7 @@ DEFUN (show_bgp_instance_afi_safi_community_all,
|
||||
* "Do not advertise to any peer (well-known community)\n"
|
||||
* "Do not export to next AS (well-known community)\n"
|
||||
*
|
||||
* "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
|
||||
* "show bgp <view|vrf> WORD (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -10326,7 +10326,7 @@ DEFUN (show_bgp_instance_afi_safi_community_all,
|
||||
* "Do not advertise to any peer (well-known community)\n"
|
||||
* "Do not export to next AS (well-known community)\n"
|
||||
*
|
||||
* "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
|
||||
* "show bgp <view|vrf> WORD (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -10347,7 +10347,7 @@ DEFUN (show_bgp_instance_afi_safi_community_all,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_afi_safi_community,
|
||||
show_bgp_instance_afi_safi_community_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " <ipv4|ipv6> <unicast|multicast> community <AA:NN|local-AS|no-advertise|no-export>",
|
||||
"show bgp <view|vrf> WORD <ipv4|ipv6> <unicast|multicast> community <AA:NN|local-AS|no-advertise|no-export>",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -11208,7 +11208,7 @@ DEFUN (show_ip_bgp_community_list,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_community_list,
|
||||
show_ip_bgp_instance_community_list_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " community-list <(1-500)|WORD>",
|
||||
"show ip bgp <view|vrf> WORD community-list <(1-500)|WORD>",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -11441,7 +11441,7 @@ DEFUN (show_ip_bgp_prefix_longer,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_prefix_longer,
|
||||
show_ip_bgp_instance_prefix_longer_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " A.B.C.D/M longer-prefixes",
|
||||
"show ip bgp <view|vrf> WORD A.B.C.D/M longer-prefixes",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -12032,7 +12032,7 @@ DEFUN (show_bgp_statistics,
|
||||
|
||||
DEFUN (show_bgp_statistics_view,
|
||||
show_bgp_statistics_view_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " <ipv4|ipv6> <unicast|multicast|vpn|encap> statistics",
|
||||
"show bgp <view|vrf> WORD <ipv4|ipv6> <unicast|multicast|vpn|encap> statistics",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -12266,7 +12266,7 @@ DEFUN (show_ip_bgp_neighbor_prefix_counts,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_neighbor_prefix_counts,
|
||||
show_ip_bgp_instance_neighbor_prefix_counts_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> prefix-counts [json]",
|
||||
"show ip bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> prefix-counts [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -12316,7 +12316,7 @@ DEFUN (show_bgp_ipv6_neighbor_prefix_counts,
|
||||
|
||||
DEFUN (show_bgp_instance_ipv6_neighbor_prefix_counts,
|
||||
show_bgp_instance_ipv6_neighbor_prefix_counts_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " ipv6 neighbors <A.B.C.D|X:X::X:X|WORD> prefix-counts [json]",
|
||||
"show bgp <view|vrf> WORD ipv6 neighbors <A.B.C.D|X:X::X:X|WORD> prefix-counts [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -12640,7 +12640,7 @@ peer_adj_routes (struct vty *vty, struct peer *peer, afi_t afi, safi_t safi,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD [json]",
|
||||
* "show ip bgp <view|vrf> WORD neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD [json]",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* BGP_STR
|
||||
@ -12655,7 +12655,7 @@ peer_adj_routes (struct vty *vty, struct peer *peer, afi_t afi, safi_t safi,
|
||||
*/
|
||||
DEFUN (show_ip_bgp_instance_neighbor_advertised_route,
|
||||
show_ip_bgp_instance_neighbor_advertised_route_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> advertised-routes [json]",
|
||||
"show ip bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> advertised-routes [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -12787,7 +12787,7 @@ DEFUN (show_ip_bgp_ipv4_neighbor_advertised_route,
|
||||
#ifdef HAVE_IPV6
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -12802,7 +12802,7 @@ DEFUN (show_ip_bgp_ipv4_neighbor_advertised_route,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_neighbor_advertised_route,
|
||||
show_bgp_instance_neighbor_advertised_route_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> advertised-routes [json]",
|
||||
"show bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> advertised-routes [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -12918,7 +12918,7 @@ DEFUN (ipv6_mbgp_neighbor_advertised_route,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -12933,7 +12933,7 @@ DEFUN (ipv6_mbgp_neighbor_advertised_route,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_neighbor_received_routes,
|
||||
show_bgp_instance_neighbor_received_routes_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> received-routes [json]",
|
||||
"show bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> received-routes [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -12958,7 +12958,7 @@ DEFUN (show_bgp_instance_neighbor_received_routes,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD [json]",
|
||||
* "show ip bgp <view|vrf> WORD neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD [json]",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* BGP_STR
|
||||
@ -12973,7 +12973,7 @@ DEFUN (show_bgp_instance_neighbor_received_routes,
|
||||
*/
|
||||
DEFUN (show_ip_bgp_instance_neighbor_received_routes,
|
||||
show_ip_bgp_instance_neighbor_received_routes_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> received-routes [json]",
|
||||
"show ip bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> received-routes [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -13101,7 +13101,7 @@ DEFUN (show_ip_bgp_ipv4_neighbor_received_routes,
|
||||
|
||||
DEFUN (show_bgp_instance_afi_safi_neighbor_adv_recd_routes,
|
||||
show_bgp_instance_afi_safi_neighbor_adv_recd_routes_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " <ipv4|ipv6> <unicast|multicast> neighbors <A.B.C.D|X:X::X:X|WORD> <advertised-routes|received-routes> [json]",
|
||||
"show bgp <view|vrf> WORD <ipv4|ipv6> <unicast|multicast> neighbors <A.B.C.D|X:X::X:X|WORD> <advertised-routes|received-routes> [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -13535,7 +13535,7 @@ DEFUN (ipv6_mbgp_neighbor_received_routes,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -13551,7 +13551,7 @@ DEFUN (ipv6_mbgp_neighbor_received_routes,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_neighbor_received_prefix_filter,
|
||||
show_bgp_instance_neighbor_received_prefix_filter_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> received prefix-filter [json]",
|
||||
"show bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> received prefix-filter [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -13694,7 +13694,7 @@ DEFUN (show_ip_bgp_neighbor_routes,
|
||||
|
||||
DEFUN (show_ip_bgp_instance_neighbor_routes,
|
||||
show_ip_bgp_instance_neighbor_routes_cmd,
|
||||
"show ip bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> routes [json]",
|
||||
"show ip bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> routes [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
BGP_STR
|
||||
@ -13805,7 +13805,7 @@ DEFUN (show_ip_bgp_ipv4_neighbor_routes,
|
||||
#ifdef HAVE_IPV6
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -13820,7 +13820,7 @@ DEFUN (show_ip_bgp_ipv4_neighbor_routes,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_neighbor_routes,
|
||||
show_bgp_instance_neighbor_routes_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> routes [json]",
|
||||
"show bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> routes [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -13857,7 +13857,7 @@ DEFUN (show_bgp_instance_neighbor_routes,
|
||||
* "Display the dampened routes received from neighbor\n"
|
||||
* "JavaScript Object Notation\n"
|
||||
*
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -13883,7 +13883,7 @@ DEFUN (show_bgp_instance_neighbor_routes,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_neighbor_damp,
|
||||
show_bgp_instance_neighbor_damp_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> dampened-routes [json]",
|
||||
"show bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> dampened-routes [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
@ -13926,7 +13926,7 @@ DEFUN (show_bgp_instance_neighbor_damp,
|
||||
* "Display flap statistics of the routes learned from neighbor\n"
|
||||
* "JavaScript Object Notation\n"
|
||||
*
|
||||
* "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics [json]",
|
||||
* "show bgp <view|vrf> WORD ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics [json]",
|
||||
* SHOW_STR
|
||||
* BGP_STR
|
||||
* BGP_INSTANCE_HELP_STR
|
||||
@ -13952,7 +13952,7 @@ DEFUN (show_bgp_instance_neighbor_damp,
|
||||
*/
|
||||
DEFUN (show_bgp_instance_neighbor_flap,
|
||||
show_bgp_instance_neighbor_flap_cmd,
|
||||
"show bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> flap-statistics [json]",
|
||||
"show bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> flap-statistics [json]",
|
||||
SHOW_STR
|
||||
BGP_STR
|
||||
BGP_INSTANCE_HELP_STR
|
||||
|
@ -3846,7 +3846,7 @@ DEFUN (no_set_weight,
|
||||
*/
|
||||
DEFUN (set_aspath_prepend,
|
||||
set_aspath_prepend_cmd,
|
||||
"set as-path prepend ." CMD_AS_RANGE,
|
||||
"set as-path prepend . (1-4294967295)",
|
||||
SET_STR
|
||||
"Transform BGP AS_PATH attribute\n"
|
||||
"Prepend to the as-path\n"
|
||||
@ -3865,7 +3865,7 @@ DEFUN (set_aspath_prepend,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "no set as-path prepend ." CMD_AS_RANGE,
|
||||
* "no set as-path prepend . (1-4294967295)",
|
||||
* NO_STR
|
||||
* SET_STR
|
||||
* "Transform BGP AS_PATH attribute\n"
|
||||
@ -3893,7 +3893,7 @@ DEFUN (no_set_aspath_prepend,
|
||||
|
||||
DEFUN (set_aspath_exclude,
|
||||
set_aspath_exclude_cmd,
|
||||
"set as-path exclude ." CMD_AS_RANGE,
|
||||
"set as-path exclude . (1-4294967295)",
|
||||
SET_STR
|
||||
"Transform BGP AS-path attribute\n"
|
||||
"Exclude from the as-path\n"
|
||||
@ -3910,7 +3910,7 @@ DEFUN (set_aspath_exclude,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "no set as-path exclude ." CMD_AS_RANGE,
|
||||
* "no set as-path exclude . (1-4294967295)",
|
||||
* NO_STR
|
||||
* SET_STR
|
||||
* "Transform BGP AS_PATH attribute\n"
|
||||
@ -4254,7 +4254,7 @@ DEFUN (no_set_atomic_aggregate,
|
||||
|
||||
DEFUN (set_aggregator_as,
|
||||
set_aggregator_as_cmd,
|
||||
"set aggregator as " CMD_AS_RANGE " A.B.C.D",
|
||||
"set aggregator as (1-4294967295) A.B.C.D",
|
||||
SET_STR
|
||||
"BGP aggregator attribute\n"
|
||||
"AS number of aggregator\n"
|
||||
@ -4288,7 +4288,7 @@ DEFUN (set_aggregator_as,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "no set aggregator as " CMD_AS_RANGE " A.B.C.D",
|
||||
* "no set aggregator as (1-4294967295) A.B.C.D",
|
||||
* NO_STR
|
||||
* SET_STR
|
||||
* "BGP aggregator attribute\n"
|
||||
|
518
bgpd/bgp_vty.c
518
bgpd/bgp_vty.c
File diff suppressed because it is too large
Load Diff
@ -539,7 +539,7 @@ isis_redist_area_finish(struct isis_area *area)
|
||||
|
||||
DEFUN (isis_redistribute,
|
||||
isis_redistribute_cmd,
|
||||
"redistribute <ipv4|ipv6> " QUAGGA_REDIST_STR_ISISD " <level-1|level-2> [metric (0-16777215)|route-map WORD]",
|
||||
"redistribute <ipv4|ipv6> <kernel|connected|static|rip|ripng|ospf|ospf6|bgp|pim|table> <level-1|level-2> [metric (0-16777215)|route-map WORD]",
|
||||
REDIST_STR
|
||||
"Redistribute IPv4 routes\n"
|
||||
"Redistribute IPv6 routes\n"
|
||||
@ -611,7 +611,7 @@ DEFUN (isis_redistribute,
|
||||
|
||||
DEFUN (no_isis_redistribute,
|
||||
no_isis_redistribute_cmd,
|
||||
"no redistribute <ipv4|ipv6> " QUAGGA_REDIST_STR_ISISD " <level-1|level-2>",
|
||||
"no redistribute <ipv4|ipv6> <kernel|connected|static|rip|ripng|ospf|ospf6|bgp|pim|table> <level-1|level-2>",
|
||||
NO_STR
|
||||
REDIST_STR
|
||||
"Redistribute IPv4 routes\n"
|
||||
|
@ -1893,7 +1893,7 @@ DEFUN_DEPRECATED (config_log_syslog_facility,
|
||||
|
||||
DEFUN (no_config_log_syslog,
|
||||
no_config_log_syslog_cmd,
|
||||
"no log syslog [" LOG_FACILITIES "] [" LOG_LEVELS "]",
|
||||
"no log syslog [<kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>] [" LOG_LEVELS "]",
|
||||
NO_STR
|
||||
"Logging control\n"
|
||||
"Cancel logging to syslog\n"
|
||||
@ -1906,7 +1906,7 @@ DEFUN (no_config_log_syslog,
|
||||
|
||||
DEFUN (config_log_facility,
|
||||
config_log_facility_cmd,
|
||||
"log facility " LOG_FACILITIES,
|
||||
"log facility <kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>",
|
||||
"Logging control\n"
|
||||
"Facility parameter for syslog messages\n"
|
||||
LOG_FACILITY_DESC)
|
||||
@ -1920,7 +1920,7 @@ DEFUN (config_log_facility,
|
||||
|
||||
DEFUN (no_config_log_facility,
|
||||
no_config_log_facility_cmd,
|
||||
"no log facility [" LOG_FACILITIES "]",
|
||||
"no log facility [<kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>]",
|
||||
NO_STR
|
||||
"Logging control\n"
|
||||
"Reset syslog facility to default (daemon)\n"
|
||||
|
2
lib/if.c
2
lib/if.c
@ -926,7 +926,7 @@ DEFUN (show_address,
|
||||
|
||||
DEFUN (show_address_vrf_all,
|
||||
show_address_vrf_all_cmd,
|
||||
"show address " VRF_ALL_CMD_STR,
|
||||
"show address vrf all",
|
||||
SHOW_STR
|
||||
"address\n"
|
||||
VRF_ALL_CMD_HELP_STR)
|
||||
|
@ -642,7 +642,7 @@ ospf6_asbr_redistribute_remove (int type, ifindex_t ifindex,
|
||||
|
||||
DEFUN (ospf6_redistribute,
|
||||
ospf6_redistribute_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_OSPF6D,
|
||||
"redistribute <kernel|connected|static|ripng|isis|bgp|table>",
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_OSPF6D
|
||||
)
|
||||
@ -660,7 +660,7 @@ DEFUN (ospf6_redistribute,
|
||||
|
||||
DEFUN (ospf6_redistribute_routemap,
|
||||
ospf6_redistribute_routemap_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_OSPF6D " route-map WORD",
|
||||
"redistribute <kernel|connected|static|ripng|isis|bgp|table> route-map WORD",
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_OSPF6D
|
||||
"Route map reference\n"
|
||||
@ -683,7 +683,7 @@ DEFUN (ospf6_redistribute_routemap,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "no redistribute " QUAGGA_REDIST_STR_OSPF6D " route-map WORD",
|
||||
* "no redistribute <kernel|connected|static|ripng|isis|bgp|table> route-map WORD",
|
||||
* NO_STR
|
||||
* "Redistribute\n"
|
||||
* QUAGGA_REDIST_HELP_STR_OSPF6D
|
||||
@ -693,7 +693,7 @@ DEFUN (ospf6_redistribute_routemap,
|
||||
*/
|
||||
DEFUN (no_ospf6_redistribute,
|
||||
no_ospf6_redistribute_cmd,
|
||||
"no redistribute " QUAGGA_REDIST_STR_OSPF6D,
|
||||
"no redistribute <kernel|connected|static|ripng|isis|bgp|table>",
|
||||
NO_STR
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_OSPF6D
|
||||
|
@ -346,7 +346,7 @@ DEFUN (ipv6_ospf6_bfd,
|
||||
|
||||
DEFUN (ipv6_ospf6_bfd_param,
|
||||
ipv6_ospf6_bfd_param_cmd,
|
||||
"ipv6 ospf6 bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
|
||||
"ipv6 ospf6 bfd (2-255) (50-60000) (50-60000)",
|
||||
IP6_STR
|
||||
OSPF6_STR
|
||||
"Enables BFD support\n"
|
||||
|
@ -379,7 +379,7 @@ DEFUN (ip_ospf_bfd,
|
||||
|
||||
DEFUN (ip_ospf_bfd_param,
|
||||
ip_ospf_bfd_param_cmd,
|
||||
"ip ospf bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
|
||||
"ip ospf bfd (2-255) (50-60000) (50-60000)",
|
||||
"IP Information\n"
|
||||
"OSPF interface commands\n"
|
||||
"Enables BFD support\n"
|
||||
@ -409,7 +409,7 @@ DEFUN (ip_ospf_bfd_param,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "no ip ospf bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
|
||||
* "no ip ospf bfd (2-255) (50-60000) (50-60000)",
|
||||
* NO_STR
|
||||
* "IP Information\n"
|
||||
* "OSPF interface commands\n"
|
||||
|
@ -5858,7 +5858,7 @@ show_ip_ospf_database_common (struct vty *vty, struct ospf *ospf,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D",
|
||||
* "show ip ospf database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) A.B.C.D",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -5866,7 +5866,7 @@ show_ip_ospf_database_common (struct vty *vty, struct ospf *ospf,
|
||||
* OSPF_LSA_TYPES_DESC
|
||||
* "Link State ID (as an IP address)\n"
|
||||
*
|
||||
* "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D (self-originate|)",
|
||||
* "show ip ospf database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) A.B.C.D (self-originate|)",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -5876,7 +5876,7 @@ show_ip_ospf_database_common (struct vty *vty, struct ospf *ospf,
|
||||
* "Self-originated link states\n"
|
||||
* "\n"
|
||||
*
|
||||
* "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D adv-router A.B.C.D",
|
||||
* "show ip ospf database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) A.B.C.D adv-router A.B.C.D",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -5886,7 +5886,7 @@ show_ip_ospf_database_common (struct vty *vty, struct ospf *ospf,
|
||||
* "Advertising Router link states\n"
|
||||
* "Advertising Router (as an IP address)\n"
|
||||
*
|
||||
* "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR "|max-age|self-originate)",
|
||||
* "show ip ospf database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as|max-age|self-originate)",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -5918,7 +5918,7 @@ DEFUN (show_ip_ospf_database,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D adv-router A.B.C.D",
|
||||
* "show ip ospf <1-65535> database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) A.B.C.D adv-router A.B.C.D",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -5929,7 +5929,7 @@ DEFUN (show_ip_ospf_database,
|
||||
* "Advertising Router link states\n"
|
||||
* "Advertising Router (as an IP address)\n"
|
||||
*
|
||||
* "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D",
|
||||
* "show ip ospf <1-65535> database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) A.B.C.D",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -5938,7 +5938,7 @@ DEFUN (show_ip_ospf_database,
|
||||
* OSPF_LSA_TYPES_DESC
|
||||
* "Link State ID (as an IP address)\n"
|
||||
*
|
||||
* "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D (self-originate|)",
|
||||
* "show ip ospf <1-65535> database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) A.B.C.D (self-originate|)",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -5949,7 +5949,7 @@ DEFUN (show_ip_ospf_database,
|
||||
* "Self-originated link states\n"
|
||||
* "\n"
|
||||
*
|
||||
* "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR "|max-age|self-originate)",
|
||||
* "show ip ospf <1-65535> database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as|max-age|self-originate)",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -6042,7 +6042,7 @@ show_ip_ospf_database_type_adv_router_common (struct vty *vty, struct ospf *ospf
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") (self-originate|)",
|
||||
* "show ip ospf database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) (self-originate|)",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -6053,7 +6053,7 @@ show_ip_ospf_database_type_adv_router_common (struct vty *vty, struct ospf *ospf
|
||||
*/
|
||||
DEFUN (show_ip_ospf_database_type_adv_router,
|
||||
show_ip_ospf_database_type_adv_router_cmd,
|
||||
"show ip ospf database <" OSPF_LSA_TYPES_CMD_STR "> adv-router A.B.C.D",
|
||||
"show ip ospf database <asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as> adv-router A.B.C.D",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"OSPF information\n"
|
||||
@ -6073,7 +6073,7 @@ DEFUN (show_ip_ospf_database_type_adv_router,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") (self-originate|)",
|
||||
* "show ip ospf <1-65535> database (asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as) (self-originate|)",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "OSPF information\n"
|
||||
@ -6085,7 +6085,7 @@ DEFUN (show_ip_ospf_database_type_adv_router,
|
||||
*/
|
||||
DEFUN (show_ip_ospf_instance_database_type_adv_router,
|
||||
show_ip_ospf_instance_database_type_adv_router_cmd,
|
||||
"show ip ospf (1-65535) database <" OSPF_LSA_TYPES_CMD_STR "> adv-router A.B.C.D",
|
||||
"show ip ospf (1-65535) database <asbr-summary|external|network|router|summary|nssa-external|opaque-link|opaque-area|opaque-as> adv-router A.B.C.D",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"OSPF information\n"
|
||||
@ -8213,7 +8213,7 @@ DEFUN (no_ip_ospf_instance_area,
|
||||
|
||||
DEFUN (ospf_redistribute_source,
|
||||
ospf_redistribute_source_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_OSPFD " [metric (0-16777214)|metric-type <1|2>|route-map WORD]",
|
||||
"redistribute <kernel|connected|static|rip|isis|bgp|pim|table> [metric (0-16777214)|metric-type <1|2>|route-map WORD]",
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_OSPFD
|
||||
"Metric for redistributed routes\n"
|
||||
@ -8268,7 +8268,7 @@ DEFUN (ospf_redistribute_source,
|
||||
|
||||
DEFUN (no_ospf_redistribute_source,
|
||||
no_ospf_redistribute_source_cmd,
|
||||
"no redistribute " QUAGGA_REDIST_STR_OSPFD " [metric (0-16777214)|metric-type <1|2>|route-map WORD]",
|
||||
"no redistribute <kernel|connected|static|rip|isis|bgp|pim|table> [metric (0-16777214)|metric-type <1|2>|route-map WORD]",
|
||||
NO_STR
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_OSPFD
|
||||
@ -8427,7 +8427,7 @@ DEFUN (no_ospf_redistribute_instance_source,
|
||||
|
||||
DEFUN (ospf_distribute_list_out,
|
||||
ospf_distribute_list_out_cmd,
|
||||
"distribute-list WORD out " QUAGGA_REDIST_STR_OSPFD,
|
||||
"distribute-list WORD out <kernel|connected|static|rip|isis|bgp|pim|table>",
|
||||
"Filter networks in routing updates\n"
|
||||
"Access-list name\n"
|
||||
OUT_STR
|
||||
@ -8450,7 +8450,7 @@ DEFUN (ospf_distribute_list_out,
|
||||
|
||||
DEFUN (no_ospf_distribute_list_out,
|
||||
no_ospf_distribute_list_out_cmd,
|
||||
"no distribute-list WORD out " QUAGGA_REDIST_STR_OSPFD,
|
||||
"no distribute-list WORD out <kernel|connected|static|rip|isis|bgp|pim|table>",
|
||||
NO_STR
|
||||
"Filter networks in routing updates\n"
|
||||
"Access-list name\n"
|
||||
|
@ -2501,7 +2501,7 @@ DEFUN (no_ip_pim_rp,
|
||||
|
||||
DEFUN (ip_multicast_routing,
|
||||
ip_multicast_routing_cmd,
|
||||
PIM_CMD_IP_MULTICAST_ROUTING,
|
||||
"ip multicast-routing",
|
||||
IP_STR
|
||||
"Enable IP multicast forwarding\n")
|
||||
{
|
||||
@ -2514,7 +2514,7 @@ DEFUN (ip_multicast_routing,
|
||||
|
||||
DEFUN (no_ip_multicast_routing,
|
||||
no_ip_multicast_routing_cmd,
|
||||
PIM_CMD_NO " " PIM_CMD_IP_MULTICAST_ROUTING,
|
||||
"no ip multicast-routing",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Global IP configuration subcommands\n"
|
||||
@ -2874,7 +2874,7 @@ static void change_query_max_response_time(struct pim_interface *pim_ifp,
|
||||
|
||||
DEFUN (interface_ip_igmp_query_interval,
|
||||
interface_ip_igmp_query_interval_cmd,
|
||||
PIM_CMD_IP_IGMP_QUERY_INTERVAL " (1-1800)",
|
||||
"ip igmp query-interval (1-1800)",
|
||||
IP_STR
|
||||
IFACE_IGMP_STR
|
||||
IFACE_IGMP_QUERY_INTERVAL_STR
|
||||
@ -2933,7 +2933,7 @@ DEFUN (interface_ip_igmp_query_interval,
|
||||
|
||||
DEFUN (interface_no_ip_igmp_query_interval,
|
||||
interface_no_ip_igmp_query_interval_cmd,
|
||||
PIM_CMD_NO " " PIM_CMD_IP_IGMP_QUERY_INTERVAL,
|
||||
"no ip igmp query-interval",
|
||||
NO_STR
|
||||
IP_STR
|
||||
IFACE_IGMP_STR
|
||||
@ -2969,7 +2969,7 @@ DEFUN (interface_no_ip_igmp_query_interval,
|
||||
|
||||
DEFUN (interface_ip_igmp_query_max_response_time,
|
||||
interface_ip_igmp_query_max_response_time_cmd,
|
||||
PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME " (1-25)",
|
||||
"ip igmp query-max-response-time (1-25)",
|
||||
IP_STR
|
||||
IFACE_IGMP_STR
|
||||
IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_STR
|
||||
@ -3026,7 +3026,7 @@ DEFUN (interface_ip_igmp_query_max_response_time,
|
||||
|
||||
DEFUN (interface_no_ip_igmp_query_max_response_time,
|
||||
interface_no_ip_igmp_query_max_response_time_cmd,
|
||||
PIM_CMD_NO " " PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME,
|
||||
"no ip igmp query-max-response-time",
|
||||
NO_STR
|
||||
IP_STR
|
||||
IFACE_IGMP_STR
|
||||
@ -3062,7 +3062,7 @@ DEFUN (interface_no_ip_igmp_query_max_response_time,
|
||||
|
||||
DEFUN (interface_ip_igmp_query_max_response_time_dsec,
|
||||
interface_ip_igmp_query_max_response_time_dsec_cmd,
|
||||
PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC " (10-250)",
|
||||
"ip igmp query-max-response-time-dsec (10-250)",
|
||||
IP_STR
|
||||
IFACE_IGMP_STR
|
||||
IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC_STR
|
||||
@ -3122,7 +3122,7 @@ DEFUN (interface_ip_igmp_query_max_response_time_dsec,
|
||||
|
||||
DEFUN (interface_no_ip_igmp_query_max_response_time_dsec,
|
||||
interface_no_ip_igmp_query_max_response_time_dsec_cmd,
|
||||
PIM_CMD_NO " " PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC,
|
||||
"no ip igmp query-max-response-time-dsec",
|
||||
NO_STR
|
||||
IP_STR
|
||||
IFACE_IGMP_STR
|
||||
|
@ -359,7 +359,7 @@ DEFUN (no_rip_redistribute_rip,
|
||||
|
||||
DEFUN (rip_redistribute_type,
|
||||
rip_redistribute_type_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPD,
|
||||
"redistribute <kernel|connected|static|ospf|isis|bgp|pim|table>",
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD)
|
||||
{
|
||||
@ -384,7 +384,7 @@ DEFUN (rip_redistribute_type,
|
||||
|
||||
DEFUN (no_rip_redistribute_type,
|
||||
no_rip_redistribute_type_cmd,
|
||||
"no redistribute " QUAGGA_REDIST_STR_RIPD,
|
||||
"no redistribute <kernel|connected|static|ospf|isis|bgp|pim|table>",
|
||||
NO_STR
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD)
|
||||
@ -411,7 +411,7 @@ DEFUN (no_rip_redistribute_type,
|
||||
|
||||
DEFUN (rip_redistribute_type_routemap,
|
||||
rip_redistribute_type_routemap_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPD " route-map WORD",
|
||||
"redistribute <kernel|connected|static|ospf|isis|bgp|pim|table> route-map WORD",
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD
|
||||
"Route map reference\n"
|
||||
@ -440,7 +440,7 @@ DEFUN (rip_redistribute_type_routemap,
|
||||
|
||||
DEFUN (no_rip_redistribute_type_routemap,
|
||||
no_rip_redistribute_type_routemap_cmd,
|
||||
"no redistribute " QUAGGA_REDIST_STR_RIPD " route-map WORD",
|
||||
"no redistribute <kernel|connected|static|ospf|isis|bgp|pim|table> route-map WORD",
|
||||
NO_STR
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD
|
||||
@ -471,7 +471,7 @@ DEFUN (no_rip_redistribute_type_routemap,
|
||||
|
||||
DEFUN (rip_redistribute_type_metric,
|
||||
rip_redistribute_type_metric_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPD " metric (0-16)",
|
||||
"redistribute <kernel|connected|static|ospf|isis|bgp|pim|table> metric (0-16)",
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD
|
||||
"Metric\n"
|
||||
@ -503,7 +503,7 @@ DEFUN (rip_redistribute_type_metric,
|
||||
|
||||
DEFUN (no_rip_redistribute_type_metric,
|
||||
no_rip_redistribute_type_metric_cmd,
|
||||
"no redistribute " QUAGGA_REDIST_STR_RIPD " metric (0-16)",
|
||||
"no redistribute <kernel|connected|static|ospf|isis|bgp|pim|table> metric (0-16)",
|
||||
NO_STR
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD
|
||||
@ -534,7 +534,7 @@ DEFUN (no_rip_redistribute_type_metric,
|
||||
|
||||
DEFUN (rip_redistribute_type_metric_routemap,
|
||||
rip_redistribute_type_metric_routemap_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPD " metric (0-16) route-map WORD",
|
||||
"redistribute <kernel|connected|static|ospf|isis|bgp|pim|table> metric (0-16) route-map WORD",
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD
|
||||
"Metric\n"
|
||||
@ -571,7 +571,7 @@ DEFUN (rip_redistribute_type_metric_routemap,
|
||||
|
||||
DEFUN (no_rip_redistribute_type_metric_routemap,
|
||||
no_rip_redistribute_type_metric_routemap_cmd,
|
||||
"no redistribute " QUAGGA_REDIST_STR_RIPD " metric (0-16) route-map WORD",
|
||||
"no redistribute <kernel|connected|static|ospf|isis|bgp|pim|table> metric (0-16) route-map WORD",
|
||||
NO_STR
|
||||
REDIST_STR
|
||||
QUAGGA_REDIST_HELP_STR_RIPD
|
||||
|
@ -327,7 +327,7 @@ DEFUN (no_ripng_redistribute_ripng,
|
||||
|
||||
DEFUN (ripng_redistribute_type,
|
||||
ripng_redistribute_type_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPNGD,
|
||||
"redistribute <kernel|connected|static|ospf6|isis|bgp|table>",
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_RIPNGD)
|
||||
{
|
||||
@ -347,21 +347,21 @@ DEFUN (ripng_redistribute_type,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "no redistribute " QUAGGA_REDIST_STR_RIPNGD " metric <0-16> route-map WORD",
|
||||
* "no redistribute <kernel|connected|static|ospf6|isis|bgp|table> metric <0-16> route-map WORD",
|
||||
* NO_STR
|
||||
* "Redistribute\n"
|
||||
* QUAGGA_REDIST_HELP_STR_RIPNGD
|
||||
* "Route map reference\n"
|
||||
* "Pointer to route-map entries\n"
|
||||
*
|
||||
* "no redistribute " QUAGGA_REDIST_STR_RIPNGD " metric <0-16>",
|
||||
* "no redistribute <kernel|connected|static|ospf6|isis|bgp|table> metric <0-16>",
|
||||
* NO_STR
|
||||
* "Redistribute\n"
|
||||
* QUAGGA_REDIST_HELP_STR_RIPNGD
|
||||
* "Metric\n"
|
||||
* "Metric value\n"
|
||||
*
|
||||
* "no redistribute " QUAGGA_REDIST_STR_RIPNGD " route-map WORD",
|
||||
* "no redistribute <kernel|connected|static|ospf6|isis|bgp|table> route-map WORD",
|
||||
* NO_STR
|
||||
* "Redistribute\n"
|
||||
* QUAGGA_REDIST_HELP_STR_RIPNGD
|
||||
@ -371,7 +371,7 @@ DEFUN (ripng_redistribute_type,
|
||||
*/
|
||||
DEFUN (no_ripng_redistribute_type,
|
||||
no_ripng_redistribute_type_cmd,
|
||||
"no redistribute " QUAGGA_REDIST_STR_RIPNGD,
|
||||
"no redistribute <kernel|connected|static|ospf6|isis|bgp|table>",
|
||||
NO_STR
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_RIPNGD)
|
||||
@ -394,7 +394,7 @@ DEFUN (no_ripng_redistribute_type,
|
||||
|
||||
DEFUN (ripng_redistribute_type_metric,
|
||||
ripng_redistribute_type_metric_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPNGD " metric (0-16)",
|
||||
"redistribute <kernel|connected|static|ospf6|isis|bgp|table> metric (0-16)",
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_RIPNGD
|
||||
"Metric\n"
|
||||
@ -423,7 +423,7 @@ DEFUN (ripng_redistribute_type_metric,
|
||||
|
||||
DEFUN (ripng_redistribute_type_routemap,
|
||||
ripng_redistribute_type_routemap_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPNGD " route-map WORD",
|
||||
"redistribute <kernel|connected|static|ospf6|isis|bgp|table> route-map WORD",
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_RIPNGD
|
||||
"Route map reference\n"
|
||||
@ -450,7 +450,7 @@ DEFUN (ripng_redistribute_type_routemap,
|
||||
|
||||
DEFUN (ripng_redistribute_type_metric_routemap,
|
||||
ripng_redistribute_type_metric_routemap_cmd,
|
||||
"redistribute " QUAGGA_REDIST_STR_RIPNGD " metric (0-16) route-map WORD",
|
||||
"redistribute <kernel|connected|static|ospf6|isis|bgp|table> metric (0-16) route-map WORD",
|
||||
"Redistribute\n"
|
||||
QUAGGA_REDIST_HELP_STR_RIPNGD
|
||||
"Metric\n"
|
||||
|
@ -4,7 +4,6 @@
|
||||
Usage:
|
||||
|
||||
argv_translator.py rebuild-defuns [<text>]
|
||||
argv_translator.py idx-logic <wildcard>
|
||||
|
||||
Help:
|
||||
rebuild-defuns : foo
|
||||
@ -500,11 +499,6 @@ def get_command_string_index_variable_table(line_number, line):
|
||||
return indexes
|
||||
|
||||
|
||||
def get_idx_logic(wildcard):
|
||||
# dwalton
|
||||
return None
|
||||
|
||||
|
||||
def expand_command_string(line):
|
||||
|
||||
# in the middle
|
||||
@ -579,6 +573,10 @@ def expand_command_string(line):
|
||||
if line.rstrip().endswith('" ,'):
|
||||
line = line.replace('" ,', '",')
|
||||
|
||||
# compress duplicate white spaces
|
||||
re_space = re.search('^(\s*).*(\s*)$', line)
|
||||
line = re_space.group(1) + ' '.join(line.split()) + re_space.group(2)
|
||||
|
||||
return line
|
||||
|
||||
|
||||
@ -721,9 +719,12 @@ DEFUN (no_bgp_maxmed_onstartup,
|
||||
new_command_string = self.get_new_command_string()
|
||||
new_command_string_expanded = expand_command_string(new_command_string)
|
||||
lines = []
|
||||
|
||||
# dwalton
|
||||
lines.append("DEFUN (%s,\n" % self.name)
|
||||
lines.append(" %s,\n" % self.name_cmd)
|
||||
lines.append(new_command_string)
|
||||
# lines.append(new_command_string)
|
||||
lines.append(new_command_string_expanded)
|
||||
lines.extend(self.help_strings)
|
||||
lines.append('{\n')
|
||||
|
||||
@ -847,10 +848,14 @@ def update_argvs(filename):
|
||||
with open(filename, 'w') as fh:
|
||||
state = None
|
||||
|
||||
for line in lines:
|
||||
for (line_number, line) in enumerate(lines):
|
||||
|
||||
if state is None:
|
||||
if line.startswith('DEFUN ('):
|
||||
if 'The following ALIASes need to be implemented in this DEFUN' in line:
|
||||
state = 'CHANGE ME'
|
||||
fh.write(line)
|
||||
|
||||
elif line.startswith('DEFUN ('):
|
||||
state = 'DEFUN_HEADER'
|
||||
re_name = re.search('DEFUN \((.*),', line.strip())
|
||||
name = re_name.group(1)
|
||||
@ -859,6 +864,17 @@ def update_argvs(filename):
|
||||
else:
|
||||
fh.write(line)
|
||||
|
||||
elif state == 'CHANGE ME':
|
||||
if line.strip() == '*/':
|
||||
state = None
|
||||
fh.write(line)
|
||||
elif line.strip().startswith('* "'):
|
||||
# dwalton
|
||||
new_line = expand_command_string(line[3:]) # chop the leading " * "
|
||||
fh.write(" * %s" % new_line)
|
||||
else:
|
||||
fh.write(line)
|
||||
|
||||
elif state == 'DEFUN_HEADER':
|
||||
if line.strip() == '{':
|
||||
state = 'DEFUN_BODY'
|
||||
@ -867,6 +883,9 @@ def update_argvs(filename):
|
||||
if line.rstrip() == '}':
|
||||
state = None
|
||||
|
||||
# uncomment to debug state machine
|
||||
# print "%5d %12s: %s" % (line_number, state, line.rstrip())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
(print_options, ended_with_space, sys.argv) = get_network_docopt_info(sys.argv)
|
||||
@ -888,5 +907,3 @@ if __name__ == '__main__':
|
||||
filename = filename.strip()
|
||||
print "crunching %s" % filename
|
||||
update_argvs(filename)
|
||||
elif cli.get('idx-logic'):
|
||||
print get_idx_logic(cli.args.get('<wildcard>'))
|
||||
|
@ -1300,7 +1300,7 @@ struct cmd_node vrf_node =
|
||||
/* Show all interfaces to vty. */
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show interface " VRF_CMD_STR,
|
||||
* "show interface vrf NAME",
|
||||
* SHOW_STR
|
||||
* "Interface status and configuration\n"
|
||||
* VRF_CMD_HELP_STR
|
||||
@ -1332,7 +1332,7 @@ DEFUN (show_interface,
|
||||
/* Show all interfaces to vty. */
|
||||
DEFUN (show_interface_vrf_all,
|
||||
show_interface_vrf_all_cmd,
|
||||
"show interface " VRF_ALL_CMD_STR,
|
||||
"show interface vrf all",
|
||||
SHOW_STR
|
||||
"Interface status and configuration\n"
|
||||
VRF_ALL_CMD_HELP_STR)
|
||||
@ -1355,7 +1355,7 @@ DEFUN (show_interface_vrf_all,
|
||||
|
||||
DEFUN (show_interface_name_vrf,
|
||||
show_interface_name_vrf_cmd,
|
||||
"show interface IFNAME " VRF_CMD_STR,
|
||||
"show interface IFNAME vrf NAME",
|
||||
SHOW_STR
|
||||
"Interface status and configuration\n"
|
||||
"Interface name\n"
|
||||
@ -1395,7 +1395,7 @@ DEFUN (show_interface_name_vrf,
|
||||
*/
|
||||
DEFUN (show_interface_name_vrf_all,
|
||||
show_interface_name_vrf_all_cmd,
|
||||
"show interface IFNAME " VRF_ALL_CMD_STR,
|
||||
"show interface IFNAME vrf all",
|
||||
SHOW_STR
|
||||
"Interface status and configuration\n"
|
||||
"Interface name\n"
|
||||
@ -1472,7 +1472,7 @@ if_show_description (struct vty *vty, vrf_id_t vrf_id)
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show interface description " VRF_CMD_STR,
|
||||
* "show interface description vrf NAME",
|
||||
* SHOW_STR
|
||||
* "Interface status and configuration\n"
|
||||
* "Interface description\n"
|
||||
@ -1499,7 +1499,7 @@ DEFUN (show_interface_desc,
|
||||
|
||||
DEFUN (show_interface_desc_vrf_all,
|
||||
show_interface_desc_vrf_all_cmd,
|
||||
"show interface description " VRF_ALL_CMD_STR,
|
||||
"show interface description vrf all",
|
||||
SHOW_STR
|
||||
"Interface status and configuration\n"
|
||||
"Interface description\n"
|
||||
|
@ -661,7 +661,7 @@ DEFUN (no_zebra_route_map_timer,
|
||||
|
||||
DEFUN (ip_protocol,
|
||||
ip_protocol_cmd,
|
||||
"ip protocol " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
|
||||
"ip protocol <kernel|connected|static|rip|ospf|isis|bgp|pim|table|any> route-map ROUTE-MAP",
|
||||
IP_STR
|
||||
"Filter routing info exchanged between zebra and protocol\n"
|
||||
QUAGGA_IP_PROTOCOL_MAP_HELP_STR_ZEBRA
|
||||
@ -700,7 +700,7 @@ DEFUN (ip_protocol,
|
||||
|
||||
DEFUN (no_ip_protocol,
|
||||
no_ip_protocol_cmd,
|
||||
"no ip protocol " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " [route-map ROUTE-MAP]",
|
||||
"no ip protocol <kernel|connected|static|rip|ospf|isis|bgp|pim|table|any> [route-map ROUTE-MAP]",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Stop filtering routing info between zebra and protocol\n"
|
||||
@ -771,7 +771,7 @@ DEFUN (show_ip_protocol,
|
||||
|
||||
DEFUN (ipv6_protocol,
|
||||
ipv6_protocol_cmd,
|
||||
"ipv6 protocol " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
|
||||
"ipv6 protocol <kernel|connected|static|ripng|ospf6|isis|bgp|table|any> route-map ROUTE-MAP",
|
||||
IP6_STR
|
||||
"Filter IPv6 routing info exchanged between zebra and protocol\n"
|
||||
QUAGGA_IP6_PROTOCOL_MAP_HELP_STR_ZEBRA
|
||||
@ -810,7 +810,7 @@ DEFUN (ipv6_protocol,
|
||||
|
||||
DEFUN (no_ipv6_protocol,
|
||||
no_ipv6_protocol_cmd,
|
||||
"no ipv6 protocol " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " [route-map ROUTE-MAP]",
|
||||
"no ipv6 protocol <kernel|connected|static|ripng|ospf6|isis|bgp|table|any> [route-map ROUTE-MAP]",
|
||||
NO_STR
|
||||
IP6_STR
|
||||
"Stop filtering IPv6 routing info between zebra and protocol\n"
|
||||
@ -880,7 +880,7 @@ DEFUN (show_ipv6_protocol,
|
||||
|
||||
DEFUN (ip_protocol_nht_rmap,
|
||||
ip_protocol_nht_rmap_cmd,
|
||||
"ip nht " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
|
||||
"ip nht <kernel|connected|static|rip|ospf|isis|bgp|pim|table|any> route-map ROUTE-MAP",
|
||||
IP_STR
|
||||
"Filter Next Hop tracking route resolution\n"
|
||||
QUAGGA_IP_PROTOCOL_MAP_HELP_STR_ZEBRA
|
||||
@ -916,7 +916,7 @@ DEFUN (ip_protocol_nht_rmap,
|
||||
|
||||
DEFUN (no_ip_protocol_nht_rmap,
|
||||
no_ip_protocol_nht_rmap_cmd,
|
||||
"no ip nht " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " [route-map ROUTE-MAP]",
|
||||
"no ip nht <kernel|connected|static|rip|ospf|isis|bgp|pim|table|any> [route-map ROUTE-MAP]",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Filter Next Hop tracking route resolution\n"
|
||||
@ -981,7 +981,7 @@ DEFUN (show_ip_protocol_nht,
|
||||
|
||||
DEFUN (ipv6_protocol_nht_rmap,
|
||||
ipv6_protocol_nht_rmap_cmd,
|
||||
"ipv6 nht " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
|
||||
"ipv6 nht <kernel|connected|static|ripng|ospf6|isis|bgp|table|any> route-map ROUTE-MAP",
|
||||
IP6_STR
|
||||
"Filter Next Hop tracking route resolution\n"
|
||||
QUAGGA_IP6_PROTOCOL_MAP_HELP_STR_ZEBRA
|
||||
@ -1011,7 +1011,7 @@ DEFUN (ipv6_protocol_nht_rmap,
|
||||
|
||||
DEFUN (no_ipv6_protocol_nht_rmap,
|
||||
no_ipv6_protocol_nht_rmap_cmd,
|
||||
"no ipv6 nht " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " [route-map ROUTE-MAP]",
|
||||
"no ipv6 nht <kernel|connected|static|ripng|ospf6|isis|bgp|table|any> [route-map ROUTE-MAP]",
|
||||
NO_STR
|
||||
IP6_STR
|
||||
"Filter Next Hop tracking route resolution\n"
|
||||
|
@ -1297,7 +1297,7 @@ DEFUN (no_ip_route_mask_flags_tag_distance2,
|
||||
/* Static route configuration. */
|
||||
DEFUN (ip_route_vrf,
|
||||
ip_route_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1314,7 +1314,7 @@ DEFUN (ip_route_vrf,
|
||||
|
||||
DEFUN (ip_route_tag_vrf,
|
||||
ip_route_tag_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1334,7 +1334,7 @@ DEFUN (ip_route_tag_vrf,
|
||||
|
||||
DEFUN (ip_route_flags_vrf,
|
||||
ip_route_flags_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1353,7 +1353,7 @@ DEFUN (ip_route_flags_vrf,
|
||||
|
||||
DEFUN (ip_route_flags_tag_vrf,
|
||||
ip_route_flags_tag_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1376,7 +1376,7 @@ DEFUN (ip_route_flags_tag_vrf,
|
||||
|
||||
DEFUN (ip_route_flags2_vrf,
|
||||
ip_route_flags2_vrf_cmd,
|
||||
"ip route A.B.C.D/M <reject|blackhole> " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <reject|blackhole> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1392,7 +1392,7 @@ DEFUN (ip_route_flags2_vrf,
|
||||
|
||||
DEFUN (ip_route_flags2_tag_vrf,
|
||||
ip_route_flags2_tag_vrf_cmd,
|
||||
"ip route A.B.C.D/M <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1413,7 +1413,7 @@ DEFUN (ip_route_flags2_tag_vrf,
|
||||
/* Mask as A.B.C.D format. */
|
||||
DEFUN (ip_route_mask_vrf,
|
||||
ip_route_mask_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1432,7 +1432,7 @@ DEFUN (ip_route_mask_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_tag_vrf,
|
||||
ip_route_mask_tag_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1455,7 +1455,7 @@ DEFUN (ip_route_mask_tag_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags_vrf,
|
||||
ip_route_mask_flags_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1476,7 +1476,7 @@ DEFUN (ip_route_mask_flags_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags_tag_vrf,
|
||||
ip_route_mask_flags_tag_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1501,7 +1501,7 @@ DEFUN (ip_route_mask_flags_tag_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags2_vrf,
|
||||
ip_route_mask_flags2_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1519,7 +1519,7 @@ DEFUN (ip_route_mask_flags2_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags2_tag_vrf,
|
||||
ip_route_mask_flags2_tag_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1541,7 +1541,7 @@ DEFUN (ip_route_mask_flags2_tag_vrf,
|
||||
/* Distance option value. */
|
||||
DEFUN (ip_route_distance_vrf,
|
||||
ip_route_distance_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1560,7 +1560,7 @@ DEFUN (ip_route_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_tag_distance_vrf,
|
||||
ip_route_tag_distance_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1583,7 +1583,7 @@ DEFUN (ip_route_tag_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_flags_distance_vrf,
|
||||
ip_route_flags_distance_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1604,7 +1604,7 @@ DEFUN (ip_route_flags_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_flags_tag_distance_vrf,
|
||||
ip_route_flags_tag_distance_vrf_cmd,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1628,7 +1628,7 @@ DEFUN (ip_route_flags_tag_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_flags_distance2_vrf,
|
||||
ip_route_flags_distance2_vrf_cmd,
|
||||
"ip route A.B.C.D/M <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <reject|blackhole> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1646,7 +1646,7 @@ DEFUN (ip_route_flags_distance2_vrf,
|
||||
|
||||
DEFUN (ip_route_flags_tag_distance2_vrf,
|
||||
ip_route_flags_tag_distance2_vrf_cmd,
|
||||
"ip route A.B.C.D/M <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D/M <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix (e.g. 10.0.0.0/8)\n"
|
||||
@ -1667,7 +1667,7 @@ DEFUN (ip_route_flags_tag_distance2_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_distance_vrf,
|
||||
ip_route_mask_distance_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1688,7 +1688,7 @@ DEFUN (ip_route_mask_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_tag_distance_vrf,
|
||||
ip_route_mask_tag_distance_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1712,7 +1712,7 @@ DEFUN (ip_route_mask_tag_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags_tag_distance_vrf,
|
||||
ip_route_mask_flags_tag_distance_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1739,7 +1739,7 @@ DEFUN (ip_route_mask_flags_tag_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags_distance_vrf,
|
||||
ip_route_mask_flags_distance_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1762,7 +1762,7 @@ DEFUN (ip_route_mask_flags_distance_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags_distance2_vrf,
|
||||
ip_route_mask_flags_distance2_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1782,7 +1782,7 @@ DEFUN (ip_route_mask_flags_distance2_vrf,
|
||||
|
||||
DEFUN (ip_route_mask_flags_tag_distance2_vrf,
|
||||
ip_route_mask_flags_tag_distance2_vrf_cmd,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IP destination prefix\n"
|
||||
@ -1805,7 +1805,7 @@ DEFUN (ip_route_mask_flags_tag_distance2_vrf,
|
||||
|
||||
DEFUN (no_ip_route_vrf,
|
||||
no_ip_route_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1823,7 +1823,7 @@ DEFUN (no_ip_route_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags_vrf,
|
||||
no_ip_route_flags_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1843,7 +1843,7 @@ DEFUN (no_ip_route_flags_vrf,
|
||||
|
||||
DEFUN (no_ip_route_tag_vrf,
|
||||
no_ip_route_tag_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1864,7 +1864,7 @@ DEFUN (no_ip_route_tag_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags_tag_vrf,
|
||||
no_ip_route_flags_tag_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1887,7 +1887,7 @@ DEFUN (no_ip_route_flags_tag_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags2_vrf,
|
||||
no_ip_route_flags2_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1904,7 +1904,7 @@ DEFUN (no_ip_route_flags2_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags2_tag_vrf,
|
||||
no_ip_route_flags2_tag_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1924,7 +1924,7 @@ DEFUN (no_ip_route_flags2_tag_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_vrf,
|
||||
no_ip_route_mask_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1944,7 +1944,7 @@ DEFUN (no_ip_route_mask_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags_vrf,
|
||||
no_ip_route_mask_flags_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1966,7 +1966,7 @@ DEFUN (no_ip_route_mask_flags_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_tag_vrf,
|
||||
no_ip_route_mask_tag_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -1989,7 +1989,7 @@ DEFUN (no_ip_route_mask_tag_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags_tag_vrf,
|
||||
no_ip_route_mask_flags_tag_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2014,7 +2014,7 @@ DEFUN (no_ip_route_mask_flags_tag_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags2_vrf,
|
||||
no_ip_route_mask_flags2_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2033,7 +2033,7 @@ DEFUN (no_ip_route_mask_flags2_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags2_tag_vrf,
|
||||
no_ip_route_mask_flags2_tag_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2056,7 +2056,7 @@ DEFUN (no_ip_route_mask_flags2_tag_vrf,
|
||||
|
||||
DEFUN (no_ip_route_distance_vrf,
|
||||
no_ip_route_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2076,7 +2076,7 @@ DEFUN (no_ip_route_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_tag_distance_vrf,
|
||||
no_ip_route_tag_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2099,7 +2099,7 @@ DEFUN (no_ip_route_tag_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags_distance_vrf,
|
||||
no_ip_route_flags_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2121,7 +2121,7 @@ DEFUN (no_ip_route_flags_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags_tag_distance_vrf,
|
||||
no_ip_route_flags_tag_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2146,7 +2146,7 @@ DEFUN (no_ip_route_flags_tag_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags_distance2_vrf,
|
||||
no_ip_route_flags_distance2_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2165,7 +2165,7 @@ DEFUN (no_ip_route_flags_distance2_vrf,
|
||||
|
||||
DEFUN (no_ip_route_flags_tag_distance2_vrf,
|
||||
no_ip_route_flags_tag_distance2_vrf_cmd,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D/M <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2187,7 +2187,7 @@ DEFUN (no_ip_route_flags_tag_distance2_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_distance_vrf,
|
||||
no_ip_route_mask_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2209,7 +2209,7 @@ DEFUN (no_ip_route_mask_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_tag_distance_vrf,
|
||||
no_ip_route_mask_tag_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE|null0> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2234,7 +2234,7 @@ DEFUN (no_ip_route_mask_tag_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags_distance_vrf,
|
||||
no_ip_route_mask_flags_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2258,7 +2258,7 @@ DEFUN (no_ip_route_mask_flags_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags_tag_distance_vrf,
|
||||
no_ip_route_mask_flags_tag_distance_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <A.B.C.D|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2285,7 +2285,7 @@ DEFUN (no_ip_route_mask_flags_tag_distance_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags_distance2_vrf,
|
||||
no_ip_route_mask_flags_distance2_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2306,7 +2306,7 @@ DEFUN (no_ip_route_mask_flags_distance2_vrf,
|
||||
|
||||
DEFUN (no_ip_route_mask_flags_tag_distance2_vrf,
|
||||
no_ip_route_mask_flags_tag_distance2_vrf_cmd,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ip route A.B.C.D A.B.C.D <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -2840,7 +2840,7 @@ do_show_ip_route (struct vty *vty, const char *vrf_name, safi_t safi,
|
||||
|
||||
DEFUN (show_ip_route_vrf,
|
||||
show_ip_route_vrf_cmd,
|
||||
"show ip route " VRF_CMD_STR " [json]",
|
||||
"show ip route vrf NAME [json]",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -2876,7 +2876,7 @@ DEFUN (show_ip_nht,
|
||||
|
||||
DEFUN (show_ip_nht_vrf_all,
|
||||
show_ip_nht_vrf_all_cmd,
|
||||
"show ip nht " VRF_ALL_CMD_STR,
|
||||
"show ip nht vrf all",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP nexthop tracking table\n"
|
||||
@ -2916,7 +2916,7 @@ DEFUN (show_ipv6_nht,
|
||||
|
||||
DEFUN (show_ipv6_nht_vrf_all,
|
||||
show_ipv6_nht_vrf_all_cmd,
|
||||
"show ipv6 nht " VRF_ALL_CMD_STR,
|
||||
"show ipv6 nht vrf all",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 nexthop tracking table\n"
|
||||
@ -3144,7 +3144,7 @@ DEFUN (show_ip_route_supernets,
|
||||
|
||||
DEFUN (show_ip_route_protocol,
|
||||
show_ip_route_protocol_cmd,
|
||||
"show ip route [vrf NAME] " QUAGGA_IP_REDIST_STR_ZEBRA,
|
||||
"show ip route [vrf NAME] <kernel|connected|static|rip|ospf|isis|bgp|pim|table>",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3534,7 +3534,7 @@ DEFUN (show_ip_route_summary_prefix,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all,
|
||||
show_ip_route_vrf_all_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR,
|
||||
"show ip route vrf all",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3579,7 +3579,7 @@ DEFUN (show_ip_route_vrf_all,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_tag,
|
||||
show_ip_route_vrf_all_tag_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " tag (1-65535)",
|
||||
"show ip route vrf all tag (1-65535)",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3633,7 +3633,7 @@ DEFUN (show_ip_route_vrf_all_tag,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_prefix_longer,
|
||||
show_ip_route_vrf_all_prefix_longer_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " A.B.C.D/M longer-prefixes",
|
||||
"show ip route vrf all A.B.C.D/M longer-prefixes",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3691,7 +3691,7 @@ DEFUN (show_ip_route_vrf_all_prefix_longer,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_supernets,
|
||||
show_ip_route_vrf_all_supernets_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " supernets-only",
|
||||
"show ip route vrf all supernets-only",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3745,7 +3745,7 @@ DEFUN (show_ip_route_vrf_all_supernets,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_protocol,
|
||||
show_ip_route_vrf_all_protocol_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " " QUAGGA_IP_REDIST_STR_ZEBRA,
|
||||
"show ip route vrf all <kernel|connected|static|rip|ospf|isis|bgp|pim|table>",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3800,7 +3800,7 @@ DEFUN (show_ip_route_vrf_all_protocol,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_addr,
|
||||
show_ip_route_vrf_all_addr_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " A.B.C.D",
|
||||
"show ip route vrf all A.B.C.D",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3842,7 +3842,7 @@ DEFUN (show_ip_route_vrf_all_addr,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_prefix,
|
||||
show_ip_route_vrf_all_prefix_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " A.B.C.D/M",
|
||||
"show ip route vrf all A.B.C.D/M",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3889,7 +3889,7 @@ DEFUN (show_ip_route_vrf_all_prefix,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_summary,
|
||||
show_ip_route_vrf_all_summary_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " summary ",
|
||||
"show ip route vrf all summary ",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -3908,7 +3908,7 @@ DEFUN (show_ip_route_vrf_all_summary,
|
||||
|
||||
DEFUN (show_ip_route_vrf_all_summary_prefix,
|
||||
show_ip_route_vrf_all_summary_prefix_cmd,
|
||||
"show ip route " VRF_ALL_CMD_STR " summary prefix",
|
||||
"show ip route vrf all summary prefix",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -4718,7 +4718,7 @@ DEFUN (no_ipv6_route_ifname_flags_pref_tag,
|
||||
|
||||
DEFUN (ipv6_route_vrf,
|
||||
ipv6_route_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4734,7 +4734,7 @@ DEFUN (ipv6_route_vrf,
|
||||
|
||||
DEFUN (ipv6_route_tag_vrf,
|
||||
ipv6_route_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4753,7 +4753,7 @@ DEFUN (ipv6_route_tag_vrf,
|
||||
|
||||
DEFUN (ipv6_route_flags_vrf,
|
||||
ipv6_route_flags_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4772,7 +4772,7 @@ DEFUN (ipv6_route_flags_vrf,
|
||||
|
||||
DEFUN (ipv6_route_flags_tag_vrf,
|
||||
ipv6_route_flags_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4794,7 +4794,7 @@ DEFUN (ipv6_route_flags_tag_vrf,
|
||||
|
||||
DEFUN (ipv6_route_ifname_vrf,
|
||||
ipv6_route_ifname_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4810,7 +4810,7 @@ DEFUN (ipv6_route_ifname_vrf,
|
||||
}
|
||||
DEFUN (ipv6_route_ifname_tag_vrf,
|
||||
ipv6_route_ifname_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4830,7 +4830,7 @@ DEFUN (ipv6_route_ifname_tag_vrf,
|
||||
|
||||
DEFUN (ipv6_route_ifname_flags_vrf,
|
||||
ipv6_route_ifname_flags_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4850,7 +4850,7 @@ DEFUN (ipv6_route_ifname_flags_vrf,
|
||||
|
||||
DEFUN (ipv6_route_ifname_flags_tag_vrf,
|
||||
ipv6_route_ifname_flags_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4873,7 +4873,7 @@ DEFUN (ipv6_route_ifname_flags_tag_vrf,
|
||||
|
||||
DEFUN (ipv6_route_pref_vrf,
|
||||
ipv6_route_pref_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4891,7 +4891,7 @@ DEFUN (ipv6_route_pref_vrf,
|
||||
|
||||
DEFUN (ipv6_route_pref_tag_vrf,
|
||||
ipv6_route_pref_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4912,7 +4912,7 @@ DEFUN (ipv6_route_pref_tag_vrf,
|
||||
|
||||
DEFUN (ipv6_route_flags_pref_vrf,
|
||||
ipv6_route_flags_pref_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4933,7 +4933,7 @@ DEFUN (ipv6_route_flags_pref_vrf,
|
||||
|
||||
DEFUN (ipv6_route_flags_pref_tag_vrf,
|
||||
ipv6_route_flags_pref_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4957,7 +4957,7 @@ DEFUN (ipv6_route_flags_pref_tag_vrf,
|
||||
|
||||
DEFUN (ipv6_route_ifname_pref_vrf,
|
||||
ipv6_route_ifname_pref_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4976,7 +4976,7 @@ DEFUN (ipv6_route_ifname_pref_vrf,
|
||||
|
||||
DEFUN (ipv6_route_ifname_pref_tag_vrf,
|
||||
ipv6_route_ifname_pref_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -4998,7 +4998,7 @@ DEFUN (ipv6_route_ifname_pref_tag_vrf,
|
||||
|
||||
DEFUN (ipv6_route_ifname_flags_pref_vrf,
|
||||
ipv6_route_ifname_flags_pref_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -5020,7 +5020,7 @@ DEFUN (ipv6_route_ifname_flags_pref_vrf,
|
||||
|
||||
DEFUN (ipv6_route_ifname_flags_pref_tag_vrf,
|
||||
ipv6_route_ifname_flags_pref_tag_vrf_cmd,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
"IPv6 destination prefix (e.g. 3ffe:506::/32)\n"
|
||||
@ -5045,7 +5045,7 @@ DEFUN (ipv6_route_ifname_flags_pref_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_vrf,
|
||||
no_ipv6_route_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5062,7 +5062,7 @@ DEFUN (no_ipv6_route_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_tag_vrf,
|
||||
no_ipv6_route_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5082,7 +5082,7 @@ DEFUN (no_ipv6_route_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_flags_vrf,
|
||||
no_ipv6_route_flags_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5102,7 +5102,7 @@ DEFUN (no_ipv6_route_flags_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_flags_tag_vrf,
|
||||
no_ipv6_route_flags_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5125,7 +5125,7 @@ DEFUN (no_ipv6_route_flags_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_vrf,
|
||||
no_ipv6_route_ifname_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5143,7 +5143,7 @@ DEFUN (no_ipv6_route_ifname_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_tag_vrf,
|
||||
no_ipv6_route_ifname_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5164,7 +5164,7 @@ DEFUN (no_ipv6_route_ifname_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_flags_vrf,
|
||||
no_ipv6_route_ifname_flags_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5185,7 +5185,7 @@ DEFUN (no_ipv6_route_ifname_flags_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_flags_tag_vrf,
|
||||
no_ipv6_route_ifname_flags_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5209,7 +5209,7 @@ DEFUN (no_ipv6_route_ifname_flags_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_pref_vrf,
|
||||
no_ipv6_route_pref_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5228,7 +5228,7 @@ DEFUN (no_ipv6_route_pref_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_pref_tag_vrf,
|
||||
no_ipv6_route_pref_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5250,7 +5250,7 @@ DEFUN (no_ipv6_route_pref_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_flags_pref_vrf,
|
||||
no_ipv6_route_flags_pref_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5273,7 +5273,7 @@ DEFUN (no_ipv6_route_flags_pref_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_flags_pref_tag_vrf,
|
||||
no_ipv6_route_flags_pref_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M <X:X::X:X|INTERFACE> <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5299,7 +5299,7 @@ DEFUN (no_ipv6_route_flags_pref_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_pref_vrf,
|
||||
no_ipv6_route_ifname_pref_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5319,7 +5319,7 @@ DEFUN (no_ipv6_route_ifname_pref_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_pref_tag_vrf,
|
||||
no_ipv6_route_ifname_pref_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5342,7 +5342,7 @@ DEFUN (no_ipv6_route_ifname_pref_tag_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_flags_pref_vrf,
|
||||
no_ipv6_route_ifname_flags_pref_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5365,7 +5365,7 @@ DEFUN (no_ipv6_route_ifname_flags_pref_vrf,
|
||||
|
||||
DEFUN (no_ipv6_route_ifname_flags_pref_tag_vrf,
|
||||
no_ipv6_route_ifname_flags_pref_tag_vrf_cmd,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) (1-255) " VRF_CMD_STR,
|
||||
"no ipv6 route X:X::X:X/M X:X::X:X INTERFACE <reject|blackhole> tag (1-65535) (1-255) vrf NAME",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"Establish static routes\n"
|
||||
@ -5391,7 +5391,7 @@ DEFUN (no_ipv6_route_ifname_flags_pref_tag_vrf,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ipv6 route " VRF_CMD_STR " [json]",
|
||||
* "show ipv6 route vrf NAME [json]",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "IPv6 routing table\n"
|
||||
@ -5597,7 +5597,7 @@ DEFUN (show_ipv6_route_prefix_longer,
|
||||
|
||||
/*
|
||||
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
|
||||
* "show ipv6 route " VRF_CMD_STR " " QUAGGA_IP6_REDIST_STR_ZEBRA,
|
||||
* "show ipv6 route " VRF_CMD_STR " <kernel|connected|static|ripng|ospf6|isis|bgp|table>",
|
||||
* SHOW_STR
|
||||
* IP_STR
|
||||
* "IP routing table\n"
|
||||
@ -5607,7 +5607,7 @@ DEFUN (show_ipv6_route_prefix_longer,
|
||||
*/
|
||||
DEFUN (show_ipv6_route_protocol,
|
||||
show_ipv6_route_protocol_cmd,
|
||||
"show ipv6 route " QUAGGA_IP6_REDIST_STR_ZEBRA,
|
||||
"show ipv6 route <kernel|connected|static|ripng|ospf6|isis|bgp|table>",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -5846,7 +5846,7 @@ DEFUN (show_ipv6_mroute,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all,
|
||||
show_ipv6_route_vrf_all_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR,
|
||||
"show ipv6 route vrf all",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 routing table\n"
|
||||
@ -5891,7 +5891,7 @@ DEFUN (show_ipv6_route_vrf_all,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all_tag,
|
||||
show_ipv6_route_vrf_all_tag_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR " tag (1-65535)",
|
||||
"show ipv6 route vrf all tag (1-65535)",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 routing table\n"
|
||||
@ -5946,7 +5946,7 @@ DEFUN (show_ipv6_route_vrf_all_tag,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all_prefix_longer,
|
||||
show_ipv6_route_vrf_all_prefix_longer_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR " X:X::X:X/M longer-prefixes",
|
||||
"show ipv6 route vrf all X:X::X:X/M longer-prefixes",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 routing table\n"
|
||||
@ -6004,7 +6004,7 @@ DEFUN (show_ipv6_route_vrf_all_prefix_longer,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all_protocol,
|
||||
show_ipv6_route_vrf_all_protocol_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR " " QUAGGA_IP6_REDIST_STR_ZEBRA,
|
||||
"show ipv6 route vrf all <kernel|connected|static|ripng|ospf6|isis|bgp|table>",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IP routing table\n"
|
||||
@ -6059,7 +6059,7 @@ DEFUN (show_ipv6_route_vrf_all_protocol,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all_addr,
|
||||
show_ipv6_route_vrf_all_addr_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR " X:X::X:X",
|
||||
"show ipv6 route vrf all X:X::X:X",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 routing table\n"
|
||||
@ -6101,7 +6101,7 @@ DEFUN (show_ipv6_route_vrf_all_addr,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all_prefix,
|
||||
show_ipv6_route_vrf_all_prefix_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR " X:X::X:X/M",
|
||||
"show ipv6 route vrf all X:X::X:X/M",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 routing table\n"
|
||||
@ -6148,7 +6148,7 @@ DEFUN (show_ipv6_route_vrf_all_prefix,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all_summary,
|
||||
show_ipv6_route_vrf_all_summary_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR " summary",
|
||||
"show ipv6 route vrf all summary",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 routing table\n"
|
||||
@ -6167,7 +6167,7 @@ DEFUN (show_ipv6_route_vrf_all_summary,
|
||||
|
||||
DEFUN (show_ipv6_mroute_vrf_all,
|
||||
show_ipv6_mroute_vrf_all_cmd,
|
||||
"show ipv6 mroute " VRF_ALL_CMD_STR,
|
||||
"show ipv6 mroute vrf all",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 Multicast routing table\n"
|
||||
@ -6203,7 +6203,7 @@ DEFUN (show_ipv6_mroute_vrf_all,
|
||||
|
||||
DEFUN (show_ipv6_route_vrf_all_summary_prefix,
|
||||
show_ipv6_route_vrf_all_summary_prefix_cmd,
|
||||
"show ipv6 route " VRF_ALL_CMD_STR " summary prefix",
|
||||
"show ipv6 route vrf all summary prefix",
|
||||
SHOW_STR
|
||||
IP_STR
|
||||
"IPv6 routing table\n"
|
||||
|
Loading…
Reference in New Issue
Block a user