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")
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"
*/
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
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
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
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
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
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
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
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
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
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
/*
* 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
*/
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
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
/*
* 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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
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
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
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
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
/*
* 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
* "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
* "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
*/
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
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
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
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
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
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
/*
* 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
*/
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
#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
*/
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
/*
* 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
*/
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
/*
* 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
*/
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
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
/*
* 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
*/
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
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
#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
*/
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
* "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
*/
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
* "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
*/
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
*/
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"
/*
* 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"
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"
/*
* 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"
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"
/*
* 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"
* ROUTER_STR
* BGP_STR
*
- * "router bgp " CMD_AS_RANGE " (view|vrf) WORD",
+ * "router bgp (1-4294967295) (view|vrf) WORD",
* ROUTER_STR
* BGP_STR
* AS_STR
*/
DEFUN (router_bgp,
router_bgp_cmd,
- "router bgp " CMD_AS_RANGE,
+ "router bgp (1-4294967295)",
ROUTER_STR
BGP_STR
AS_STR)
* ROUTER_STR
* BGP_STR
*
- * "no router bgp " CMD_AS_RANGE " (view|vrf) WORD",
+ * "no router bgp (1-4294967295) (view|vrf) WORD",
* NO_STR
* ROUTER_STR
* BGP_STR
*/
DEFUN (no_router_bgp,
no_router_bgp_cmd,
- "no router bgp " CMD_AS_RANGE,
+ "no router bgp (1-4294967295)",
NO_STR
ROUTER_STR
BGP_STR
DEFUN (bgp_confederation_identifier,
bgp_confederation_identifier_cmd,
- "bgp confederation identifier " CMD_AS_RANGE,
+ "bgp confederation identifier (1-4294967295)",
"BGP specific commands\n"
"AS confederation parameters\n"
"AS number\n"
DEFUN (bgp_confederation_peers,
bgp_confederation_peers_cmd,
- "bgp confederation peers ." CMD_AS_RANGE,
+ "bgp confederation peers . (1-4294967295)",
"BGP specific commands\n"
"AS confederation parameters\n"
"Peer ASs in BGP confederation\n"
DEFUN (no_bgp_confederation_peers,
no_bgp_confederation_peers_cmd,
- "no bgp confederation peers ." CMD_AS_RANGE,
+ "no bgp confederation peers . (1-4294967295)",
NO_STR
"BGP specific commands\n"
"AS confederation parameters\n"
/* Maximum-paths configuration */
DEFUN (bgp_maxpaths,
bgp_maxpaths_cmd,
- "maximum-paths " CMD_RANGE_STR(1, MULTIPATH_NUM),
+ "maximum-paths (1-255)",
"Forward packets over multiple paths\n"
"Number of paths\n")
{
DEFUN (bgp_maxpaths_ibgp,
bgp_maxpaths_ibgp_cmd,
- "maximum-paths ibgp " CMD_RANGE_STR(1, MULTIPATH_NUM),
+ "maximum-paths ibgp (1-255)",
"Forward packets over multiple paths\n"
"iBGP-multipath\n"
"Number of paths\n")
DEFUN (bgp_maxpaths_ibgp_cluster,
bgp_maxpaths_ibgp_cluster_cmd,
- "maximum-paths ibgp " CMD_RANGE_STR(1, MULTIPATH_NUM) " equal-cluster-length",
+ "maximum-paths ibgp (1-255) equal-cluster-length",
"Forward packets over multiple paths\n"
"iBGP-multipath\n"
"Number of paths\n"
DEFUN (no_bgp_maxpaths,
no_bgp_maxpaths_cmd,
- "no maximum-paths [" CMD_RANGE_STR(1, MULTIPATH_NUM) "]",
+ "no maximum-paths [(1-255)]",
NO_STR
"Forward packets over multiple paths\n"
"Number of paths\n")
DEFUN (no_bgp_maxpaths_ibgp,
no_bgp_maxpaths_ibgp_cmd,
- "no maximum-paths ibgp [" CMD_RANGE_STR(1, MULTIPATH_NUM) " [equal-cluster-length]]",
+ "no maximum-paths ibgp [(1-255) [equal-cluster-length]]",
NO_STR
"Forward packets over multiple paths\n"
"iBGP-multipath\n"
DEFUN (bgp_listen_limit,
bgp_listen_limit_cmd,
- "bgp listen limit " DYNAMIC_NEIGHBOR_LIMIT_RANGE,
+ "bgp listen limit (1-5000)",
"BGP specific commands\n"
"Configure BGP defaults\n"
"maximum number of BGP Dynamic Neighbors that can be created\n"
DEFUN (bgp_listen_range,
bgp_listen_range_cmd,
- LISTEN_RANGE_CMD "peer-group WORD" ,
+ "bgp listen range <A.B.C.D/M|X:X::X:X/M> peer-group WORD",
"BGP specific commands\n"
"Configure BGP Dynamic Neighbors\n"
"add a listening range for Dynamic Neighbors\n"
DEFUN (no_bgp_listen_range,
no_bgp_listen_range_cmd,
- "no bgp listen range A.B.C.D/M peer-group WORD" ,
+ "no bgp listen range A.B.C.D/M peer-group WORD",
"BGP specific commands\n"
"Configure BGP defaults\n"
"delete a listening range for Dynamic Neighbors\n"
DEFUN (neighbor_remote_as,
neighbor_remote_as_cmd,
- NEIGHBOR_CMD2 "remote-as <" CMD_AS_RANGE "|external|internal>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> remote-as <(1-4294967295)|external|internal>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Specify a BGP neighbor\n"
DEFUN (neighbor_interface_config_remote_as,
neighbor_interface_config_remote_as_cmd,
- "neighbor WORD interface remote-as <" CMD_AS_RANGE "|external|internal>",
+ "neighbor WORD interface remote-as <(1-4294967295)|external|internal>",
NEIGHBOR_STR
"Interface name or neighbor tag\n"
"Enable BGP on interface\n"
DEFUN (neighbor_interface_v6only_config_remote_as,
neighbor_interface_v6only_config_remote_as_cmd,
- "neighbor WORD interface v6only remote-as <" CMD_AS_RANGE "|external|internal>",
+ "neighbor WORD interface v6only remote-as <(1-4294967295)|external|internal>",
NEIGHBOR_STR
"Interface name or neighbor tag\n"
"Enable BGP on interface\n"
*/
DEFUN (no_neighbor,
no_neighbor_cmd,
- NO_NEIGHBOR_CMD2,
+ "no neighbor <A.B.C.D|X:X::X:X|WORD>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2)
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "no neighbor WORD interface remote-as (" CMD_AS_RANGE "|internal|external)",
+ * "no neighbor WORD interface remote-as ((1-4294967295)|internal|external)",
* NO_STR
* NEIGHBOR_STR
* "Interface name\n"
* "Member of the peer-group\n"
* "peer-group name\n"
*
- * "no neighbor WORD interface v6only remote-as (" CMD_AS_RANGE "|internal|external)",
+ * "no neighbor WORD interface v6only remote-as ((1-4294967295)|internal|external)",
* NO_STR
* NEIGHBOR_STR
* "Interface name\n"
DEFUN (no_neighbor_interface_peer_group_remote_as,
no_neighbor_interface_peer_group_remote_as_cmd,
- "no neighbor WORD remote-as <" CMD_AS_RANGE "|internal|external>",
+ "no neighbor WORD remote-as <(1-4294967295)|internal|external>",
NO_STR
NEIGHBOR_STR
"Interface name or neighbor tag\n"
DEFUN (neighbor_local_as,
neighbor_local_as_cmd,
- NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE,
+ "neighbor <A.B.C.D|X:X::X:X|WORD> local-as (1-4294967295)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Specify a local-as number\n"
DEFUN (neighbor_local_as_no_prepend,
neighbor_local_as_no_prepend_cmd,
- NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE " no-prepend",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> local-as (1-4294967295) no-prepend",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Specify a local-as number\n"
DEFUN (neighbor_local_as_no_prepend_replace_as,
neighbor_local_as_no_prepend_replace_as_cmd,
- NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE " no-prepend replace-as",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> local-as (1-4294967295) no-prepend replace-as",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Specify a local-as number\n"
*/
DEFUN (no_neighbor_local_as,
no_neighbor_local_as_cmd,
- NO_NEIGHBOR_CMD2 "local-as",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> local-as",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_solo,
neighbor_solo_cmd,
- NEIGHBOR_CMD2 "solo",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> solo",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Solo peer - part of its own update group\n")
DEFUN (no_neighbor_solo,
no_neighbor_solo_cmd,
- NO_NEIGHBOR_CMD2 "solo",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> solo",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_password,
neighbor_password_cmd,
- NEIGHBOR_CMD2 "password LINE",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> password LINE",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Set a password\n"
*/
DEFUN (no_neighbor_password,
no_neighbor_password_cmd,
- NO_NEIGHBOR_CMD2 "password",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> password",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_activate,
neighbor_activate_cmd,
- NEIGHBOR_CMD2 "activate",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> activate",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Enable the Address Family for this Neighbor\n")
DEFUN (no_neighbor_activate,
no_neighbor_activate_cmd,
- NO_NEIGHBOR_CMD2 "activate",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> activate",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_set_peer_group,
neighbor_set_peer_group_cmd,
- NEIGHBOR_CMD2 "peer-group WORD",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> peer-group WORD",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Member of the peer-group\n"
DEFUN (no_neighbor_set_peer_group,
no_neighbor_set_peer_group_cmd,
- NO_NEIGHBOR_CMD2 "peer-group WORD",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> peer-group WORD",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor passive. */
DEFUN (neighbor_passive,
neighbor_passive_cmd,
- NEIGHBOR_CMD2 "passive",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> passive",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Don't send open messages to this neighbor\n")
DEFUN (no_neighbor_passive,
no_neighbor_passive_cmd,
- NO_NEIGHBOR_CMD2 "passive",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> passive",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor shutdown. */
DEFUN (neighbor_shutdown,
neighbor_shutdown_cmd,
- NEIGHBOR_CMD2 "shutdown",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> shutdown",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Administratively shut down this neighbor\n")
DEFUN (no_neighbor_shutdown,
no_neighbor_shutdown_cmd,
- NO_NEIGHBOR_CMD2 "shutdown",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> shutdown",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor capability dynamic. */
DEFUN (neighbor_capability_dynamic,
neighbor_capability_dynamic_cmd,
- NEIGHBOR_CMD2 "capability dynamic",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> capability dynamic",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Advertise capability to the peer\n"
DEFUN (no_neighbor_capability_dynamic,
no_neighbor_capability_dynamic_cmd,
- NO_NEIGHBOR_CMD2 "capability dynamic",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> capability dynamic",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor dont-capability-negotiate */
DEFUN (neighbor_dont_capability_negotiate,
neighbor_dont_capability_negotiate_cmd,
- NEIGHBOR_CMD2 "dont-capability-negotiate",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> dont-capability-negotiate",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Do not perform capability negotiation\n")
DEFUN (no_neighbor_dont_capability_negotiate,
no_neighbor_dont_capability_negotiate_cmd,
- NO_NEIGHBOR_CMD2 "dont-capability-negotiate",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> dont-capability-negotiate",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor capability extended next hop encoding */
DEFUN (neighbor_capability_enhe,
neighbor_capability_enhe_cmd,
- NEIGHBOR_CMD2 "capability extended-nexthop",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> capability extended-nexthop",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Advertise capability to the peer\n"
DEFUN (no_neighbor_capability_enhe,
no_neighbor_capability_enhe_cmd,
- NO_NEIGHBOR_CMD2 "capability extended-nexthop",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> capability extended-nexthop",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor capability orf prefix-list. */
DEFUN (neighbor_capability_orf_prefix,
neighbor_capability_orf_prefix_cmd,
- NEIGHBOR_CMD2 "capability orf prefix-list <both|send|receive>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> capability orf prefix-list <both|send|receive>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Advertise capability to the peer\n"
DEFUN (no_neighbor_capability_orf_prefix,
no_neighbor_capability_orf_prefix_cmd,
- NO_NEIGHBOR_CMD2 "capability orf prefix-list <both|send|receive>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> capability orf prefix-list <both|send|receive>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor next-hop-self. */
DEFUN (neighbor_nexthop_self,
neighbor_nexthop_self_cmd,
- NEIGHBOR_CMD2 "next-hop-self",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> next-hop-self",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Disable the next hop calculation for this neighbor\n")
/* neighbor next-hop-self. */
DEFUN (neighbor_nexthop_self_force,
neighbor_nexthop_self_force_cmd,
- NEIGHBOR_CMD2 "next-hop-self force",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> next-hop-self force",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Disable the next hop calculation for this neighbor\n"
DEFUN (no_neighbor_nexthop_self,
no_neighbor_nexthop_self_cmd,
- NO_NEIGHBOR_CMD2 "next-hop-self",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> next-hop-self",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_nexthop_self_force,
no_neighbor_nexthop_self_force_cmd,
- NO_NEIGHBOR_CMD2 "next-hop-self force",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> next-hop-self force",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor as-override */
DEFUN (neighbor_as_override,
neighbor_as_override_cmd,
- NEIGHBOR_CMD2 "as-override",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> as-override",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Override ASNs in outbound updates if aspath equals remote-as\n")
DEFUN (no_neighbor_as_override,
no_neighbor_as_override_cmd,
- NO_NEIGHBOR_CMD2 "as-override",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> as-override",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor remove-private-AS. */
DEFUN (neighbor_remove_private_as,
neighbor_remove_private_as_cmd,
- NEIGHBOR_CMD2 "remove-private-AS",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Remove private ASNs in outbound updates\n")
DEFUN (neighbor_remove_private_as_all,
neighbor_remove_private_as_all_cmd,
- NEIGHBOR_CMD2 "remove-private-AS all",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS all",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Remove private ASNs in outbound updates\n"
DEFUN (neighbor_remove_private_as_replace_as,
neighbor_remove_private_as_replace_as_cmd,
- NEIGHBOR_CMD2 "remove-private-AS replace-AS",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS replace-AS",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Remove private ASNs in outbound updates\n"
DEFUN (neighbor_remove_private_as_all_replace_as,
neighbor_remove_private_as_all_replace_as_cmd,
- NEIGHBOR_CMD2 "remove-private-AS all replace-AS",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS all replace-AS",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Remove private ASNs in outbound updates\n"
DEFUN (no_neighbor_remove_private_as,
no_neighbor_remove_private_as_cmd,
- NO_NEIGHBOR_CMD2 "remove-private-AS",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_remove_private_as_all,
no_neighbor_remove_private_as_all_cmd,
- NO_NEIGHBOR_CMD2 "remove-private-AS all",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS all",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_remove_private_as_replace_as,
no_neighbor_remove_private_as_replace_as_cmd,
- NO_NEIGHBOR_CMD2 "remove-private-AS replace-AS",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS replace-AS",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_remove_private_as_all_replace_as,
no_neighbor_remove_private_as_all_replace_as_cmd,
- NO_NEIGHBOR_CMD2 "remove-private-AS all replace-AS",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS all replace-AS",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor send-community. */
DEFUN (neighbor_send_community,
neighbor_send_community_cmd,
- NEIGHBOR_CMD2 "send-community",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> send-community",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Send Community attribute to this neighbor\n")
DEFUN (no_neighbor_send_community,
no_neighbor_send_community_cmd,
- NO_NEIGHBOR_CMD2 "send-community",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> send-community",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor send-community extended. */
DEFUN (neighbor_send_community_type,
neighbor_send_community_type_cmd,
- NEIGHBOR_CMD2 "send-community <both|extended|standard>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> send-community <both|extended|standard>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Send Community attribute to this neighbor\n"
DEFUN (no_neighbor_send_community_type,
no_neighbor_send_community_type_cmd,
- NO_NEIGHBOR_CMD2 "send-community <both|extended|standard>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> send-community <both|extended|standard>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor soft-reconfig. */
DEFUN (neighbor_soft_reconfiguration,
neighbor_soft_reconfiguration_cmd,
- NEIGHBOR_CMD2 "soft-reconfiguration inbound",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> soft-reconfiguration inbound",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Per neighbor soft reconfiguration\n"
DEFUN (no_neighbor_soft_reconfiguration,
no_neighbor_soft_reconfiguration_cmd,
- NO_NEIGHBOR_CMD2 "soft-reconfiguration inbound",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> soft-reconfiguration inbound",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_route_reflector_client,
neighbor_route_reflector_client_cmd,
- NEIGHBOR_CMD2 "route-reflector-client",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> route-reflector-client",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Configure a neighbor as Route Reflector client\n")
DEFUN (no_neighbor_route_reflector_client,
no_neighbor_route_reflector_client_cmd,
- NO_NEIGHBOR_CMD2 "route-reflector-client",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> route-reflector-client",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor route-server-client. */
DEFUN (neighbor_route_server_client,
neighbor_route_server_client_cmd,
- NEIGHBOR_CMD2 "route-server-client",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> route-server-client",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Configure a neighbor as Route Server client\n")
DEFUN (no_neighbor_route_server_client,
no_neighbor_route_server_client_cmd,
- NO_NEIGHBOR_CMD2 "route-server-client",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> route-server-client",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_nexthop_local_unchanged,
neighbor_nexthop_local_unchanged_cmd,
- NEIGHBOR_CMD2 "nexthop-local unchanged",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> nexthop-local unchanged",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Configure treatment of outgoing link-local nexthop attribute\n"
DEFUN (no_neighbor_nexthop_local_unchanged,
no_neighbor_nexthop_local_unchanged_cmd,
- NO_NEIGHBOR_CMD2 "nexthop-local unchanged",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> nexthop-local unchanged",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
*/
DEFUN (neighbor_attr_unchanged,
neighbor_attr_unchanged_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"BGP attribute is propagated unchanged to this neighbor\n")
DEFUN (neighbor_attr_unchanged1,
neighbor_attr_unchanged1_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged <as-path|next-hop|med>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged <as-path|next-hop|med>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"BGP attribute is propagated unchanged to this neighbor\n"
DEFUN (neighbor_attr_unchanged2,
neighbor_attr_unchanged2_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged as-path <next-hop|med>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged as-path <next-hop|med>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"BGP attribute is propagated unchanged to this neighbor\n"
DEFUN (neighbor_attr_unchanged3,
neighbor_attr_unchanged3_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged next-hop <as-path|med>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged next-hop <as-path|med>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"BGP attribute is propagated unchanged to this neighbor\n"
DEFUN (neighbor_attr_unchanged4,
neighbor_attr_unchanged4_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged med <as-path|next-hop>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged med <as-path|next-hop>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"BGP attribute is propagated unchanged to this neighbor\n"
*/
DEFUN (no_neighbor_attr_unchanged,
no_neighbor_attr_unchanged_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_attr_unchanged1,
no_neighbor_attr_unchanged1_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged <as-path|next-hop|med>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged <as-path|next-hop|med>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_attr_unchanged2,
no_neighbor_attr_unchanged2_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged as-path <next-hop|med>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged as-path <next-hop|med>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_attr_unchanged3,
no_neighbor_attr_unchanged3_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged next-hop <as-path|med>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged next-hop <as-path|med>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (no_neighbor_attr_unchanged4,
no_neighbor_attr_unchanged4_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged med <as-path|next-hop>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged med <as-path|next-hop>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor ebgp-multihop. */
DEFUN (neighbor_ebgp_multihop,
neighbor_ebgp_multihop_cmd,
- NEIGHBOR_CMD2 "ebgp-multihop",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> ebgp-multihop",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Allow EBGP neighbors not on directly connected networks\n")
DEFUN (neighbor_ebgp_multihop_ttl,
neighbor_ebgp_multihop_ttl_cmd,
- NEIGHBOR_CMD2 "ebgp-multihop " CMD_RANGE_STR(1, MAXTTL),
+ "neighbor <A.B.C.D|X:X::X:X|WORD> ebgp-multihop (1-255)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Allow EBGP neighbors not on directly connected networks\n"
*/
DEFUN (no_neighbor_ebgp_multihop,
no_neighbor_ebgp_multihop_cmd,
- NO_NEIGHBOR_CMD2 "ebgp-multihop",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> ebgp-multihop",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
*/
DEFUN (neighbor_disable_connected_check,
neighbor_disable_connected_check_cmd,
- NEIGHBOR_CMD2 "disable-connected-check",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> disable-connected-check",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"one-hop away EBGP peer using loopback address\n")
*/
DEFUN (no_neighbor_disable_connected_check,
no_neighbor_disable_connected_check_cmd,
- NO_NEIGHBOR_CMD2 "disable-connected-check",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> disable-connected-check",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_description,
neighbor_description_cmd,
- NEIGHBOR_CMD2 "description .LINE",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> description .LINE",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Neighbor specific description\n"
*/
DEFUN (no_neighbor_description,
no_neighbor_description_cmd,
- NO_NEIGHBOR_CMD2 "description",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> description",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_update_source,
neighbor_update_source_cmd,
- NEIGHBOR_CMD2 "update-source " BGP_UPDATE_SOURCE_REQ_STR,
+ "neighbor <A.B.C.D|X:X::X:X|WORD> update-source <A.B.C.D|X:X::X:X|WORD>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Source of routing updates\n"
DEFUN (no_neighbor_update_source,
no_neighbor_update_source_cmd,
- NO_NEIGHBOR_CMD2 "update-source " BGP_UPDATE_SOURCE_OPT_STR,
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> update-source [A.B.C.D|X:X::X:X|WORD]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* neighbor default-originate. */
DEFUN (neighbor_default_originate,
neighbor_default_originate_cmd,
- NEIGHBOR_CMD2 "default-originate",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> default-originate",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Originate default route to this neighbor\n")
DEFUN (neighbor_default_originate_rmap,
neighbor_default_originate_rmap_cmd,
- NEIGHBOR_CMD2 "default-originate route-map WORD",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> default-originate route-map WORD",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Originate default route to this neighbor\n"
*/
DEFUN (no_neighbor_default_originate,
no_neighbor_default_originate_cmd,
- NO_NEIGHBOR_CMD2 "default-originate",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> default-originate",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* Set specified peer's BGP port. */
DEFUN (neighbor_port,
neighbor_port_cmd,
- NEIGHBOR_CMD "port (0-65535)",
+ "neighbor <A.B.C.D|X:X::X:X> port (0-65535)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR
"Neighbor's BGP port\n"
DEFUN (no_neighbor_port,
no_neighbor_port_cmd,
- NO_NEIGHBOR_CMD "port [(0-65535)]",
+ "no neighbor <A.B.C.D|X:X::X:X> port [(0-65535)]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR
DEFUN (neighbor_weight,
neighbor_weight_cmd,
- NEIGHBOR_CMD2 "weight (0-65535)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Set default weight for routes from this neighbor\n"
DEFUN (no_neighbor_weight,
no_neighbor_weight_cmd,
- NO_NEIGHBOR_CMD2 "weight [(0-65535)]",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
/* Override capability negotiation. */
DEFUN (neighbor_override_capability,
neighbor_override_capability_cmd,
- NEIGHBOR_CMD2 "override-capability",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> override-capability",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Override capability negotiation result\n")
DEFUN (no_neighbor_override_capability,
no_neighbor_override_capability_cmd,
- NO_NEIGHBOR_CMD2 "override-capability",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> override-capability",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_strict_capability,
neighbor_strict_capability_cmd,
- NEIGHBOR_CMD "strict-capability-match",
+ "neighbor <A.B.C.D|X:X::X:X> strict-capability-match",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR
"Strict capability negotiation match\n")
DEFUN (no_neighbor_strict_capability,
no_neighbor_strict_capability_cmd,
- NO_NEIGHBOR_CMD "strict-capability-match",
+ "no neighbor <A.B.C.D|X:X::X:X> strict-capability-match",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR
DEFUN (neighbor_timers,
neighbor_timers_cmd,
- NEIGHBOR_CMD2 "timers (0-65535) (0-65535)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> timers (0-65535) (0-65535)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"BGP per neighbor timers\n"
DEFUN (no_neighbor_timers,
no_neighbor_timers_cmd,
- NO_NEIGHBOR_CMD2 "timers [(0-65535) (0-65535)]",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> timers [(0-65535) (0-65535)]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_timers_connect,
neighbor_timers_connect_cmd,
- NEIGHBOR_CMD2 "timers connect (1-65535)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> timers connect (1-65535)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"BGP per neighbor timers\n"
DEFUN (no_neighbor_timers_connect,
no_neighbor_timers_connect_cmd,
- NO_NEIGHBOR_CMD2 "timers connect [(1-65535)]",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> timers connect [(1-65535)]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_advertise_interval,
neighbor_advertise_interval_cmd,
- NEIGHBOR_CMD2 "advertisement-interval (0-600)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> advertisement-interval (0-600)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Minimum interval between sending BGP routing updates\n"
DEFUN (no_neighbor_advertise_interval,
no_neighbor_advertise_interval_cmd,
- NO_NEIGHBOR_CMD2 "advertisement-interval [(0-600)]",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> advertisement-interval [(0-600)]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_interface,
neighbor_interface_cmd,
- NEIGHBOR_CMD "interface WORD",
+ "neighbor <A.B.C.D|X:X::X:X> interface WORD",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR
"Interface\n"
DEFUN (no_neighbor_interface,
no_neighbor_interface_cmd,
- NO_NEIGHBOR_CMD2 "interface WORD",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> interface WORD",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR
DEFUN (neighbor_distribute_list,
neighbor_distribute_list_cmd,
- NEIGHBOR_CMD2 "distribute-list <(1-199)|(1300-2699)|WORD> <in|out>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> distribute-list <(1-199)|(1300-2699)|WORD> <in|out>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Filter updates to/from this neighbor\n"
DEFUN (no_neighbor_distribute_list,
no_neighbor_distribute_list_cmd,
- NO_NEIGHBOR_CMD2 "distribute-list <(1-199)|(1300-2699)|WORD> <in|out>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> distribute-list <(1-199)|(1300-2699)|WORD> <in|out>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_prefix_list,
neighbor_prefix_list_cmd,
- NEIGHBOR_CMD2 "prefix-list WORD <in|out>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> prefix-list WORD <in|out>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Filter updates to/from this neighbor\n"
DEFUN (no_neighbor_prefix_list,
no_neighbor_prefix_list_cmd,
- NO_NEIGHBOR_CMD2 "prefix-list WORD <in|out>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> prefix-list WORD <in|out>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_filter_list,
neighbor_filter_list_cmd,
- NEIGHBOR_CMD2 "filter-list WORD <in|out>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> filter-list WORD <in|out>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Establish BGP filters\n"
DEFUN (no_neighbor_filter_list,
no_neighbor_filter_list_cmd,
- NO_NEIGHBOR_CMD2 "filter-list WORD <in|out>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> filter-list WORD <in|out>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_route_map,
neighbor_route_map_cmd,
- NEIGHBOR_CMD2 "route-map WORD <in|out>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> route-map WORD <in|out>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Apply route map to neighbor\n"
DEFUN (no_neighbor_route_map,
no_neighbor_route_map_cmd,
- NO_NEIGHBOR_CMD2 "route-map WORD <in|out>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> route-map WORD <in|out>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_unsuppress_map,
neighbor_unsuppress_map_cmd,
- NEIGHBOR_CMD2 "unsuppress-map WORD",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> unsuppress-map WORD",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Route-map to selectively unsuppress suppressed routes\n"
DEFUN (no_neighbor_unsuppress_map,
no_neighbor_unsuppress_map_cmd,
- NO_NEIGHBOR_CMD2 "unsuppress-map WORD",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> unsuppress-map WORD",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
each peer configuration. */
DEFUN (neighbor_maximum_prefix,
neighbor_maximum_prefix_cmd,
- NEIGHBOR_CMD2 "maximum-prefix (1-4294967295)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix (1-4294967295)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Maximum number of prefix accept from this peer\n"
DEFUN (neighbor_maximum_prefix_threshold,
neighbor_maximum_prefix_threshold_cmd,
- NEIGHBOR_CMD2 "maximum-prefix (1-4294967295) (1-100)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix (1-4294967295) (1-100)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Maximum number of prefix accept from this peer\n"
DEFUN (neighbor_maximum_prefix_warning,
neighbor_maximum_prefix_warning_cmd,
- NEIGHBOR_CMD2 "maximum-prefix (1-4294967295) warning-only",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix (1-4294967295) warning-only",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Maximum number of prefix accept from this peer\n"
DEFUN (neighbor_maximum_prefix_threshold_warning,
neighbor_maximum_prefix_threshold_warning_cmd,
- NEIGHBOR_CMD2 "maximum-prefix (1-4294967295) (1-100) warning-only",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix (1-4294967295) (1-100) warning-only",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Maximum number of prefix accept from this peer\n"
DEFUN (neighbor_maximum_prefix_restart,
neighbor_maximum_prefix_restart_cmd,
- NEIGHBOR_CMD2 "maximum-prefix (1-4294967295) restart (1-65535)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix (1-4294967295) restart (1-65535)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Maximum number of prefix accept from this peer\n"
DEFUN (neighbor_maximum_prefix_threshold_restart,
neighbor_maximum_prefix_threshold_restart_cmd,
- NEIGHBOR_CMD2 "maximum-prefix (1-4294967295) (1-100) restart (1-65535)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix (1-4294967295) (1-100) restart (1-65535)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Maximum number of prefix accept from this peer\n"
*/
DEFUN (no_neighbor_maximum_prefix,
no_neighbor_maximum_prefix_cmd,
- NO_NEIGHBOR_CMD2 "maximum-prefix",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
*/
DEFUN (neighbor_allowas_in,
neighbor_allowas_in_cmd,
- NEIGHBOR_CMD2 "allowas-in",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Accept as-path with my AS present in it\n")
DEFUN (no_neighbor_allowas_in,
no_neighbor_allowas_in_cmd,
- NO_NEIGHBOR_CMD2 "allowas-in [(1-10)]",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in [(1-10)]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_ttl_security,
neighbor_ttl_security_cmd,
- NEIGHBOR_CMD2 "ttl-security hops (1-254)",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> ttl-security hops (1-254)",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Specify the maximum number of hops to the BGP peer\n")
DEFUN (no_neighbor_ttl_security,
no_neighbor_ttl_security_cmd,
- NO_NEIGHBOR_CMD2 "ttl-security hops (1-254)",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> ttl-security hops (1-254)",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_addpath_tx_all_paths,
neighbor_addpath_tx_all_paths_cmd,
- NEIGHBOR_CMD2 "addpath-tx-all-paths",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> addpath-tx-all-paths",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Use addpath to advertise all paths to a neighbor\n")
DEFUN (no_neighbor_addpath_tx_all_paths,
no_neighbor_addpath_tx_all_paths_cmd,
- NO_NEIGHBOR_CMD2 "addpath-tx-all-paths",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> addpath-tx-all-paths",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
DEFUN (neighbor_addpath_tx_bestpath_per_as,
neighbor_addpath_tx_bestpath_per_as_cmd,
- NEIGHBOR_CMD2 "addpath-tx-bestpath-per-AS",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> addpath-tx-bestpath-per-AS",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Use addpath to advertise the bestpath per each neighboring AS\n")
DEFUN (no_neighbor_addpath_tx_bestpath_per_as,
no_neighbor_addpath_tx_bestpath_per_as_cmd,
- NO_NEIGHBOR_CMD2 "addpath-tx-bestpath-per-AS",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> addpath-tx-bestpath-per-AS",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
* BGP_STR
* "Clear all peers\n"
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 *",
+ * "clear bgp <view|vrf> WORD ipv6 *",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 external",
+ * "clear bgp <view|vrf> WORD ipv6 external",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
* need ipv6 options
*
- * "clear bgp ipv6 " CMD_AS_RANGE,
+ * "clear bgp ipv6 (1-4294967295)",
* CLEAR_STR
* BGP_STR
* "Address family\n"
* "Clear peers with the AS number\n"
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE,
+ * "clear bgp <view|vrf> WORD ipv6 (1-4294967295)",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
*/
DEFUN (clear_ip_bgp_as,
clear_ip_bgp_as_cmd,
- "clear [ip] bgp [<view|vrf> WORD] " CMD_AS_RANGE,
+ "clear [ip] bgp [<view|vrf> WORD] (1-4294967295)",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_instance_all_ipv4_soft_out,
clear_ip_bgp_instance_all_ipv4_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * ipv4 <unicast|multicast> [soft] out",
+ "clear ip bgp <view|vrf> WORD * ipv4 <unicast|multicast> [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_bgp_instance_ipv6_safi_prefix,
clear_bgp_instance_ipv6_safi_prefix_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 <unicast|multicast> prefix X:X::X:X/M",
+ "clear bgp <view|vrf> WORD ipv6 <unicast|multicast> prefix X:X::X:X/M",
CLEAR_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (clear_ip_bgp_instance_peer_ipv4_soft_out,
clear_ip_bgp_instance_peer_ipv4_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " <A.B.C.D|WORD> ipv4 <unicast|multicast> [soft] out",
+ "clear ip bgp <view|vrf> WORD <A.B.C.D|WORD> ipv4 <unicast|multicast> [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_instance_peer_group_ipv4_soft_out,
clear_ip_bgp_instance_peer_group_ipv4_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 <unicast|multicast> [soft] out",
+ "clear ip bgp <view|vrf> WORD peer-group WORD ipv4 <unicast|multicast> [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_instance_external_ipv4_soft_out,
clear_ip_bgp_instance_external_ipv4_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external ipv4 <unicast|multicast> [soft] out",
+ "clear ip bgp <view|vrf> WORD external ipv4 <unicast|multicast> [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_soft_out,
clear_ip_bgp_as_soft_out_cmd,
- "clear ip bgp [<view|vrf> WORD] " CMD_AS_RANGE " [soft] out",
+ "clear ip bgp [<view|vrf> WORD] (1-4294967295) [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_ipv4_soft_out,
clear_ip_bgp_as_ipv4_soft_out_cmd,
- "clear ip bgp " CMD_AS_RANGE " ipv4 <unicast|multicast> [soft] out",
+ "clear ip bgp (1-4294967295) ipv4 <unicast|multicast> [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_instance_as_ipv4_soft_out,
clear_ip_bgp_instance_as_ipv4_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 <unicast|multicast> [soft] out",
+ "clear ip bgp <view|vrf> WORD (1-4294967295) ipv4 <unicast|multicast> [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_vpnv4_soft_out,
clear_ip_bgp_as_vpnv4_soft_out_cmd,
- "clear ip bgp " CMD_AS_RANGE " vpnv4 unicast [soft] out",
+ "clear ip bgp (1-4294967295) vpnv4 unicast [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_encap_soft_out,
clear_ip_bgp_as_encap_soft_out_cmd,
- "clear ip bgp " CMD_AS_RANGE " encap unicast [soft] out",
+ "clear ip bgp (1-4294967295) encap unicast [soft] out",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_bgp_as_soft_out,
clear_bgp_as_soft_out_cmd,
- "clear bgp [<view|vrf> WORD] [ipv6] " CMD_AS_RANGE " [soft] out",
+ "clear bgp [<view|vrf> WORD] [ipv6] (1-4294967295) [soft] out",
CLEAR_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (clear_ip_bgp_instance_all_ipv4_soft_in,
clear_ip_bgp_instance_all_ipv4_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * ipv4 <unicast|multicast> [soft] in",
+ "clear ip bgp <view|vrf> WORD * ipv4 <unicast|multicast> [soft] in",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_instance_peer_ipv4_soft_in,
clear_ip_bgp_instance_peer_ipv4_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " <A.B.C.D|WORD> ipv4 <unicast|multicast> [soft] in",
+ "clear ip bgp <view|vrf> WORD <A.B.C.D|WORD> ipv4 <unicast|multicast> [soft] in",
CLEAR_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft in",
+ * "clear ip bgp <view|vrf> WORD peer-group WORD soft in",
* CLEAR_STR
* IP_STR
* BGP_STR
* "BGP peer-group name\n"
* BGP_SOFT_IN_STR
*
- * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD in",
+ * "clear ip bgp <view|vrf> WORD peer-group WORD in",
* CLEAR_STR
* IP_STR
* BGP_STR
DEFUN (clear_ip_bgp_instance_peer_group_ipv4_soft_in,
clear_ip_bgp_instance_peer_group_ipv4_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 <unicast|multicast> [soft] in",
+ "clear ip bgp <view|vrf> WORD peer-group WORD ipv4 <unicast|multicast> [soft] in",
CLEAR_STR
IP_STR
BGP_STR
* "BGP peer-group name\n"
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft in",
+ * "clear bgp <view|vrf> WORD ipv6 peer-group WORD soft in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* BGP_SOFT_STR
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft in",
+ * "clear bgp <view|vrf> WORD peer-group WORD soft in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "BGP peer-group name\n"
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD in",
+ * "clear bgp <view|vrf> WORD peer-group WORD in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* BGP_SOFT_STR
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD in",
+ * "clear bgp <view|vrf> WORD ipv6 peer-group WORD in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Clear all external peers\n"
* BGP_SOFT_IN_STR
*
- * "clear ip bgp " BGP_INSTANCE_CMD " external in",
+ * "clear ip bgp <view|vrf> WORD external in",
* CLEAR_STR
* IP_STR
* BGP_STR
* "Clear all external peers\n"
* BGP_SOFT_IN_STR
*
- * "clear ip bgp " BGP_INSTANCE_CMD " external soft in",
+ * "clear ip bgp <view|vrf> WORD external soft in",
* CLEAR_STR
* IP_STR
* BGP_STR
DEFUN (clear_ip_bgp_instance_external_ipv4_soft_in,
clear_ip_bgp_instance_external_ipv4_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external ipv4 <unicast|multicast> [soft] in",
+ "clear ip bgp <view|vrf> WORD external ipv4 <unicast|multicast> [soft] in",
CLEAR_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear bgp " BGP_INSTANCE_CMD " external in",
+ * "clear bgp <view|vrf> WORD external in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Clear all external peers\n"
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft in",
+ * "clear bgp <view|vrf> WORD ipv6 external soft in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* BGP_SOFT_STR
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " external soft in",
+ * "clear bgp <view|vrf> WORD external soft in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* BGP_SOFT_STR
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 external WORD in",
+ * "clear bgp <view|vrf> WORD ipv6 external WORD in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear ip bgp " CMD_AS_RANGE " in",
+ * "clear ip bgp (1-4294967295) in",
* CLEAR_STR
* IP_STR
* BGP_STR
* "Clear peers with the AS number\n"
* BGP_SOFT_IN_STR
*
- * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " in",
+ * "clear ip bgp <view|vrf> WORD (1-4294967295) in",
* CLEAR_STR
* IP_STR
* BGP_STR
* "Clear peers with the AS number\n"
* BGP_SOFT_IN_STR
*
- * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft in",
+ * "clear ip bgp <view|vrf> WORD (1-4294967295) soft in",
* CLEAR_STR
* IP_STR
* BGP_STR
*/
DEFUN (clear_ip_bgp_as_soft_in,
clear_ip_bgp_as_soft_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " soft in",
+ "clear ip bgp (1-4294967295) soft in",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_in_prefix_filter,
clear_ip_bgp_as_in_prefix_filter_cmd,
- "clear ip bgp " CMD_AS_RANGE " in prefix-filter",
+ "clear ip bgp (1-4294967295) in prefix-filter",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_ipv4_soft_in,
clear_ip_bgp_as_ipv4_soft_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " ipv4 <unicast|multicast> [soft] in",
+ "clear ip bgp (1-4294967295) ipv4 <unicast|multicast> [soft] in",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_instance_as_ipv4_soft_in,
clear_ip_bgp_instance_as_ipv4_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 <unicast|multicast> [soft] in",
+ "clear ip bgp <view|vrf> WORD (1-4294967295) ipv4 <unicast|multicast> [soft] in",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_ipv4_in_prefix_filter,
clear_ip_bgp_as_ipv4_in_prefix_filter_cmd,
- "clear ip bgp " CMD_AS_RANGE " ipv4 <unicast|multicast> in prefix-filter",
+ "clear ip bgp (1-4294967295) ipv4 <unicast|multicast> in prefix-filter",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_vpnv4_soft_in,
clear_ip_bgp_as_vpnv4_soft_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " vpnv4 unicast [soft] in",
+ "clear ip bgp (1-4294967295) vpnv4 unicast [soft] in",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_encap_soft_in,
clear_ip_bgp_as_encap_soft_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " encap unicast [soft] in",
+ "clear ip bgp (1-4294967295) encap unicast [soft] in",
CLEAR_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear bgp ipv6 " CMD_AS_RANGE " in",
+ * "clear bgp ipv6 (1-4294967295) in",
* CLEAR_STR
* BGP_STR
* "Address family\n"
* "Clear peers with the AS number\n"
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " in",
+ * "clear bgp <view|vrf> WORD (1-4294967295) in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Clear peers with the AS number\n"
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " in",
+ * "clear bgp <view|vrf> WORD ipv6 (1-4294967295) in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Clear peers with the AS number\n"
* BGP_SOFT_IN_STR
*
- * "clear bgp ipv6 " CMD_AS_RANGE " soft in",
+ * "clear bgp ipv6 (1-4294967295) soft in",
* CLEAR_STR
* BGP_STR
* "Address family\n"
* BGP_SOFT_STR
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft in",
+ * "clear bgp <view|vrf> WORD (1-4294967295) soft in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* BGP_SOFT_STR
* BGP_SOFT_IN_STR
*
- * "clear bgp " CMD_AS_RANGE " in",
+ * "clear bgp (1-4294967295) in",
* CLEAR_STR
* BGP_STR
* "Clear peers with the AS number\n"
* BGP_SOFT_IN_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft in",
+ * "clear bgp <view|vrf> WORD ipv6 (1-4294967295) soft in",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
*/
DEFUN (clear_bgp_as_soft_in,
clear_bgp_as_soft_in_cmd,
- "clear bgp " CMD_AS_RANGE " soft in",
+ "clear bgp (1-4294967295) soft in",
CLEAR_STR
BGP_STR
"Clear peers with the AS number\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear bgp ipv6 " CMD_AS_RANGE " in prefix-filter",
+ * "clear bgp ipv6 (1-4294967295) in prefix-filter",
* CLEAR_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (clear_bgp_as_in_prefix_filter,
clear_bgp_as_in_prefix_filter_cmd,
- "clear bgp " CMD_AS_RANGE " in prefix-filter",
+ "clear bgp (1-4294967295) in prefix-filter",
CLEAR_STR
BGP_STR
"Clear peers with the AS number\n"
/* Both soft-reconfiguration */
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear ip bgp " BGP_INSTANCE_CMD " * soft",
+ * "clear ip bgp <view|vrf> WORD * soft",
* CLEAR_STR
* IP_STR
* BGP_STR
DEFUN (clear_ip_bgp_instance_all_ipv4_soft,
clear_ip_bgp_instance_all_ipv4_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * ipv4 <unicast|multicast> soft",
+ "clear ip bgp <view|vrf> WORD * ipv4 <unicast|multicast> soft",
CLEAR_STR
IP_STR
BGP_STR
* "Clear all peers\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " * soft",
+ * "clear bgp <view|vrf> WORD * soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Clear all peers\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 * soft",
+ * "clear bgp <view|vrf> WORD ipv6 * soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) soft",
+ * "clear ip bgp <view|vrf> WORD (A.B.C.D|WORD) soft",
* CLEAR_STR
* IP_STR
* BGP_STR
DEFUN (clear_ip_bgp_instance_peer_ipv4_soft,
clear_ip_bgp_instance_peer_ipv4_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " <A.B.C.D|WORD> ipv4 <unicast|multicast> soft",
+ "clear ip bgp <view|vrf> WORD <A.B.C.D|WORD> ipv4 <unicast|multicast> soft",
CLEAR_STR
IP_STR
BGP_STR
* "BGP neighbor on interface to clear\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) soft",
+ * "clear bgp <view|vrf> WORD ipv6 (A.B.C.D|X:X::X:X|WORD) soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "BGP neighbor on interface to clear\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) soft",
+ * "clear bgp <view|vrf> WORD (A.B.C.D|X:X::X:X|WORD) soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft",
+ * "clear ip bgp <view|vrf> WORD peer-group WORD soft",
* CLEAR_STR
* IP_STR
* BGP_STR
DEFUN (clear_ip_bgp_instance_peer_group_ipv4_soft,
clear_ip_bgp_instance_peer_group_ipv4_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 <unicast|multicast> soft",
+ "clear ip bgp <view|vrf> WORD peer-group WORD ipv4 <unicast|multicast> soft",
CLEAR_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft",
+ * "clear bgp <view|vrf> WORD ipv6 peer-group WORD soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "BGP peer-group name\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft",
+ * "clear bgp <view|vrf> WORD peer-group WORD soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear ip bgp " BGP_INSTANCE_CMD " external soft",
+ * "clear ip bgp <view|vrf> WORD external soft",
* CLEAR_STR
* IP_STR
* BGP_STR
DEFUN (clear_ip_bgp_instance_external_ipv4_soft,
clear_ip_bgp_instance_external_ipv4_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external ipv4 <unicast|multicast> soft",
+ "clear ip bgp <view|vrf> WORD external ipv4 <unicast|multicast> soft",
CLEAR_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear bgp " BGP_INSTANCE_CMD " external soft",
+ * "clear bgp <view|vrf> WORD external soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Clear all external peers\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft",
+ * "clear bgp <view|vrf> WORD ipv6 external soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft",
+ * "clear ip bgp <view|vrf> WORD (1-4294967295) soft",
* CLEAR_STR
* IP_STR
* BGP_STR
*/
DEFUN (clear_ip_bgp_as_soft,
clear_ip_bgp_as_soft_cmd,
- "clear ip bgp " CMD_AS_RANGE " soft",
+ "clear ip bgp (1-4294967295) soft",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_ipv4_soft,
clear_ip_bgp_as_ipv4_soft_cmd,
- "clear ip bgp " CMD_AS_RANGE " ipv4 <unicast|multicast> soft",
+ "clear ip bgp (1-4294967295) ipv4 <unicast|multicast> soft",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_instance_as_ipv4_soft,
clear_ip_bgp_instance_as_ipv4_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 <unicast|multicast> soft",
+ "clear ip bgp <view|vrf> WORD (1-4294967295) ipv4 <unicast|multicast> soft",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_vpnv4_soft,
clear_ip_bgp_as_vpnv4_soft_cmd,
- "clear ip bgp " CMD_AS_RANGE " vpnv4 unicast soft",
+ "clear ip bgp (1-4294967295) vpnv4 unicast soft",
CLEAR_STR
IP_STR
BGP_STR
DEFUN (clear_ip_bgp_as_encap_soft,
clear_ip_bgp_as_encap_soft_cmd,
- "clear ip bgp " CMD_AS_RANGE " encap unicast soft",
+ "clear ip bgp (1-4294967295) encap unicast soft",
CLEAR_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "clear bgp ipv6 " CMD_AS_RANGE " soft",
+ * "clear bgp ipv6 (1-4294967295) soft",
* CLEAR_STR
* BGP_STR
* "Address family\n"
* "Clear peers with the AS number\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft",
+ * "clear bgp <view|vrf> WORD ipv6 (1-4294967295) soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Clear peers with the AS number\n"
* BGP_SOFT_STR
*
- * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft",
+ * "clear bgp <view|vrf> WORD (1-4294967295) soft",
* CLEAR_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
*/
DEFUN (clear_bgp_as_soft,
clear_bgp_as_soft_cmd,
- "clear bgp " CMD_AS_RANGE " soft",
+ "clear bgp (1-4294967295) soft",
CLEAR_STR
BGP_STR
"Clear peers with the AS number\n"
DEFUN (show_ip_bgp_instance_summary,
show_ip_bgp_instance_summary_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " summary [json]",
+ "show ip bgp <view|vrf> WORD summary [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_instance_all_summary,
show_ip_bgp_instance_all_summary_cmd,
- "show ip bgp " BGP_INSTANCE_ALL_CMD " summary [json]",
+ "show ip bgp <view|vrf> all summary [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp " BGP_INSTANCE_CMD " ipv6 summary [json]",
+ * "show bgp <view|vrf> WORD ipv6 summary [json]",
* SHOW_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
*/
DEFUN (show_bgp_instance_summary,
show_bgp_instance_summary_cmd,
- "show bgp " BGP_INSTANCE_CMD " summary [json]",
+ "show bgp <view|vrf> WORD summary [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (show_bgp_instance_all_summary,
show_bgp_instance_all_summary_cmd,
- "show bgp " BGP_INSTANCE_ALL_CMD " summary [json]",
+ "show bgp <view|vrf> all summary [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_ALL_HELP_STR
DEFUN (show_bgp_instance_ipv6_safi_summary,
show_bgp_instance_ipv6_safi_summary_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 <unicast|multicast> summary [json]",
+ "show bgp <view|vrf> WORD ipv6 <unicast|multicast> summary [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp " BGP_INSTANCE_CMD " neighbors [json]",
+ * "show bgp <view|vrf> WORD neighbors [json]",
* SHOW_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
* "JavaScript Object Notation\n"
*
- * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors [json]",
+ * "show bgp <view|vrf> WORD ipv6 neighbors [json]",
* SHOW_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
*/
DEFUN (show_ip_bgp_instance_neighbors,
show_ip_bgp_instance_neighbors_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " neighbors [json]",
+ "show ip bgp <view|vrf> WORD neighbors [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_instance_all_neighbors,
show_ip_bgp_instance_all_neighbors_cmd,
- "show ip bgp " BGP_INSTANCE_ALL_CMD " neighbors [json]",
+ "show ip bgp <view|vrf> all neighbors [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* 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) [json]",
+ * "show bgp <view|vrf> WORD ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
* SHOW_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Neighbor on bgp configured interface\n"
* "JavaScript Object Notation\n"
*
- * "show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
+ * "show bgp <view|vrf> WORD neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
* SHOW_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
*/
DEFUN (show_ip_bgp_instance_neighbors_peer,
show_ip_bgp_instance_neighbors_peer_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " neighbors <A.B.C.D|X:X::X:X|WORD> [json]",
+ "show ip bgp <view|vrf> WORD neighbors <A.B.C.D|X:X::X:X|WORD> [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_instance_updgrps,
show_ip_bgp_instance_updgrps_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " update-groups",
+ "show ip bgp <view|vrf> WORD update-groups",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_instance_all_updgrps,
show_ip_bgp_instance_all_updgrps_cmd,
- "show ip bgp " BGP_INSTANCE_ALL_CMD " update-groups",
+ "show ip bgp <view|vrf> all update-groups",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_instance_ipv6_updgrps,
show_bgp_instance_ipv6_updgrps_cmd,
- "show bgp " BGP_INSTANCE_CMD " update-groups",
+ "show bgp <view|vrf> WORD update-groups",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (show_bgp_instance_all_ipv6_updgrps,
show_bgp_instance_all_ipv6_updgrps_cmd,
- "show bgp " BGP_INSTANCE_ALL_CMD " update-groups",
+ "show bgp <view|vrf> all update-groups",
SHOW_STR
BGP_STR
BGP_INSTANCE_ALL_HELP_STR
DEFUN (show_ip_bgp_instance_updgrps_s,
show_ip_bgp_instance_updgrps_s_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " update-groups SUBGROUP-ID",
+ "show ip bgp <view|vrf> WORD update-groups SUBGROUP-ID",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_instance_ipv6_updgrps_s,
show_bgp_instance_ipv6_updgrps_s_cmd,
- "show bgp " BGP_INSTANCE_CMD " update-groups SUBGROUP-ID",
+ "show bgp <view|vrf> WORD update-groups SUBGROUP-ID",
SHOW_STR
BGP_STR
"Detailed info about v6 dynamic update groups\n"
DEFUN (show_bgp_instance_updgrps_stats,
show_bgp_instance_updgrps_stats_cmd,
- "show bgp " BGP_INSTANCE_CMD " update-groups statistics",
+ "show bgp <view|vrf> WORD update-groups statistics",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (show_ip_bgp_instance_updgrps_adj,
show_ip_bgp_instance_updgrps_adj_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " update-groups <advertise-queue|advertised-routes|packet-queue>",
+ "show ip bgp <view|vrf> WORD update-groups <advertise-queue|advertised-routes|packet-queue>",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_instance_updgrps_adj,
show_bgp_instance_updgrps_adj_cmd,
- "show bgp " BGP_INSTANCE_CMD " update-groups <advertise-queue|advertised-routes|packet-queue>",
+ "show bgp <view|vrf> WORD update-groups <advertise-queue|advertised-routes|packet-queue>",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (show_ip_bgp_instance_updgrps_adj_s,
show_ip_bgp_instance_updgrps_adj_s_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " update-groups SUBGROUP-ID <advertise-queue|advertised-routes|packet-queue>",
+ "show ip bgp <view|vrf> WORD update-groups SUBGROUP-ID <advertise-queue|advertised-routes|packet-queue>",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_instance_updgrps_adj_s,
show_bgp_instance_updgrps_adj_s_cmd,
- "show bgp " BGP_INSTANCE_CMD " update-groups SUBGROUP-ID <advertise-queue|advertised-routes|packet-queue>",
+ "show bgp <view|vrf> WORD update-groups SUBGROUP-ID <advertise-queue|advertised-routes|packet-queue>",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (show_ip_bgp_instance_peer_groups,
show_ip_bgp_instance_peer_groups_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " peer-group",
+ "show ip bgp <view|vrf> WORD peer-group",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_instance_peer_group,
show_ip_bgp_instance_peer_group_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " peer-group WORD",
+ "show ip bgp <view|vrf> WORD peer-group WORD",
SHOW_STR
IP_STR
BGP_STR
DEFUN (bgp_redistribute_ipv4,
bgp_redistribute_ipv4_cmd,
- "redistribute " QUAGGA_IP_REDIST_STR_BGPD,
+ "redistribute <kernel|connected|static|rip|ospf|isis|pim|table>",
"Redistribute information from another routing protocol\n"
QUAGGA_IP_REDIST_HELP_STR_BGPD)
{
DEFUN (bgp_redistribute_ipv4_rmap,
bgp_redistribute_ipv4_rmap_cmd,
- "redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD",
+ "redistribute <kernel|connected|static|rip|ospf|isis|pim|table> route-map WORD",
"Redistribute information from another routing protocol\n"
QUAGGA_IP_REDIST_HELP_STR_BGPD
"Route map reference\n"
DEFUN (bgp_redistribute_ipv4_metric,
bgp_redistribute_ipv4_metric_cmd,
- "redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric (0-4294967295)",
+ "redistribute <kernel|connected|static|rip|ospf|isis|pim|table> metric (0-4294967295)",
"Redistribute information from another routing protocol\n"
QUAGGA_IP_REDIST_HELP_STR_BGPD
"Metric for redistributed routes\n"
DEFUN (bgp_redistribute_ipv4_rmap_metric,
bgp_redistribute_ipv4_rmap_metric_cmd,
- "redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD metric (0-4294967295)",
+ "redistribute <kernel|connected|static|rip|ospf|isis|pim|table> route-map WORD metric (0-4294967295)",
"Redistribute information from another routing protocol\n"
QUAGGA_IP_REDIST_HELP_STR_BGPD
"Route map reference\n"
DEFUN (bgp_redistribute_ipv4_metric_rmap,
bgp_redistribute_ipv4_metric_rmap_cmd,
- "redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric (0-4294967295) route-map WORD",
+ "redistribute <kernel|connected|static|rip|ospf|isis|pim|table> metric (0-4294967295) route-map WORD",
"Redistribute information from another routing protocol\n"
QUAGGA_IP_REDIST_HELP_STR_BGPD
"Metric for redistributed routes\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric <0-4294967295> route-map WORD",
+ * "no redistribute <kernel|connected|static|rip|ospf|isis|pim|table> metric <0-4294967295> route-map WORD",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP_REDIST_HELP_STR_BGPD
* "Route map reference\n"
* "Pointer to route-map entries\n"
*
- * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD",
+ * "no redistribute <kernel|connected|static|rip|ospf|isis|pim|table> route-map WORD",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP_REDIST_HELP_STR_BGPD
* "Route map reference\n"
* "Pointer to route-map entries\n"
*
- * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD metric <0-4294967295>",
+ * "no redistribute <kernel|connected|static|rip|ospf|isis|pim|table> route-map WORD metric <0-4294967295>",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP_REDIST_HELP_STR_BGPD
* "Metric for redistributed routes\n"
* "Default metric\n"
*
- * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric <0-4294967295>",
+ * "no redistribute <kernel|connected|static|rip|ospf|isis|pim|table> metric <0-4294967295>",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP_REDIST_HELP_STR_BGPD
*/
DEFUN (no_bgp_redistribute_ipv4,
no_bgp_redistribute_ipv4_cmd,
- "no redistribute " QUAGGA_IP_REDIST_STR_BGPD,
+ "no redistribute <kernel|connected|static|rip|ospf|isis|pim|table>",
NO_STR
"Redistribute information from another routing protocol\n"
QUAGGA_IP_REDIST_HELP_STR_BGPD)
#ifdef HAVE_IPV6
DEFUN (bgp_redistribute_ipv6,
bgp_redistribute_ipv6_cmd,
- "redistribute " QUAGGA_IP6_REDIST_STR_BGPD,
+ "redistribute <kernel|connected|static|ripng|ospf6|isis|table>",
"Redistribute information from another routing protocol\n"
QUAGGA_IP6_REDIST_HELP_STR_BGPD)
{
DEFUN (bgp_redistribute_ipv6_rmap,
bgp_redistribute_ipv6_rmap_cmd,
- "redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD",
+ "redistribute <kernel|connected|static|ripng|ospf6|isis|table> route-map WORD",
"Redistribute information from another routing protocol\n"
QUAGGA_IP6_REDIST_HELP_STR_BGPD
"Route map reference\n"
DEFUN (bgp_redistribute_ipv6_metric,
bgp_redistribute_ipv6_metric_cmd,
- "redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric (0-4294967295)",
+ "redistribute <kernel|connected|static|ripng|ospf6|isis|table> metric (0-4294967295)",
"Redistribute information from another routing protocol\n"
QUAGGA_IP6_REDIST_HELP_STR_BGPD
"Metric for redistributed routes\n"
DEFUN (bgp_redistribute_ipv6_rmap_metric,
bgp_redistribute_ipv6_rmap_metric_cmd,
- "redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD metric (0-4294967295)",
+ "redistribute <kernel|connected|static|ripng|ospf6|isis|table> route-map WORD metric (0-4294967295)",
"Redistribute information from another routing protocol\n"
QUAGGA_IP6_REDIST_HELP_STR_BGPD
"Route map reference\n"
DEFUN (bgp_redistribute_ipv6_metric_rmap,
bgp_redistribute_ipv6_metric_rmap_cmd,
- "redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric (0-4294967295) route-map WORD",
+ "redistribute <kernel|connected|static|ripng|ospf6|isis|table> metric (0-4294967295) route-map WORD",
"Redistribute information from another routing protocol\n"
QUAGGA_IP6_REDIST_HELP_STR_BGPD
"Metric for redistributed routes\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD",
+ * "no redistribute <kernel|connected|static|ripng|ospf6|isis|table> route-map WORD",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP6_REDIST_HELP_STR_BGPD
* "Route map reference\n"
* "Pointer to route-map entries\n"
*
- * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD metric <0-4294967295>",
+ * "no redistribute <kernel|connected|static|ripng|ospf6|isis|table> route-map WORD metric <0-4294967295>",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP6_REDIST_HELP_STR_BGPD
* "Metric for redistributed routes\n"
* "Default metric\n"
*
- * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric <0-4294967295> route-map WORD",
+ * "no redistribute <kernel|connected|static|ripng|ospf6|isis|table> metric <0-4294967295> route-map WORD",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP6_REDIST_HELP_STR_BGPD
* "Route map reference\n"
* "Pointer to route-map entries\n"
*
- * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric <0-4294967295>",
+ * "no redistribute <kernel|connected|static|ripng|ospf6|isis|table> metric <0-4294967295>",
* NO_STR
* "Redistribute information from another routing protocol\n"
* QUAGGA_IP6_REDIST_HELP_STR_BGPD
*/
DEFUN (no_bgp_redistribute_ipv6,
no_bgp_redistribute_ipv6_cmd,
- "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD,
+ "no redistribute <kernel|connected|static|ripng|ospf6|isis|table>",
NO_STR
"Redistribute information from another routing protocol\n"
QUAGGA_IP6_REDIST_HELP_STR_BGPD)
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"
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"
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"
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)
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"
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)
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
)
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"
/*
* 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
*/
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
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"
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"
/*
* 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"
/*
* 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"
* 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"
* "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"
* "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"
/*
* 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"
* "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"
* 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"
* "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"
/*
* 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"
*/
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"
/*
* 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"
*/
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"
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"
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
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
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"
DEFUN (ip_multicast_routing,
ip_multicast_routing_cmd,
- PIM_CMD_IP_MULTICAST_ROUTING,
+ "ip multicast-routing",
IP_STR
"Enable IP multicast forwarding\n")
{
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"
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
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
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
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
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
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
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)
{
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)
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"
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
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"
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
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"
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
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)
{
/*
* 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
*/
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)
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"
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"
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"
Usage:
argv_translator.py rebuild-defuns [<text>]
- argv_translator.py idx-logic <wildcard>
Help:
rebuild-defuns : foo
return indexes
-def get_idx_logic(wildcard):
- # dwalton
- return None
-
-
def expand_command_string(line):
# in the middle
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
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')
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)
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'
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)
filename = filename.strip()
print "crunching %s" % filename
update_argvs(filename)
- elif cli.get('idx-logic'):
- print get_idx_logic(cli.args.get('<wildcard>'))
/* 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
/* 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)
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"
*/
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"
/*
* 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"
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"
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
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"
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
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"
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
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"
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
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"
/* 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"
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"
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"
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"
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"
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"
/* 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"
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"
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"
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"
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"
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"
/* 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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
}
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
/*
* 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"
/*
* 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"
*/
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"