/* BGP route print out function. */
DEFUN (show_ip_bgp,
show_ip_bgp_cmd,
- "show ip bgp {json}",
+ "show ip bgp [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv4 (unicast|multicast) {json}",
+ * "show bgp ipv4 (unicast|multicast) [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_ip_bgp_ipv4,
show_ip_bgp_ipv4_cmd,
- "show ip bgp ipv4 (unicast|multicast) {json}",
+ "show ip bgp ipv4 (unicast|multicast) [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_route,
show_ip_bgp_route_cmd,
- "show ip bgp A.B.C.D {json}",
+ "show ip bgp A.B.C.D [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_route_pathtype,
show_ip_bgp_route_pathtype_cmd,
- "show ip bgp A.B.C.D (bestpath|multipath) {json}",
+ "show ip bgp A.B.C.D (bestpath|multipath) [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_ipv4_safi_route_pathtype,
show_bgp_ipv4_safi_route_pathtype_cmd,
- "show bgp ipv4 (unicast|multicast) A.B.C.D (bestpath|multipath) {json}",
+ "show bgp ipv4 (unicast|multicast) A.B.C.D (bestpath|multipath) [json]",
SHOW_STR
BGP_STR
"Address family\n"
DEFUN (show_bgp_ipv4_prefix,
show_bgp_ipv4_prefix_cmd,
- "show bgp ipv4 A.B.C.D/M {json}",
+ "show bgp ipv4 A.B.C.D/M [json]",
SHOW_STR
BGP_STR
IP_STR
DEFUN (show_bgp_ipv6_route,
show_bgp_ipv6_route_cmd,
- "show bgp ipv6 X:X::X:X {JSON}",
+ "show bgp ipv6 X:X::X:X [json]",
SHOW_STR
BGP_STR
"Address family\n"
DEFUN (show_bgp_ipv6_prefix,
show_bgp_ipv6_prefix_cmd,
- "show bgp ipv6 X:X::X:X/M {json}",
+ "show bgp ipv6 X:X::X:X/M [json]",
SHOW_STR
BGP_STR
IP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv4 (unicast|multicast) A.B.C.D {json}",
+ * "show bgp ipv4 (unicast|multicast) A.B.C.D [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_ip_bgp_ipv4_route,
show_ip_bgp_ipv4_route_cmd,
- "show ip bgp ipv4 (unicast|multicast) A.B.C.D {json}",
+ "show ip bgp ipv4 (unicast|multicast) A.B.C.D [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_vpnv4_all_route,
show_ip_bgp_vpnv4_all_route_cmd,
- "show ip bgp vpnv4 all A.B.C.D {json}",
+ "show ip bgp vpnv4 all A.B.C.D [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_ipv4_vpn_route,
show_bgp_ipv4_vpn_route_cmd,
- "show bgp ipv4 vpn A.B.C.D {json}",
+ "show bgp ipv4 vpn A.B.C.D [json]",
SHOW_STR
BGP_STR
"Address Family\n"
DEFUN (show_bgp_ipv6_vpn_route,
show_bgp_ipv6_vpn_route_cmd,
- "show bgp ipv6 vpn X:X::X:X {json}",
+ "show bgp ipv6 vpn X:X::X:X [json]",
SHOW_STR
BGP_STR
"Address Family\n"
DEFUN (show_bgp_ipv4_vpn_rd_route,
show_bgp_ipv4_vpn_rd_route_cmd,
- "show bgp ipv4 vpn rd ASN:nn_or_IP-address:nn A.B.C.D {json}",
+ "show bgp ipv4 vpn rd ASN:nn_or_IP-address:nn A.B.C.D [json]",
SHOW_STR
BGP_STR
IP_STR
DEFUN (show_bgp_ipv6_vpn_rd_route,
show_bgp_ipv6_vpn_rd_route_cmd,
- "show bgp ipv6 vpn rd ASN:nn_or_IP-address:nn X:X::X:X {json}",
+ "show bgp ipv6 vpn rd ASN:nn_or_IP-address:nn X:X::X:X [json]",
SHOW_STR
BGP_STR
"Address Family\n"
DEFUN (show_ip_bgp_vpnv4_rd_route,
show_ip_bgp_vpnv4_rd_route_cmd,
- "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn A.B.C.D {json}",
+ "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn A.B.C.D [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_prefix,
show_ip_bgp_prefix_cmd,
- "show ip bgp A.B.C.D/M {json}",
+ "show ip bgp A.B.C.D/M [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_prefix_pathtype,
show_ip_bgp_prefix_pathtype_cmd,
- "show ip bgp A.B.C.D/M (bestpath|multipath) {json}",
+ "show ip bgp 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 ipv4 (unicast|multicast) A.B.C.D/M {json}",
+ * "show bgp ipv4 (unicast|multicast) A.B.C.D/M [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_ip_bgp_ipv4_prefix,
show_ip_bgp_ipv4_prefix_cmd,
- "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M {json}",
+ "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv4 (unicast|multicast) A.B.C.D/M (bestpath|multipath) {json}",
+ * "show bgp ipv4 (unicast|multicast) A.B.C.D/M (bestpath|multipath) [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_ip_bgp_ipv4_prefix_pathtype,
show_ip_bgp_ipv4_prefix_pathtype_cmd,
- "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M (bestpath|multipath) {json}",
+ "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M (bestpath|multipath) [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_vpnv4_all_prefix,
show_ip_bgp_vpnv4_all_prefix_cmd,
- "show ip bgp vpnv4 all A.B.C.D/M {json}",
+ "show ip bgp vpnv4 all A.B.C.D/M [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_vpnv4_rd_prefix,
show_ip_bgp_vpnv4_rd_prefix_cmd,
- "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn A.B.C.D/M {json}",
+ "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn A.B.C.D/M [json]",
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 " BGP_INSTANCE_CMD " [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 " BGP_INSTANCE_ALL_CMD " [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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " A.B.C.D/M (bestpath|multipath) [json]",
SHOW_STR
IP_STR
BGP_STR
#ifdef HAVE_IPV6
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv6 {json}",
+ * "show bgp ipv6 [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_bgp,
show_bgp_cmd,
- "show bgp {json}",
+ "show bgp [json]",
SHOW_STR
BGP_STR
"JavaScript Object Notation\n")
DEFUN (show_bgp_ipv6_safi,
show_bgp_ipv6_safi_cmd,
- "show bgp ipv6 (unicast|multicast) {json}",
+ "show bgp ipv6 (unicast|multicast) [json]",
SHOW_STR
BGP_STR
"Address family\n"
/* old command */
DEFUN (show_ipv6_bgp,
show_ipv6_bgp_cmd,
- "show ipv6 bgp {json}",
+ "show ipv6 bgp [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_route,
show_bgp_route_cmd,
- "show bgp X:X::X:X {json}",
+ "show bgp X:X::X:X [json]",
SHOW_STR
BGP_STR
"Network in the BGP routing table to display\n"
DEFUN (show_bgp_ipv6_safi_route,
show_bgp_ipv6_safi_route_cmd,
- "show bgp ipv6 (unicast|multicast) X:X::X:X {json}",
+ "show bgp ipv6 (unicast|multicast) X:X::X:X [json]",
SHOW_STR
BGP_STR
"Address family\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv6 X:X::X:X (bestpath|multipath) {json}",
+ * "show bgp ipv6 X:X::X:X (bestpath|multipath) [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_bgp_route_pathtype,
show_bgp_route_pathtype_cmd,
- "show bgp X:X::X:X (bestpath|multipath) {json}",
+ "show bgp X:X::X:X (bestpath|multipath) [json]",
SHOW_STR
BGP_STR
"Network in the BGP routing table to display\n"
DEFUN (show_bgp_ipv6_safi_route_pathtype,
show_bgp_ipv6_safi_route_pathtype_cmd,
- "show bgp ipv6 (unicast|multicast) X:X::X:X (bestpath|multipath) {json}",
+ "show bgp ipv6 (unicast|multicast) X:X::X:X (bestpath|multipath) [json]",
SHOW_STR
BGP_STR
"Address family\n"
/* old command */
DEFUN (show_ipv6_bgp_route,
show_ipv6_bgp_route_cmd,
- "show ipv6 bgp X:X::X:X {json}",
+ "show ipv6 bgp X:X::X:X [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_prefix,
show_bgp_prefix_cmd,
- "show bgp X:X::X:X/M {json}",
+ "show bgp X:X::X:X/M [json]",
SHOW_STR
BGP_STR
"IPv6 prefix <network>/<length>\n"
DEFUN (show_bgp_ipv6_safi_prefix,
show_bgp_ipv6_safi_prefix_cmd,
- "show bgp ipv6 (unicast|multicast) X:X::X:X/M {json}",
+ "show bgp ipv6 (unicast|multicast) X:X::X:X/M [json]",
SHOW_STR
BGP_STR
"Address family\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv6 X:X::X:X/M (bestpath|multipath) {json}",
+ * "show bgp ipv6 X:X::X:X/M (bestpath|multipath) [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_bgp_prefix_pathtype,
show_bgp_prefix_pathtype_cmd,
- "show bgp X:X::X:X/M (bestpath|multipath) {json}",
+ "show bgp X:X::X:X/M (bestpath|multipath) [json]",
SHOW_STR
BGP_STR
"IPv6 prefix <network>/<length>\n"
DEFUN (show_bgp_ipv6_safi_prefix_pathtype,
show_bgp_ipv6_safi_prefix_pathtype_cmd,
- "show bgp ipv6 (unicast|multicast) X:X::X:X/M (bestpath|multipath) {json}",
+ "show bgp ipv6 (unicast|multicast) X:X::X:X/M (bestpath|multipath) [json]",
SHOW_STR
BGP_STR
"Address family\n"
/* old command */
DEFUN (show_ipv6_bgp_prefix,
show_ipv6_bgp_prefix_cmd,
- "show ipv6 bgp X:X::X:X/M {json}",
+ "show ipv6 bgp X:X::X:X/M [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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " [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 " BGP_INSTANCE_ALL_CMD " [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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " X:X::X:X/M (bestpath|multipath) [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
/* old command */
DEFUN (show_ipv6_mbgp,
show_ipv6_mbgp_cmd,
- "show ipv6 mbgp {json}",
+ "show ipv6 mbgp [json]",
SHOW_STR
IP_STR
MBGP_STR
/* old command */
DEFUN (show_ipv6_mbgp_route,
show_ipv6_mbgp_route_cmd,
- "show ipv6 mbgp X:X::X:X {json}",
+ "show ipv6 mbgp X:X::X:X [json]",
SHOW_STR
IP_STR
MBGP_STR
/* old command */
DEFUN (show_ipv6_mbgp_prefix,
show_ipv6_mbgp_prefix_cmd,
- "show ipv6 mbgp X:X::X:X/M {json}",
+ "show ipv6 mbgp X:X::X:X/M [json]",
SHOW_STR
IP_STR
MBGP_STR
DEFUN (show_ip_bgp_neighbor_prefix_counts,
show_ip_bgp_neighbor_prefix_counts_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts [json]",
SHOW_STR
IP_STR
BGP_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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_ipv6_neighbor_prefix_counts,
show_bgp_ipv6_neighbor_prefix_counts_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts {json}",
+ "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts [json]",
SHOW_STR
BGP_STR
"Address family\n"
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 " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
DEFUN (show_ip_bgp_ipv4_neighbor_prefix_counts,
show_ip_bgp_ipv4_neighbor_prefix_counts_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts {json}",
+ "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_vpnv4_neighbor_prefix_counts,
show_ip_bgp_vpnv4_neighbor_prefix_counts_cmd,
- "show ip bgp vpnv4 all neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts {json}",
+ "show ip bgp vpnv4 all neighbors (A.B.C.D|X:X::X:X|WORD) prefix-counts [json]",
SHOW_STR
IP_STR
BGP_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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD {json}",
+ * "show ip bgp 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_neighbor_advertised_route,
show_ip_bgp_neighbor_advertised_route_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD {json}",
+ * "show ip bgp ipv4 (unicast|multicast) 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_ipv4_neighbor_advertised_route,
show_ip_bgp_ipv4_neighbor_advertised_route_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ "show ip bgp ipv4 (unicast|multicast) 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
* "Display the routes advertised to a BGP neighbor\n"
* "JavaScript Object Notation\n"
*
- * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
* SHOW_STR
* IPV6_STR
* BGP_STR
*/
DEFUN (show_bgp_neighbor_advertised_route,
show_bgp_neighbor_advertised_route_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
SHOW_STR
BGP_STR
"Detailed information on TCP and BGP neighbor connections\n"
/* old command */
DEFUN (ipv6_mbgp_neighbor_advertised_route,
ipv6_mbgp_neighbor_advertised_route_cmd,
- "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes [json]",
SHOW_STR
IPV6_STR
MBGP_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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD {json}",
+ * "show ip bgp 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_neighbor_received_routes,
show_ip_bgp_neighbor_received_routes_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD {json}",
+ * "show ip bgp ipv4 (unicast|multicast) 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_ipv4_neighbor_received_routes,
show_ip_bgp_ipv4_neighbor_received_routes_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ "show ip bgp ipv4 (unicast|multicast) 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 " BGP_INSTANCE_CMD " (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
DEFUN (show_ip_bgp_neighbor_received_prefix_filter,
show_ip_bgp_neighbor_received_prefix_filter_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_ipv4_neighbor_received_prefix_filter,
show_ip_bgp_ipv4_neighbor_received_prefix_filter_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
+ "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter [json]",
SHOW_STR
IP_STR
BGP_STR
#ifdef HAVE_IPV6
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
* "Display the received routes from neighbor\n"
* "JavaScript Object Notation\n"
*
- * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
* SHOW_STR
* IPV6_STR
* BGP_STR
*/
DEFUN (show_bgp_neighbor_received_routes,
show_bgp_neighbor_received_routes_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
SHOW_STR
BGP_STR
"Detailed information on TCP and BGP neighbor connections\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_bgp_neighbor_received_prefix_filter,
show_bgp_neighbor_received_prefix_filter_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
+ "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter [json]",
SHOW_STR
BGP_STR
"Detailed information on TCP and BGP neighbor connections\n"
/* old command */
DEFUN (ipv6_mbgp_neighbor_received_routes,
ipv6_mbgp_neighbor_received_routes_cmd,
- "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes [json]",
SHOW_STR
IPV6_STR
MBGP_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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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_neighbor_routes,
show_ip_bgp_neighbor_routes_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
SHOW_STR
IP_STR
BGP_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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_neighbor_flap,
show_ip_bgp_neighbor_flap_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_neighbor_damp,
show_ip_bgp_neighbor_damp_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_ipv4_neighbor_routes,
show_ip_bgp_ipv4_neighbor_routes_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ "show ip bgp ipv4 (unicast|multicast) 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
+ * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes [json]",
* SHOW_STR
* BGP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
* "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 " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes [json]",
* SHOW_STR
* BGP_STR
* BGP_INSTANCE_HELP_STR
* "Display the dampened routes received from neighbor\n"
* "JavaScript Object Notation\n"
*
- * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
+ * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics [json]",
* SHOW_STR
* BGP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
* "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 " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics [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 ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
* SHOW_STR
* IPV6_STR
* BGP_STR
* "Display routes learned from neighbor\n"
* "JavaScript Object Notation\n"
*
- * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_bgp_neighbor_routes,
show_bgp_neighbor_routes_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
SHOW_STR
BGP_STR
"Detailed information on TCP and BGP neighbor connections\n"
/* old command */
DEFUN (ipv6_mbgp_neighbor_routes,
ipv6_mbgp_neighbor_routes_cmd,
- "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X|WORD) routes [json]",
SHOW_STR
IPV6_STR
MBGP_STR
DEFUN (show_bgp_vrfs,
show_bgp_vrfs_cmd,
- "show bgp vrfs {json}",
+ "show bgp vrfs [json]",
SHOW_STR
BGP_STR
"Show BGP VRFs\n"
/* `show ip bgp summary' commands. */
DEFUN (show_ip_bgp_summary,
show_ip_bgp_summary_cmd,
- "show ip bgp summary {json}",
+ "show ip bgp summary [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_instance_summary,
show_ip_bgp_instance_summary_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " summary {json}",
+ "show ip bgp " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_ALL_CMD " summary [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv4 (unicast|multicast) summary {json}",
+ * "show bgp ipv4 (unicast|multicast) summary [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_ip_bgp_ipv4_summary,
show_ip_bgp_ipv4_summary_cmd,
- "show ip bgp ipv4 (unicast|multicast) summary {json}",
+ "show ip bgp ipv4 (unicast|multicast) summary [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_bgp_ipv4_vpn_summary,
show_bgp_ipv4_vpn_summary_cmd,
- "show bgp ipv4 vpn summary {json}",
+ "show bgp ipv4 vpn summary [json]",
SHOW_STR
BGP_STR
"IPv4\n"
/* `show ip bgp summary' commands. */
DEFUN (show_bgp_ipv6_vpn_summary,
show_bgp_ipv6_vpn_summary_cmd,
- "show bgp ipv6 vpn summary {json}",
+ "show bgp ipv6 vpn summary [json]",
SHOW_STR
BGP_STR
"IPv6\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp view WORD ipv4 (unicast|multicast) summary {json}",
+ * "show bgp view WORD ipv4 (unicast|multicast) summary [json]",
* SHOW_STR
* BGP_STR
* "BGP view\n"
*/
DEFUN (show_ip_bgp_instance_ipv4_summary,
show_ip_bgp_instance_ipv4_summary_cmd,
- "show ip bgp view WORD ipv4 (unicast|multicast) summary {json}",
+ "show ip bgp view WORD ipv4 (unicast|multicast) summary [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_vpnv4_all_summary,
show_ip_bgp_vpnv4_all_summary_cmd,
- "show ip bgp vpnv4 all summary {json}",
+ "show ip bgp vpnv4 all summary [json]",
SHOW_STR
IP_STR
BGP_STR
DEFUN (show_ip_bgp_vpnv4_rd_summary,
show_ip_bgp_vpnv4_rd_summary_cmd,
- "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn summary {json}",
+ "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn summary [json]",
SHOW_STR
IP_STR
BGP_STR
#ifdef HAVE_IPV6
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp ipv6 summary {json}",
+ * "show bgp ipv6 summary [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_bgp_summary,
show_bgp_summary_cmd,
- "show bgp summary {json}",
+ "show bgp summary [json]",
SHOW_STR
BGP_STR
"Summary of BGP neighbor status\n"
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp " BGP_INSTANCE_CMD " ipv6 summary {json}",
+ * "show bgp " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_ALL_CMD " summary [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_ALL_HELP_STR
DEFUN (show_bgp_ipv6_safi_summary,
show_bgp_ipv6_safi_summary_cmd,
- "show bgp ipv6 (unicast|multicast) summary {json}",
+ "show bgp ipv6 (unicast|multicast) summary [json]",
SHOW_STR
BGP_STR
"Address family\n"
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 " BGP_INSTANCE_CMD " ipv6 (unicast|multicast) summary [json]",
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
/* old command */
DEFUN (show_ipv6_bgp_summary,
show_ipv6_bgp_summary_cmd,
- "show ipv6 bgp summary {json}",
+ "show ipv6 bgp summary [json]",
SHOW_STR
IPV6_STR
BGP_STR
/* old command */
DEFUN (show_ipv6_mbgp_summary,
show_ipv6_mbgp_summary_cmd,
- "show ipv6 mbgp summary {json}",
+ "show ipv6 mbgp summary [json]",
SHOW_STR
IPV6_STR
MBGP_STR
/* "show ip bgp neighbors" commands. */
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors {json}",
+ * "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors [json]",
* SHOW_STR
* IP_STR
* BGP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
* "JavaScript Object Notation\n"
*
- * "show bgp neighbors {json}",
+ * "show bgp neighbors [json]",
* SHOW_STR
* BGP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
* "JavaScript Object Notation\n"
*
- * "show ip bgp vpnv4 all neighbors {json}",
+ * "show ip bgp vpnv4 all neighbors [json]",
* SHOW_STR
* IP_STR
* BGP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
* "JavaScript Object Notation\n"
*
- * "show ip bgp ipv4 (unicast|multicast) neighbors {json}",
+ * "show ip bgp ipv4 (unicast|multicast) neighbors [json]",
* SHOW_STR
* IP_STR
* BGP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
* "JavaScript Object Notation\n"
*
- * "show bgp ipv6 neighbors {json}",
+ * "show bgp ipv6 neighbors [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
*/
DEFUN (show_ip_bgp_neighbors,
show_ip_bgp_neighbors_cmd,
- "show ip bgp neighbors {json}",
+ "show ip bgp neighbors [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
* SHOW_STR
* IP_STR
* BGP_STR
* "Neighbor on bgp configured interface\n"
* "JavaScript Object Notation\n"
*
- * "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors A.B.C.D {json}",
+ * "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors A.B.C.D [json]",
* SHOW_STR
* IP_STR
* BGP_STR
* "Neighbor to display information about\n"
* "JavaScript Object Notation\n"
*
- * "show ip bgp vpnv4 all neighbors A.B.C.D {json}",
+ * "show ip bgp vpnv4 all neighbors A.B.C.D [json]",
* SHOW_STR
* IP_STR
* BGP_STR
* "Neighbor to display information about\n"
* "JavaScript Object Notation\n"
*
- * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
* SHOW_STR
* BGP_STR
* "Address family\n"
* "Neighbor on bgp configured interface\n"
* "JavaScript Object Notation\n"
*
- * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
* SHOW_STR
* BGP_STR
* "Detailed information on TCP and BGP neighbor connections\n"
*/
DEFUN (show_ip_bgp_neighbors_peer,
show_ip_bgp_neighbors_peer_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
SHOW_STR
IP_STR
BGP_STR
/*
* CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "show bgp " BGP_INSTANCE_CMD " neighbors {json}",
+ * "show bgp " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_ALL_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " 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 " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) [json]",
SHOW_STR
IP_STR
BGP_STR