[prev in list] [next in list] [prev in thread] [next in thread]
List: quagga-dev
Subject: [quagga-dev 8340] [PATCH] Major Clean up of show commands. The
From: "G.Balaji" <balajig81 () gmail ! com>
Date: 2010-11-07 15:35:59
Message-ID: 1289143439-2174-1-git-send-email-balajig81 () gmail ! com
[Download RAW message or body]
The above changes have been done to integrate the MBGP patches.
Signed-off-by: G.Balaji <balajig81@gmail.com>
---
bgpd/bgp_route.c | 703 +++++++++++++++++-------------------------------------
bgpd/bgp_vty.c | 225 ++++++------------
2 files changed, 298 insertions(+), 630 deletions(-)
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 6c03887..43d70bf 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -6660,11 +6660,10 @@ DEFUN (show_ip_bgp,
return bgp_show (vty, NULL, AFI_IP, SAFI_UNICAST, bgp_show_type_normal, NULL);
}
-DEFUN (show_ip_bgp_ipv4,
- show_ip_bgp_ipv4_cmd,
- "show ip bgp ipv4 (unicast|multicast)",
+DEFUN (show_bgp_ipv4,
+ show_bgp_ipv4_cmd,
+ "show bgp ipv4 (unicast|multicast)",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -6677,31 +6676,10 @@ DEFUN (show_ip_bgp_ipv4,
return bgp_show (vty, NULL, AFI_IP, SAFI_UNICAST, bgp_show_type_normal, NULL);
}
-ALIAS (show_ip_bgp_ipv4,
- show_bgp_ipv4_safi_cmd,
- "show bgp ipv4 (unicast|multicast)",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n")
-
-DEFUN (show_ip_bgp_route,
- show_ip_bgp_route_cmd,
- "show ip bgp A.B.C.D",
- SHOW_STR
- IP_STR
- BGP_STR
- "Network in the BGP routing table to display\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP, SAFI_UNICAST, NULL, 0);
-}
-
-DEFUN (show_ip_bgp_ipv4_route,
- show_ip_bgp_ipv4_route_cmd,
- "show ip bgp ipv4 (unicast|multicast) A.B.C.D",
+DEFUN (show_bgp_ipv4_route,
+ show_bgp_ipv4_route_cmd,
+ "show bgp ipv4 (unicast|multicast) A.B.C.D",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -6714,22 +6692,13 @@ DEFUN (show_ip_bgp_ipv4_route,
return bgp_show_route (vty, NULL, argv[1], AFI_IP, SAFI_UNICAST, NULL, 0);
}
-ALIAS (show_ip_bgp_ipv4_route,
- show_bgp_ipv4_safi_route_cmd,
- "show bgp ipv4 (unicast|multicast) A.B.C.D",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "Network in the BGP routing table to display\n")
-DEFUN (show_ip_bgp_vpnv4_all_route,
- show_ip_bgp_vpnv4_all_route_cmd,
- "show ip bgp vpnv4 all A.B.C.D",
+DEFUN (show_bgp_vpnv4_all_route,
+ show_bgp_vpnv4_all_route_cmd,
+ "show bgp ipv4 vpnv4 all A.B.C.D",
SHOW_STR
- IP_STR
BGP_STR
+ "Address family\n"
"Display VPNv4 NLRI specific information\n"
"Display information about all VPNv4 NLRIs\n"
"Network in the BGP routing table to display\n")
@@ -6737,11 +6706,10 @@ DEFUN (show_ip_bgp_vpnv4_all_route,
return bgp_show_route (vty, NULL, argv[0], AFI_IP, SAFI_MPLS_VPN, NULL, 0);
}
-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",
+DEFUN (show_bgp_vpnv4_rd_route,
+ show_bgp_vpnv4_rd_route_cmd,
+ "show bgp vpnv4 rd ASN:nn_or_IP-address:nn A.B.C.D",
SHOW_STR
- IP_STR
BGP_STR
"Display VPNv4 NLRI specific information\n"
"Display information for a route distinguisher\n"
@@ -6760,22 +6728,11 @@ DEFUN (show_ip_bgp_vpnv4_rd_route,
return bgp_show_route (vty, NULL, argv[1], AFI_IP, SAFI_MPLS_VPN, &prd, 0);
}
-DEFUN (show_ip_bgp_prefix,
- show_ip_bgp_prefix_cmd,
- "show ip bgp A.B.C.D/M",
- SHOW_STR
- IP_STR
- BGP_STR
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP, SAFI_UNICAST, NULL, 1);
-}
-DEFUN (show_ip_bgp_ipv4_prefix,
- show_ip_bgp_ipv4_prefix_cmd,
- "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M",
+DEFUN (show_bgp_ipv4_prefix,
+ show_bgp_ipv4_prefix_cmd,
+ "show bgp ipv4 (unicast|multicast) A.B.C.D/M",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -6788,21 +6745,11 @@ DEFUN (show_ip_bgp_ipv4_prefix,
return bgp_show_route (vty, NULL, argv[1], AFI_IP, SAFI_UNICAST, NULL, 1);
}
-ALIAS (show_ip_bgp_ipv4_prefix,
- show_bgp_ipv4_safi_prefix_cmd,
- "show bgp ipv4 (unicast|multicast) A.B.C.D/M",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
-DEFUN (show_ip_bgp_vpnv4_all_prefix,
- show_ip_bgp_vpnv4_all_prefix_cmd,
- "show ip bgp vpnv4 all A.B.C.D/M",
+DEFUN (show_bgp_vpnv4_all_prefix,
+ show_bgp_vpnv4_all_prefix_cmd,
+ "show bgp vpnv4 all A.B.C.D/M",
SHOW_STR
- IP_STR
BGP_STR
"Display VPNv4 NLRI specific information\n"
"Display information about all VPNv4 NLRIs\n"
@@ -6928,23 +6875,6 @@ DEFUN (show_ipv6_bgp,
NULL);
}
-DEFUN (show_bgp_route,
- show_bgp_route_cmd,
- "show bgp X:X::X:X",
- SHOW_STR
- BGP_STR
- "Network in the BGP routing table to display\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP6, SAFI_UNICAST, NULL, 0);
-}
-
-ALIAS (show_bgp_route,
- show_bgp_ipv6_route_cmd,
- "show bgp ipv6 X:X::X:X",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Network in the BGP routing table to display\n")
DEFUN (show_bgp_ipv6_safi_route,
show_bgp_ipv6_safi_route_cmd,
@@ -6962,35 +6892,6 @@ DEFUN (show_bgp_ipv6_safi_route,
return bgp_show_route (vty, NULL, argv[1], AFI_IP6, SAFI_UNICAST, NULL, 0);
}
-/* old command */
-DEFUN (show_ipv6_bgp_route,
- show_ipv6_bgp_route_cmd,
- "show ipv6 bgp X:X::X:X",
- SHOW_STR
- IP_STR
- BGP_STR
- "Network in the BGP routing table to display\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP6, SAFI_UNICAST, NULL, 0);
-}
-
-DEFUN (show_bgp_prefix,
- show_bgp_prefix_cmd,
- "show bgp X:X::X:X/M",
- SHOW_STR
- BGP_STR
- "IPv6 prefix <network>/<length>\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP6, SAFI_UNICAST, NULL, 1);
-}
-
-ALIAS (show_bgp_prefix,
- show_bgp_ipv6_prefix_cmd,
- "show bgp ipv6 X:X::X:X/M",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "IPv6 prefix <network>/<length>\n")
DEFUN (show_bgp_ipv6_safi_prefix,
show_bgp_ipv6_safi_prefix_cmd,
@@ -7008,17 +6909,6 @@ DEFUN (show_bgp_ipv6_safi_prefix,
return bgp_show_route (vty, NULL, argv[1], AFI_IP6, SAFI_UNICAST, NULL, 1);
}
-/* old command */
-DEFUN (show_ipv6_bgp_prefix,
- show_ipv6_bgp_prefix_cmd,
- "show ipv6 bgp X:X::X:X/M",
- SHOW_STR
- IP_STR
- BGP_STR
- "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP6, SAFI_UNICAST, NULL, 1);
-}
DEFUN (show_bgp_view,
show_bgp_view_cmd,
@@ -7094,41 +6984,6 @@ ALIAS (show_bgp_view_prefix,
"Address family\n"
"IPv6 prefix <network>/<length>\n")
-/* old command */
-DEFUN (show_ipv6_mbgp,
- show_ipv6_mbgp_cmd,
- "show ipv6 mbgp",
- SHOW_STR
- IP_STR
- MBGP_STR)
-{
- return bgp_show (vty, NULL, AFI_IP6, SAFI_MULTICAST, bgp_show_type_normal,
- NULL);
-}
-
-/* old command */
-DEFUN (show_ipv6_mbgp_route,
- show_ipv6_mbgp_route_cmd,
- "show ipv6 mbgp X:X::X:X",
- SHOW_STR
- IP_STR
- MBGP_STR
- "Network in the MBGP routing table to display\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP6, SAFI_MULTICAST, NULL, 0);
-}
-
-/* old command */
-DEFUN (show_ipv6_mbgp_prefix,
- show_ipv6_mbgp_prefix_cmd,
- "show ipv6 mbgp X:X::X:X/M",
- SHOW_STR
- IP_STR
- MBGP_STR
- "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n")
-{
- return bgp_show_route (vty, NULL, argv[0], AFI_IP6, SAFI_MULTICAST, NULL, 1);
-}
#endif
@@ -7204,11 +7059,10 @@ DEFUN (show_ip_bgp_flap_regexp,
bgp_show_type_flap_regexp);
}
-DEFUN (show_ip_bgp_ipv4_regexp,
- show_ip_bgp_ipv4_regexp_cmd,
- "show ip bgp ipv4 (unicast|multicast) regexp .LINE",
+DEFUN (show_bgp_ipv4_regexp,
+ show_bgp_ipv4_regexp_cmd,
+ "show bgp ipv4 (unicast|multicast) regexp .LINE",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7319,11 +7173,10 @@ DEFUN (show_ip_bgp_flap_prefix_list,
bgp_show_type_flap_prefix_list);
}
-DEFUN (show_ip_bgp_ipv4_prefix_list,
- show_ip_bgp_ipv4_prefix_list_cmd,
- "show ip bgp ipv4 (unicast|multicast) prefix-list WORD",
+DEFUN (show_bgp_ipv4_prefix_list,
+ show_bgp_ipv4_prefix_list_cmd,
+ "show bgp ipv4 (unicast|multicast) prefix-list WORD",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7433,11 +7286,10 @@ DEFUN (show_ip_bgp_flap_filter_list,
bgp_show_type_flap_filter_list);
}
-DEFUN (show_ip_bgp_ipv4_filter_list,
- show_ip_bgp_ipv4_filter_list_cmd,
- "show ip bgp ipv4 (unicast|multicast) filter-list WORD",
+DEFUN (show_bgp_ipv4_filter_list,
+ show_bgp_ipv4_filter_list_cmd,
+ "show bgp ipv4 (unicast|multicast) filter-list WORD",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7548,11 +7400,10 @@ DEFUN (show_ip_bgp_flap_route_map,
bgp_show_type_flap_route_map);
}
-DEFUN (show_ip_bgp_ipv4_route_map,
- show_ip_bgp_ipv4_route_map_cmd,
- "show ip bgp ipv4 (unicast|multicast) route-map WORD",
+DEFUN (show_bgp_ipv4_route_map,
+ show_bgp_ipv4_route_map_cmd,
+ "show bgp ipv4 (unicast|multicast) route-map WORD",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7614,11 +7465,10 @@ DEFUN (show_ip_bgp_flap_cidr_only,
bgp_show_type_flap_cidr_only, NULL);
}
-DEFUN (show_ip_bgp_ipv4_cidr_only,
- show_ip_bgp_ipv4_cidr_only_cmd,
- "show ip bgp ipv4 (unicast|multicast) cidr-only",
+DEFUN (show_bgp_ipv4_cidr_only,
+ show_bgp_ipv4_cidr_only_cmd,
+ "show bgp ipv4 (unicast|multicast) cidr-only",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7645,11 +7495,10 @@ DEFUN (show_ip_bgp_community_all,
bgp_show_type_community_all, NULL);
}
-DEFUN (show_ip_bgp_ipv4_community_all,
- show_ip_bgp_ipv4_community_all_cmd,
- "show ip bgp ipv4 (unicast|multicast) community",
+DEFUN (show_bgp_ipv4_community_all,
+ show_bgp_ipv4_community_all_cmd,
+ "show bgp ipv4 (unicast|multicast) community",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7849,11 +7698,10 @@ ALIAS (show_ip_bgp_community,
"Do not advertise to any peer (well-known community)\n"
"Do not export to next AS (well-known community)\n")
-DEFUN (show_ip_bgp_ipv4_community,
- show_ip_bgp_ipv4_community_cmd,
- "show ip bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export)", +DEFUN (show_bgp_ipv4_community,
+ show_bgp_ipv4_community_cmd,
+ "show bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export)", SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7870,11 +7718,10 @@ DEFUN (show_ip_bgp_ipv4_community,
return bgp_show_community (vty, NULL, argc, argv, 0, AFI_IP, SAFI_UNICAST);
}
-ALIAS (show_ip_bgp_ipv4_community,
- show_ip_bgp_ipv4_community2_cmd,
- "show ip bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)", \
+ALIAS (show_bgp_ipv4_community, + show_bgp_ipv4_community2_cmd,
+ "show bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)", \
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7889,11 +7736,10 @@ ALIAS (show_ip_bgp_ipv4_community,
"Do not advertise to any peer (well-known community)\n"
"Do not export to next AS (well-known community)\n")
-ALIAS (show_ip_bgp_ipv4_community,
- show_ip_bgp_ipv4_community3_cmd,
- "show ip bgp ipv4 (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)", +ALIAS (show_bgp_ipv4_community,
+ show_bgp_ipv4_community3_cmd,
+ "show bgp ipv4 (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
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7912,11 +7758,10 @@ ALIAS (show_ip_bgp_ipv4_community,
"Do not advertise to any peer (well-known community)\n"
"Do not export to next AS (well-known community)\n")
-ALIAS (show_ip_bgp_ipv4_community,
- show_ip_bgp_ipv4_community4_cmd,
- "show ip bgp ipv4 (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)", \
+ALIAS (show_bgp_ipv4_community, + show_bgp_ipv4_community4_cmd,
+ "show bgp ipv4 (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
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8189,11 +8034,10 @@ ALIAS (show_ip_bgp_community_exact,
"Do not export to next AS (well-known community)\n"
"Exact match of the communities")
-DEFUN (show_ip_bgp_ipv4_community_exact,
- show_ip_bgp_ipv4_community_exact_cmd,
- "show ip bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export) exact-match", +DEFUN \
(show_bgp_ipv4_community_exact, + show_bgp_ipv4_community_exact_cmd,
+ "show bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export) exact-match", SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8211,11 +8055,10 @@ DEFUN (show_ip_bgp_ipv4_community_exact,
return bgp_show_community (vty, NULL, argc, argv, 1, AFI_IP, SAFI_UNICAST);
}
-ALIAS (show_ip_bgp_ipv4_community_exact,
- show_ip_bgp_ipv4_community2_exact_cmd,
- "show ip bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) \
exact-match", +ALIAS (show_bgp_ipv4_community_exact,
+ show_bgp_ipv4_community2_exact_cmd,
+ "show bgp ipv4 (unicast|multicast) community \
(AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) \
exact-match", SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8231,11 +8074,10 @@ ALIAS (show_ip_bgp_ipv4_community_exact,
"Do not export to next AS (well-known community)\n"
"Exact match of the communities")
-ALIAS (show_ip_bgp_ipv4_community_exact,
- show_ip_bgp_ipv4_community3_exact_cmd,
- "show ip bgp ipv4 (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) exact-match", +ALIAS \
(show_bgp_ipv4_community_exact, + show_bgp_ipv4_community3_exact_cmd,
+ "show bgp ipv4 (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) exact-match", SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8255,11 +8097,10 @@ ALIAS (show_ip_bgp_ipv4_community_exact,
"Do not export to next AS (well-known community)\n"
"Exact match of the communities")
-ALIAS (show_ip_bgp_ipv4_community_exact,
- show_ip_bgp_ipv4_community4_exact_cmd,
- "show ip bgp ipv4 (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) \
exact-match", +ALIAS (show_bgp_ipv4_community_exact,
+ show_bgp_ipv4_community4_exact_cmd,
+ "show bgp ipv4 (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) \
exact-match", SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8935,11 +8776,10 @@ DEFUN (show_ip_bgp_community_list,
return bgp_show_community_list (vty, argv[0], 0, AFI_IP, SAFI_UNICAST);
}
-DEFUN (show_ip_bgp_ipv4_community_list,
- show_ip_bgp_ipv4_community_list_cmd,
- "show ip bgp ipv4 (unicast|multicast) community-list (<1-500>|WORD)",
+DEFUN (show_bgp_ipv4_community_list,
+ show_bgp_ipv4_community_list_cmd,
+ "show bgp ipv4 (unicast|multicast) community-list (<1-500>|WORD)",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8968,11 +8808,10 @@ DEFUN (show_ip_bgp_community_list_exact,
return bgp_show_community_list (vty, argv[0], 1, AFI_IP, SAFI_UNICAST);
}
-DEFUN (show_ip_bgp_ipv4_community_list_exact,
- show_ip_bgp_ipv4_community_list_exact_cmd,
- "show ip bgp ipv4 (unicast|multicast) community-list (<1-500>|WORD) \
exact-match", +DEFUN (show_bgp_ipv4_community_list_exact,
+ show_bgp_ipv4_community_list_exact_cmd,
+ "show bgp ipv4 (unicast|multicast) community-list (<1-500>|WORD) \
exact-match", SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -9138,11 +8977,10 @@ DEFUN (show_ip_bgp_flap_prefix_longer,
bgp_show_type_flap_prefix_longer);
}
-DEFUN (show_ip_bgp_ipv4_prefix_longer,
- show_ip_bgp_ipv4_prefix_longer_cmd,
- "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes",
+DEFUN (show_bgp_ipv4_prefix_longer,
+ show_bgp_ipv4_prefix_longer_cmd,
+ "show bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -9824,18 +9662,16 @@ DEFUN (show_bgp_ipv6_neighbor_prefix_counts,
return bgp_peer_counts (vty, peer, AFI_IP6, SAFI_UNICAST);
}
-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) \
prefix-counts", +DEFUN (show_bgp_ipv4_neighbor_prefix_counts,
+ show_bgp_ipv4_neighbor_prefix_counts_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D prefix-counts",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
"Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
- "Neighbor to display information about\n"
"Display detailed prefix count information\n")
{
struct peer *peer;
@@ -9850,18 +9686,15 @@ DEFUN (show_ip_bgp_ipv4_neighbor_prefix_counts,
return bgp_peer_counts (vty, peer, AFI_IP, SAFI_UNICAST);
}
-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) prefix-counts",
+DEFUN (show_bgp_vpnv4_neighbor_prefix_counts,
+ show_bgp_vpnv4_neighbor_prefix_counts_cmd,
+ "show bgp vpnv4 all neighbors A.B.C.D prefix-counts",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
- "Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
- "Neighbor to display information about\n"
"Display detailed prefix count information\n")
{
struct peer *peer;
@@ -10021,18 +9854,16 @@ ALIAS (show_ip_bgp_view_neighbor_advertised_route,
"Neighbor to display information about\n"
"Display the routes advertised to a BGP neighbor\n")
-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) \
advertised-routes", +DEFUN (show_bgp_ipv4_neighbor_advertised_route,
+ show_bgp_ipv4_neighbor_advertised_route_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D advertised-routes",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
"Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
- "Neighbor to display information about\n"
"Display the routes advertised to a BGP neighbor\n")
{
struct peer *peer;
@@ -10216,18 +10047,16 @@ ALIAS (show_ip_bgp_view_neighbor_received_routes,
"Neighbor to display information about\n"
"Display the received routes from neighbor\n")
-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) \
received-routes", +DEFUN (show_bgp_ipv4_neighbor_received_routes,
+ show_bgp_ipv4_neighbor_received_routes_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D received-routes",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
"Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
- "Neighbor to display information about\n"
"Display the received routes from neighbor\n")
{
struct peer *peer;
@@ -10328,18 +10157,16 @@ DEFUN (show_ip_bgp_neighbor_received_prefix_filter,
return CMD_SUCCESS;
}
-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) received \
prefix-filter", +DEFUN (show_bgp_ipv4_neighbor_received_prefix_filter,
+ show_bgp_ipv4_neighbor_received_prefix_filter_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D received prefix-filter",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
"Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
- "Neighbor to display information about\n"
"Display information received from a BGP neighbor\n"
"Display the prefixlist filter\n")
{
@@ -10578,36 +10405,44 @@ DEFUN (show_ip_bgp_neighbor_routes,
bgp_show_type_neighbor);
}
-DEFUN (show_ip_bgp_neighbor_flap,
- show_ip_bgp_neighbor_flap_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X) flap-statistics",
+
+DEFUN (show_bgp_ipv4_neighbor_flap,
+ show_bgp_ipv4_neighbor_flap_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D flap-statistics",
SHOW_STR
- IP_STR
BGP_STR
+ "Address family\n"
+ "Address Family modifier\n"
+ "Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
- "Neighbor to display information about\n"
"Display flap statistics of the routes learned from neighbor\n")
{
struct peer *peer;
+ int safi = 0;
peer = peer_lookup_in_view (vty, NULL, argv[0]);
if (! peer)
return CMD_WARNING;
- return bgp_show_neighbor_route (vty, peer, AFI_IP, SAFI_UNICAST,
+ if (strncmp (argv[0], "m", 1) == 0)
+ safi = SAFI_MULTICAST;
+ else
+ safi = SAFI_UNICAST;
+ return bgp_show_neighbor_route (vty, peer, AFI_IP, safi,
bgp_show_type_flap_neighbor);
}
-DEFUN (show_ip_bgp_neighbor_damp,
- show_ip_bgp_neighbor_damp_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X) dampened-routes",
+DEFUN (show_bgp_ipv4_neighbor_damp,
+ show_bgp_ipv4_neighbor_damp_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D dampened-routes",
SHOW_STR
- IP_STR
BGP_STR
+ "Address family\n"
+ "Address Family modifier\n"
+ "Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
- "Neighbor to display information about\n"
"Display the dampened routes received from neighbor\n")
{
struct peer *peer;
@@ -10620,11 +10455,10 @@ DEFUN (show_ip_bgp_neighbor_damp,
bgp_show_type_damp_neighbor);
}
-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) routes",
+DEFUN (show_bgp_ipv4_neighbor_routes,
+ show_bgp_ipv4_neighbor_routes_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D routes",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -10701,7 +10535,7 @@ ALIAS (show_ip_bgp_view_rsclient,
DEFUN (show_bgp_view_ipv4_safi_rsclient,
show_bgp_view_ipv4_safi_rsclient_cmd,
- "show bgp view WORD ipv4 (unicast|multicast) rsclient (A.B.C.D|X:X::X:X)",
+ "show bgp view WORD ipv4 (unicast|multicast) rsclient A.B.C.D",
SHOW_STR
BGP_STR
"BGP view\n"
@@ -10749,7 +10583,7 @@ DEFUN (show_bgp_view_ipv4_safi_rsclient,
ALIAS (show_bgp_view_ipv4_safi_rsclient,
show_bgp_ipv4_safi_rsclient_cmd,
- "show bgp ipv4 (unicast|multicast) rsclient (A.B.C.D|X:X::X:X)",
+ "show bgp ipv4 (unicast|multicast) rsclient A.B.C.D",
SHOW_STR
BGP_STR
"Address family\n"
@@ -10902,7 +10736,7 @@ DEFUN (show_bgp_view_ipv4_safi_rsclient_route,
ALIAS (show_bgp_view_ipv4_safi_rsclient_route,
show_bgp_ipv4_safi_rsclient_route_cmd,
- "show bgp ipv4 (unicast|multicast) rsclient (A.B.C.D|X:X::X:X) A.B.C.D",
+ "show bgp ipv4 (unicast|multicast) rsclient A.B.C.D A.B.C.D",
SHOW_STR
BGP_STR
"Address family\n"
@@ -10987,7 +10821,7 @@ ALIAS (show_ip_bgp_view_rsclient_prefix,
DEFUN (show_bgp_view_ipv4_safi_rsclient_prefix,
show_bgp_view_ipv4_safi_rsclient_prefix_cmd,
- "show bgp view WORD ipv4 (unicast|multicast) rsclient (A.B.C.D|X:X::X:X) \
A.B.C.D/M", + "show bgp view WORD ipv4 (unicast|multicast) rsclient A.B.C.D \
A.B.C.D/M", SHOW_STR
BGP_STR
"BGP view\n"
@@ -11056,7 +10890,7 @@ DEFUN (show_bgp_view_ipv4_safi_rsclient_prefix,
ALIAS (show_bgp_view_ipv4_safi_rsclient_prefix,
show_bgp_ipv4_safi_rsclient_prefix_cmd,
- "show bgp ipv4 (unicast|multicast) rsclient (A.B.C.D|X:X::X:X) A.B.C.D/M",
+ "show bgp ipv4 (unicast|multicast) rsclient A.B.C.D A.B.C.D/M",
SHOW_STR
BGP_STR
"Address family\n"
@@ -12554,41 +12388,41 @@ bgp_route_init (void)
install_element (BGP_IPV4M_NODE, &no_aggregate_address_mask_summary_as_set_cmd);
install_element (VIEW_NODE, &show_ip_bgp_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv4_safi_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_route_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv4_safi_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpnv4_rd_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_prefix_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_prefix_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv4_safi_prefix_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_prefix_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_cmd);
+ //install_element (VIEW_NODE, &show_bgp_ipv4_safi_cmd);
+ //install_element (VIEW_NODE, &show_ip_bgp_route_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_route_cmd);
+ //install_element (VIEW_NODE, &show_bgp_ipv4_safi_route_cmd);
+ install_element (VIEW_NODE, &show_bgp_vpnv4_all_route_cmd);
+ install_element (VIEW_NODE, &show_bgp_vpnv4_rd_route_cmd);
+ //install_element (VIEW_NODE, &show_ip_bgp_prefix_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_prefix_cmd);
+ //install_element (VIEW_NODE, &show_bgp_ipv4_safi_prefix_cmd);
+ install_element (VIEW_NODE, &show_bgp_vpnv4_all_prefix_cmd);
install_element (VIEW_NODE, &show_ip_bgp_vpnv4_rd_prefix_cmd);
install_element (VIEW_NODE, &show_ip_bgp_view_cmd);
install_element (VIEW_NODE, &show_ip_bgp_view_route_cmd);
install_element (VIEW_NODE, &show_ip_bgp_view_prefix_cmd);
install_element (VIEW_NODE, &show_ip_bgp_regexp_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_regexp_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_regexp_cmd);
install_element (VIEW_NODE, &show_ip_bgp_prefix_list_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_prefix_list_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_prefix_list_cmd);
install_element (VIEW_NODE, &show_ip_bgp_filter_list_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_filter_list_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_filter_list_cmd);
install_element (VIEW_NODE, &show_ip_bgp_route_map_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_route_map_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_route_map_cmd);
install_element (VIEW_NODE, &show_ip_bgp_cidr_only_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_cidr_only_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_cidr_only_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community_all_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community_all_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community_all_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community2_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community3_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community4_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community2_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community3_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community4_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community2_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community3_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community4_cmd);
install_element (VIEW_NODE, &show_bgp_view_afi_safi_community_all_cmd);
install_element (VIEW_NODE, &show_bgp_view_afi_safi_community_cmd);
install_element (VIEW_NODE, &show_bgp_view_afi_safi_community2_cmd);
@@ -12598,25 +12432,25 @@ bgp_route_init (void)
install_element (VIEW_NODE, &show_ip_bgp_community2_exact_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community3_exact_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community4_exact_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community_exact_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community2_exact_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community3_exact_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community4_exact_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community_exact_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community2_exact_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community3_exact_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community4_exact_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community_list_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community_list_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_community_list_exact_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_community_list_exact_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community_list_cmd);
+ install_element (VIEW_NODE, &show_bgp_community_list_exact_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_community_list_exact_cmd);
install_element (VIEW_NODE, &show_ip_bgp_prefix_longer_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_prefix_longer_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_advertised_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbor_advertised_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_received_routes_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbor_received_routes_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_prefix_longer_cmd);
+ //install_element (VIEW_NODE, &show_ip_bgp_neighbor_advertised_route_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_neighbor_advertised_route_cmd);
+ //install_element (VIEW_NODE, &show_ip_bgp_neighbor_received_routes_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_neighbor_received_routes_cmd);
install_element (VIEW_NODE, &show_bgp_view_afi_safi_neighbor_adv_recd_routes_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_routes_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbor_routes_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_received_prefix_filter_cmd);
- install_element (VIEW_NODE, \
&show_ip_bgp_ipv4_neighbor_received_prefix_filter_cmd); + //install_element \
(VIEW_NODE, &show_ip_bgp_neighbor_routes_cmd); + install_element (VIEW_NODE, \
&show_bgp_ipv4_neighbor_routes_cmd); + //install_element (VIEW_NODE, \
&show_ip_bgp_neighbor_received_prefix_filter_cmd); + install_element (VIEW_NODE, \
&show_bgp_ipv4_neighbor_received_prefix_filter_cmd); install_element (VIEW_NODE, \
&show_ip_bgp_dampened_paths_cmd); install_element (VIEW_NODE, \
&show_ip_bgp_flap_statistics_cmd); install_element (VIEW_NODE, \
&show_ip_bgp_flap_address_cmd); @@ -12627,8 +12461,8 @@ bgp_route_init (void)
install_element (VIEW_NODE, &show_ip_bgp_flap_prefix_list_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_prefix_longer_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_route_map_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_flap_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_damp_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_neighbor_flap_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_neighbor_damp_cmd);
install_element (VIEW_NODE, &show_ip_bgp_rsclient_cmd);
install_element (VIEW_NODE, &show_bgp_ipv4_safi_rsclient_cmd);
install_element (VIEW_NODE, &show_ip_bgp_rsclient_route_cmd);
@@ -12645,14 +12479,14 @@ bgp_route_init (void)
install_element (VIEW_NODE, &show_bgp_view_ipv4_safi_rsclient_prefix_cmd);
/* Restricted node: VIEW_NODE - (set of dangerous commands) */
- install_element (RESTRICTED_NODE, &show_ip_bgp_route_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_route_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_route_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_rd_route_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_prefix_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_prefix_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_prefix_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_all_prefix_cmd);
+ //install_element (RESTRICTED_NODE, &show_ip_bgp_route_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_route_cmd);
+ //install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_route_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_vpnv4_rd_route_cmd);
+ //install_element (RESTRICTED_NODE, &show_ip_bgp_prefix_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_prefix_cmd);
+ //install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_prefix_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_vpnv4_all_prefix_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_rd_prefix_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_view_route_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_view_prefix_cmd);
@@ -12660,10 +12494,10 @@ bgp_route_init (void)
install_element (RESTRICTED_NODE, &show_ip_bgp_community2_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_community3_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_community4_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community2_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community3_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community4_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community2_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community3_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community4_cmd);
install_element (RESTRICTED_NODE, &show_bgp_view_afi_safi_community_all_cmd);
install_element (RESTRICTED_NODE, &show_bgp_view_afi_safi_community_cmd);
install_element (RESTRICTED_NODE, &show_bgp_view_afi_safi_community2_cmd);
@@ -12673,10 +12507,10 @@ bgp_route_init (void)
install_element (RESTRICTED_NODE, &show_ip_bgp_community2_exact_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_community3_exact_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_community4_exact_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community_exact_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community2_exact_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community3_exact_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_community4_exact_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community_exact_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community2_exact_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community3_exact_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_community4_exact_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_rsclient_route_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_rsclient_route_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_rsclient_prefix_cmd);
@@ -12687,41 +12521,41 @@ bgp_route_init (void)
install_element (RESTRICTED_NODE, &show_bgp_view_ipv4_safi_rsclient_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_safi_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_route_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_safi_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_all_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_rd_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_prefix_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_prefix_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_safi_prefix_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_all_prefix_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_ipv4_safi_cmd);
+ //install_element (ENABLE_NODE, &show_ip_bgp_route_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_route_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_ipv4_safi_route_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_all_route_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_rd_route_cmd);
+ //install_element (ENABLE_NODE, &show_ip_bgp_prefix_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_prefix_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_ipv4_safi_prefix_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_all_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_rd_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_view_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_view_route_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_view_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_regexp_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_regexp_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_regexp_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_prefix_list_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_prefix_list_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_prefix_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_filter_list_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_filter_list_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_filter_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_route_map_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_route_map_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_route_map_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_cidr_only_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_cidr_only_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_cidr_only_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community_all_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community_all_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community_all_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community2_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community3_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community4_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community2_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community3_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community4_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community2_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community3_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community4_cmd);
install_element (ENABLE_NODE, &show_bgp_view_afi_safi_community_all_cmd);
install_element (ENABLE_NODE, &show_bgp_view_afi_safi_community_cmd);
install_element (ENABLE_NODE, &show_bgp_view_afi_safi_community2_cmd);
@@ -12731,25 +12565,25 @@ bgp_route_init (void)
install_element (ENABLE_NODE, &show_ip_bgp_community2_exact_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community3_exact_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community4_exact_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community_exact_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community2_exact_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community3_exact_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community4_exact_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community_exact_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community2_exact_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community3_exact_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community4_exact_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community_list_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community_list_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community_list_exact_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community_list_exact_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_community_list_exact_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_advertised_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_advertised_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_received_routes_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_received_routes_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_prefix_longer_cmd);
+ //install_element (ENABLE_NODE, &show_ip_bgp_neighbor_advertised_route_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_neighbor_advertised_route_cmd);
+ //install_element (ENABLE_NODE, &show_ip_bgp_neighbor_received_routes_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_neighbor_received_routes_cmd);
install_element (ENABLE_NODE, \
&show_bgp_view_afi_safi_neighbor_adv_recd_routes_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_received_prefix_filter_cmd);
- install_element (ENABLE_NODE, \
&show_ip_bgp_ipv4_neighbor_received_prefix_filter_cmd); + //install_element \
(ENABLE_NODE, &show_ip_bgp_neighbor_routes_cmd); + install_element (ENABLE_NODE, \
&show_bgp_ipv4_neighbor_routes_cmd); + //install_element (ENABLE_NODE, \
&show_ip_bgp_neighbor_received_prefix_filter_cmd); + install_element (ENABLE_NODE, \
&show_bgp_ipv4_neighbor_received_prefix_filter_cmd); install_element (ENABLE_NODE, \
&show_ip_bgp_dampened_paths_cmd); install_element (ENABLE_NODE, \
&show_ip_bgp_flap_statistics_cmd); install_element (ENABLE_NODE, \
&show_ip_bgp_flap_address_cmd); @@ -12760,8 +12594,8 @@ bgp_route_init (void)
install_element (ENABLE_NODE, &show_ip_bgp_flap_prefix_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_prefix_longer_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_route_map_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_flap_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_damp_cmd);
+ //install_element (ENABLE_NODE, &show_ip_bgp_neighbor_flap_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_neighbor_damp_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_rsclient_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv4_safi_rsclient_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_rsclient_route_cmd);
@@ -12784,9 +12618,9 @@ bgp_route_init (void)
install_element (ENABLE_NODE, &clear_ip_bgp_dampening_address_mask_cmd);
/* prefix count */
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_prefix_counts_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_prefix_counts_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_neighbor_prefix_counts_cmd);
+ //install_element (ENABLE_NODE, &show_ip_bgp_neighbor_prefix_counts_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_neighbor_prefix_counts_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_neighbor_prefix_counts_cmd);
#ifdef HAVE_IPV6
install_element (ENABLE_NODE, &show_bgp_ipv6_neighbor_prefix_counts_cmd);
@@ -12815,11 +12649,11 @@ bgp_route_init (void)
install_element (VIEW_NODE, &show_bgp_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_safi_cmd);
- install_element (VIEW_NODE, &show_bgp_route_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_route_cmd);
+ //install_element (VIEW_NODE, &show_bgp_route_cmd);
+ //install_element (VIEW_NODE, &show_bgp_ipv6_route_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_safi_route_cmd);
- install_element (VIEW_NODE, &show_bgp_prefix_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_prefix_cmd);
+ //install_element (VIEW_NODE, &show_bgp_prefix_cmd);
+ //install_element (VIEW_NODE, &show_bgp_ipv6_prefix_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_safi_prefix_cmd);
install_element (VIEW_NODE, &show_bgp_regexp_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_regexp_cmd);
@@ -12851,7 +12685,7 @@ bgp_route_init (void)
install_element (VIEW_NODE, &show_bgp_ipv6_community_list_cmd);
install_element (VIEW_NODE, &show_bgp_community_list_exact_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_community_list_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_prefix_longer_cmd);
+ //install_element (VIEW_NODE, &show_bgp_prefix_longer_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_prefix_longer_cmd);
install_element (VIEW_NODE, &show_bgp_neighbor_advertised_route_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_neighbor_advertised_route_cmd);
@@ -12899,11 +12733,11 @@ bgp_route_init (void)
/* Restricted:
* VIEW_NODE - (set of dangerous commands) - (commands dependent on prev)
*/
- install_element (RESTRICTED_NODE, &show_bgp_route_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_route_cmd);
+ //install_element (RESTRICTED_NODE, &show_bgp_route_cmd);
+ //install_element (RESTRICTED_NODE, &show_bgp_ipv6_route_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv6_safi_route_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_prefix_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_prefix_cmd);
+ //install_element (RESTRICTED_NODE, &show_bgp_prefix_cmd);
+ //install_element (RESTRICTED_NODE, &show_bgp_ipv6_prefix_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv6_safi_prefix_cmd);
install_element (RESTRICTED_NODE, &show_bgp_community_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv6_community_cmd);
@@ -12939,11 +12773,11 @@ bgp_route_init (void)
install_element (ENABLE_NODE, &show_bgp_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_safi_cmd);
- install_element (ENABLE_NODE, &show_bgp_route_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_route_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_route_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_ipv6_route_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_safi_route_cmd);
- install_element (ENABLE_NODE, &show_bgp_prefix_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_prefix_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_prefix_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_ipv6_prefix_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_safi_prefix_cmd);
install_element (ENABLE_NODE, &show_bgp_regexp_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_regexp_cmd);
@@ -12975,7 +12809,7 @@ bgp_route_init (void)
install_element (ENABLE_NODE, &show_bgp_ipv6_community_list_cmd);
install_element (ENABLE_NODE, &show_bgp_community_list_exact_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_community_list_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_prefix_longer_cmd);
+ //install_element (ENABLE_NODE, &show_bgp_prefix_longer_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_prefix_longer_cmd);
install_element (ENABLE_NODE, &show_bgp_neighbor_advertised_route_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_neighbor_advertised_route_cmd);
@@ -13026,99 +12860,6 @@ bgp_route_init (void)
install_element (ENABLE_NODE, &show_bgp_statistics_view_cmd);
install_element (ENABLE_NODE, &show_bgp_statistics_view_vpnv4_cmd);
- /* old command */
- install_element (VIEW_NODE, &show_ipv6_bgp_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_route_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_prefix_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_regexp_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_prefix_list_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_filter_list_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community_all_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community2_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community3_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community4_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community2_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community3_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community4_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community_list_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_community_list_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_bgp_prefix_longer_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_route_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_prefix_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_regexp_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_prefix_list_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_filter_list_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community_all_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community2_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community3_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community4_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community2_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community3_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community4_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community_list_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_community_list_exact_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_prefix_longer_cmd);
-
- /* old command */
- install_element (ENABLE_NODE, &show_ipv6_bgp_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_route_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_prefix_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_regexp_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_prefix_list_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_filter_list_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community_all_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community2_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community3_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community4_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community2_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community3_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community4_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community_list_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_community_list_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_route_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_prefix_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_regexp_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_prefix_list_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_filter_list_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community_all_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community2_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community3_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community4_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community2_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community3_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community4_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community_list_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_community_list_exact_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_prefix_longer_cmd);
-
- /* old command */
- install_element (VIEW_NODE, &ipv6_bgp_neighbor_advertised_route_cmd);
- install_element (ENABLE_NODE, &ipv6_bgp_neighbor_advertised_route_cmd);
- install_element (VIEW_NODE, &ipv6_mbgp_neighbor_advertised_route_cmd);
- install_element (ENABLE_NODE, &ipv6_mbgp_neighbor_advertised_route_cmd);
-
- /* old command */
- install_element (VIEW_NODE, &ipv6_bgp_neighbor_received_routes_cmd);
- install_element (ENABLE_NODE, &ipv6_bgp_neighbor_received_routes_cmd);
- install_element (VIEW_NODE, &ipv6_mbgp_neighbor_received_routes_cmd);
- install_element (ENABLE_NODE, &ipv6_mbgp_neighbor_received_routes_cmd);
-
- /* old command */
- install_element (VIEW_NODE, &ipv6_bgp_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &ipv6_bgp_neighbor_routes_cmd);
- install_element (VIEW_NODE, &ipv6_mbgp_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &ipv6_mbgp_neighbor_routes_cmd);
#endif /* HAVE_IPV6 */
install_element (BGP_NODE, &bgp_distance_cmd);
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 1629b04..d91f77e 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -6883,11 +6883,10 @@ DEFUN (show_ip_bgp_instance_summary,
return bgp_show_summary_vty (vty, argv[0], AFI_IP, SAFI_UNICAST);
}
-DEFUN (show_ip_bgp_ipv4_summary,
- show_ip_bgp_ipv4_summary_cmd,
- "show ip bgp ipv4 (unicast|multicast) summary",
+DEFUN (show_bgp_ipv4_summary,
+ show_bgp_ipv4_summary_cmd,
+ "show bgp ipv4 (unicast|multicast) summary",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -6900,21 +6899,11 @@ DEFUN (show_ip_bgp_ipv4_summary,
return bgp_show_summary_vty (vty, NULL, AFI_IP, SAFI_UNICAST);
}
-ALIAS (show_ip_bgp_ipv4_summary,
- show_bgp_ipv4_safi_summary_cmd,
- "show bgp ipv4 (unicast|multicast) summary",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "Summary of BGP neighbor status\n")
-DEFUN (show_ip_bgp_instance_ipv4_summary,
- show_ip_bgp_instance_ipv4_summary_cmd,
- "show ip bgp view WORD ipv4 (unicast|multicast) summary",
+DEFUN (show_bgp_instance_ipv4_summary,
+ show_bgp_instance_ipv4_summary_cmd,
+ "show bgp view WORD ipv4 (unicast|multicast) summary",
SHOW_STR
- IP_STR
BGP_STR
"BGP view\n"
"View name\n"
@@ -6929,7 +6918,7 @@ DEFUN (show_ip_bgp_instance_ipv4_summary,
return bgp_show_summary_vty (vty, argv[0], AFI_IP, SAFI_UNICAST);
}
-ALIAS (show_ip_bgp_instance_ipv4_summary,
+ALIAS (show_bgp_instance_ipv4_summary,
show_bgp_instance_ipv4_safi_summary_cmd,
"show bgp view WORD ipv4 (unicast|multicast) summary",
SHOW_STR
@@ -6979,15 +6968,6 @@ DEFUN (show_ip_bgp_vpnv4_rd_summary,
}
#ifdef HAVE_IPV6
-DEFUN (show_bgp_summary,
- show_bgp_summary_cmd,
- "show bgp summary",
- SHOW_STR
- BGP_STR
- "Summary of BGP neighbor status\n")
-{
- return bgp_show_summary_vty (vty, NULL, AFI_IP6, SAFI_UNICAST);
-}
DEFUN (show_bgp_instance_summary,
show_bgp_instance_summary_cmd,
@@ -7001,13 +6981,6 @@ DEFUN (show_bgp_instance_summary,
return bgp_show_summary_vty (vty, argv[0], AFI_IP6, SAFI_UNICAST);
}
-ALIAS (show_bgp_summary,
- show_bgp_ipv6_summary_cmd,
- "show bgp ipv6 summary",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Summary of BGP neighbor status\n")
ALIAS (show_bgp_instance_summary,
show_bgp_instance_ipv6_summary_cmd,
@@ -7781,9 +7754,8 @@ bgp_show_neighbor_vty (struct vty *vty, const char *name,
/* "show ip bgp neighbors" commands. */
DEFUN (show_ip_bgp_neighbors,
show_ip_bgp_neighbors_cmd,
- "show ip bgp neighbors",
+ "show bgp neighbors",
SHOW_STR
- IP_STR
BGP_STR
"Detailed information on TCP and BGP neighbor connections\n")
{
@@ -7791,10 +7763,9 @@ DEFUN (show_ip_bgp_neighbors,
}
ALIAS (show_ip_bgp_neighbors,
- show_ip_bgp_ipv4_neighbors_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors",
+ show_bgp_ipv4_neighbors_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -7802,20 +7773,18 @@ ALIAS (show_ip_bgp_neighbors,
"Detailed information on TCP and BGP neighbor connections\n")
ALIAS (show_ip_bgp_neighbors,
- show_ip_bgp_vpnv4_all_neighbors_cmd,
- "show ip bgp vpnv4 all neighbors",
+ show_bgp_vpnv4_all_neighbors_cmd,
+ "show bgp vpnv4 all neighbors",
SHOW_STR
- IP_STR
BGP_STR
"Display VPNv4 NLRI specific information\n"
"Display information about all VPNv4 NLRIs\n"
"Detailed information on TCP and BGP neighbor connections\n")
ALIAS (show_ip_bgp_neighbors,
- show_ip_bgp_vpnv4_rd_neighbors_cmd,
- "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors",
+ show_bgp_vpnv4_rd_neighbors_cmd,
+ "show bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors",
SHOW_STR
- IP_STR
BGP_STR
"Display VPNv4 NLRI specific information\n"
"Display information for a route distinguisher\n"
@@ -7837,11 +7806,10 @@ ALIAS (show_ip_bgp_neighbors,
"Address family\n"
"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)",
+DEFUN (show_bgp_neighbors_peer,
+ show_bgp_neighbors_peer_cmd,
+ "show bgp neighbors (A.B.C.D|X:X::X:X)",
SHOW_STR
- IP_STR
BGP_STR
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
@@ -7850,51 +7818,39 @@ DEFUN (show_ip_bgp_neighbors_peer,
return bgp_show_neighbor_vty (vty, NULL, show_peer, argv[argc - 1]);
}
-ALIAS (show_ip_bgp_neighbors_peer,
- show_ip_bgp_ipv4_neighbors_peer_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X)",
+ALIAS (show_bgp_neighbors_peer,
+ show_bgp_ipv4_neighbors_peer_cmd,
+ "show bgp ipv4 (unicast|multicast) neighbors A.B.C.D",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
"Address Family modifier\n"
"Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
"Neighbor to display information about\n")
-ALIAS (show_ip_bgp_neighbors_peer,
- show_ip_bgp_vpnv4_all_neighbors_peer_cmd,
+ALIAS (show_bgp_neighbors_peer,
+ show_bgp_vpnv4_all_neighbors_peer_cmd,
"show ip bgp vpnv4 all neighbors A.B.C.D",
SHOW_STR
- IP_STR
BGP_STR
"Display VPNv4 NLRI specific information\n"
"Display information about all VPNv4 NLRIs\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n")
-ALIAS (show_ip_bgp_neighbors_peer,
- show_ip_bgp_vpnv4_rd_neighbors_peer_cmd,
- "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors A.B.C.D",
+ALIAS (show_bgp_neighbors_peer,
+ show_bgp_vpnv4_rd_neighbors_peer_cmd,
+ "show bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors A.B.C.D",
SHOW_STR
- IP_STR
BGP_STR
"Display VPNv4 NLRI specific information\n"
"Display information about all VPNv4 NLRIs\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n")
-ALIAS (show_ip_bgp_neighbors_peer,
- show_bgp_neighbors_peer_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X)",
- SHOW_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n")
-ALIAS (show_ip_bgp_neighbors_peer,
+ALIAS (show_bgp_neighbors_peer,
show_bgp_ipv6_neighbors_peer_cmd,
"show bgp ipv6 neighbors (A.B.C.D|X:X::X:X)",
SHOW_STR
@@ -7905,10 +7861,9 @@ ALIAS (show_ip_bgp_neighbors_peer,
"Neighbor to display information about\n")
DEFUN (show_ip_bgp_instance_neighbors,
- show_ip_bgp_instance_neighbors_cmd,
- "show ip bgp view WORD neighbors",
+ show_bgp_instance_neighbors_cmd,
+ "show bgp view WORD neighbors",
SHOW_STR
- IP_STR
BGP_STR
"BGP view\n"
"View name\n"
@@ -7917,14 +7872,6 @@ DEFUN (show_ip_bgp_instance_neighbors,
return bgp_show_neighbor_vty (vty, argv[0], show_all, NULL);
}
-ALIAS (show_ip_bgp_instance_neighbors,
- show_bgp_instance_neighbors_cmd,
- "show bgp view WORD neighbors",
- SHOW_STR
- BGP_STR
- "BGP view\n"
- "View name\n"
- "Detailed information on TCP and BGP neighbor connections\n")
ALIAS (show_ip_bgp_instance_neighbors,
show_bgp_instance_ipv6_neighbors_cmd,
@@ -7938,9 +7885,8 @@ ALIAS (show_ip_bgp_instance_neighbors,
DEFUN (show_ip_bgp_instance_neighbors_peer,
show_ip_bgp_instance_neighbors_peer_cmd,
- "show ip bgp view WORD neighbors (A.B.C.D|X:X::X:X)",
+ "show bgp view WORD neighbors (A.B.C.D|X:X::X:X)",
SHOW_STR
- IP_STR
BGP_STR
"BGP view\n"
"View name\n"
@@ -7991,10 +7937,9 @@ DEFUN (show_ip_bgp_paths,
}
DEFUN (show_ip_bgp_ipv4_paths,
- show_ip_bgp_ipv4_paths_cmd,
- "show ip bgp ipv4 (unicast|multicast) paths",
+ show_bgp_ipv4_paths_cmd,
+ "show bgp ipv4 (unicast|multicast) paths",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8216,11 +8161,10 @@ DEFUN (show_ip_bgp_instance_rsclient_summary,
return bgp_show_rsclient_summary_vty (vty, argv[0], AFI_IP, SAFI_UNICAST);
}
-DEFUN (show_ip_bgp_ipv4_rsclient_summary,
- show_ip_bgp_ipv4_rsclient_summary_cmd,
- "show ip bgp ipv4 (unicast|multicast) rsclient summary",
+DEFUN (show_bgp_ipv4_rsclient_summary,
+ show_bgp_ipv4_rsclient_summary_cmd,
+ "show bgp ipv4 (unicast|multicast) rsclient summary",
SHOW_STR
- IP_STR
BGP_STR
"Address family\n"
"Address Family modifier\n"
@@ -8234,11 +8178,10 @@ DEFUN (show_ip_bgp_ipv4_rsclient_summary,
return bgp_show_rsclient_summary_vty (vty, NULL, AFI_IP, SAFI_UNICAST);
}
-DEFUN (show_ip_bgp_instance_ipv4_rsclient_summary,
- show_ip_bgp_instance_ipv4_rsclient_summary_cmd,
- "show ip bgp view WORD ipv4 (unicast|multicast) rsclient summary",
+DEFUN (show_bgp_instance_ipv4_rsclient_summary,
+ show_bgp_instance_ipv4_rsclient_summary_cmd,
+ "show bgp view WORD ipv4 (unicast|multicast) rsclient summary",
SHOW_STR
- IP_STR
BGP_STR
"BGP view\n"
"View name\n"
@@ -9914,79 +9857,68 @@ bgp_vty_init (void)
/* "show ip bgp summary" commands. */
install_element (VIEW_NODE, &show_ip_bgp_summary_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_summary_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_summary_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv4_safi_summary_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_instance_ipv4_summary_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_summary_cmd);
+ install_element (VIEW_NODE, &show_bgp_instance_ipv4_summary_cmd);
install_element (VIEW_NODE, &show_bgp_instance_ipv4_safi_summary_cmd);
install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_summary_cmd);
install_element (VIEW_NODE, &show_ip_bgp_vpnv4_rd_summary_cmd);
#ifdef HAVE_IPV6
- install_element (VIEW_NODE, &show_bgp_summary_cmd);
install_element (VIEW_NODE, &show_bgp_instance_summary_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_summary_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_safi_summary_cmd);
install_element (VIEW_NODE, &show_bgp_instance_ipv6_summary_cmd);
install_element (VIEW_NODE, &show_bgp_instance_ipv6_safi_summary_cmd);
#endif /* HAVE_IPV6 */
install_element (RESTRICTED_NODE, &show_ip_bgp_summary_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_instance_summary_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_summary_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_summary_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_instance_ipv4_summary_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_ipv4_safi_summary_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_summary_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_instance_ipv4_summary_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_all_summary_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_rd_summary_cmd);
#ifdef HAVE_IPV6
- install_element (RESTRICTED_NODE, &show_bgp_summary_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_summary_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_summary_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv6_safi_summary_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_ipv6_summary_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_ipv6_safi_summary_cmd);
#endif /* HAVE_IPV6 */
install_element (ENABLE_NODE, &show_ip_bgp_summary_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_summary_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_summary_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_safi_summary_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_instance_ipv4_summary_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv4_safi_summary_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_summary_cmd);
+ install_element (ENABLE_NODE, &show_bgp_instance_ipv4_summary_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_all_summary_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_rd_summary_cmd);
#ifdef HAVE_IPV6
- install_element (ENABLE_NODE, &show_bgp_summary_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_summary_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_summary_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_safi_summary_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_ipv6_summary_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_ipv6_safi_summary_cmd);
#endif /* HAVE_IPV6 */
/* "show ip bgp neighbors" commands. */
- install_element (VIEW_NODE, &show_ip_bgp_neighbors_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbors_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbors_peer_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbors_peer_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_neighbors_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpnv4_rd_neighbors_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_neighbors_peer_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpnv4_rd_neighbors_peer_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_instance_neighbors_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_instance_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_all_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_rd_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_instance_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbors_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbors_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_all_neighbors_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_rd_neighbors_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_all_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_rd_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_instance_neighbors_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_instance_neighbors_peer_cmd);
+ install_element (VIEW_NODE, &show_bgp_neighbors_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_neighbors_cmd);
+ install_element (VIEW_NODE, &show_bgp_neighbors_peer_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_neighbors_peer_cmd);
+ install_element (VIEW_NODE, &show_bgp_vpnv4_all_neighbors_cmd);
+ install_element (VIEW_NODE, &show_bgp_vpnv4_rd_neighbors_cmd);
+ install_element (VIEW_NODE, &show_bgp_vpnv4_all_neighbors_peer_cmd);
+ install_element (VIEW_NODE, &show_bgp_vpnv4_rd_neighbors_peer_cmd);
+ install_element (VIEW_NODE, &show_bgp_instance_neighbors_cmd);
+ install_element (VIEW_NODE, &show_bgp_instance_neighbors_peer_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_neighbors_peer_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_ipv4_neighbors_peer_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_vpnv4_all_neighbors_peer_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_vpnv4_rd_neighbors_peer_cmd);
+ install_element (RESTRICTED_NODE, &show_bgp_instance_neighbors_peer_cmd);
+ install_element (ENABLE_NODE, &show_bgp_neighbors_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_neighbors_cmd);
+ install_element (ENABLE_NODE, &show_bgp_neighbors_peer_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_neighbors_peer_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_all_neighbors_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_rd_neighbors_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_all_neighbors_peer_cmd);
+ install_element (ENABLE_NODE, &show_bgp_vpnv4_rd_neighbors_peer_cmd);
+ install_element (ENABLE_NODE, &show_bgp_instance_neighbors_cmd);
+ install_element (ENABLE_NODE, &show_bgp_instance_neighbors_peer_cmd);
#ifdef HAVE_IPV6
install_element (VIEW_NODE, &show_bgp_neighbors_cmd);
@@ -10010,30 +9942,25 @@ bgp_vty_init (void)
install_element (ENABLE_NODE, &show_bgp_instance_neighbors_peer_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbors_peer_cmd);
- /* Old commands. */
- install_element (VIEW_NODE, &show_ipv6_bgp_summary_cmd);
- install_element (VIEW_NODE, &show_ipv6_mbgp_summary_cmd);
- install_element (ENABLE_NODE, &show_ipv6_bgp_summary_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mbgp_summary_cmd);
#endif /* HAVE_IPV6 */
/* "show ip bgp rsclient" commands. */
install_element (VIEW_NODE, &show_ip_bgp_rsclient_summary_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_rsclient_summary_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_rsclient_summary_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_instance_ipv4_rsclient_summary_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_rsclient_summary_cmd);
+ install_element (VIEW_NODE, &show_bgp_instance_ipv4_rsclient_summary_cmd);
install_element (VIEW_NODE, &show_bgp_instance_ipv4_safi_rsclient_summary_cmd);
install_element (VIEW_NODE, &show_bgp_ipv4_safi_rsclient_summary_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_rsclient_summary_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_instance_rsclient_summary_cmd);
- install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_rsclient_summary_cmd);
- install_element (RESTRICTED_NODE, \
&show_ip_bgp_instance_ipv4_rsclient_summary_cmd); + install_element \
(RESTRICTED_NODE, &show_bgp_ipv4_rsclient_summary_cmd); + install_element \
(RESTRICTED_NODE, &show_bgp_instance_ipv4_rsclient_summary_cmd); install_element \
(RESTRICTED_NODE, &show_bgp_instance_ipv4_safi_rsclient_summary_cmd); \
install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_rsclient_summary_cmd); \
install_element (ENABLE_NODE, &show_ip_bgp_rsclient_summary_cmd); install_element \
(ENABLE_NODE, &show_ip_bgp_instance_rsclient_summary_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_rsclient_summary_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_instance_ipv4_rsclient_summary_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_rsclient_summary_cmd);
+ install_element (ENABLE_NODE, &show_bgp_instance_ipv4_rsclient_summary_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_ipv4_safi_rsclient_summary_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv4_safi_rsclient_summary_cmd);
@@ -10060,9 +9987,9 @@ bgp_vty_init (void)
/* "show ip bgp paths" commands. */
install_element (VIEW_NODE, &show_ip_bgp_paths_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_paths_cmd);
+ install_element (VIEW_NODE, &show_bgp_ipv4_paths_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_paths_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_paths_cmd);
+ install_element (ENABLE_NODE, &show_bgp_ipv4_paths_cmd);
/* "show ip bgp community" commands. */
install_element (VIEW_NODE, &show_ip_bgp_community_info_cmd);
--
1.7.1
_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic