diff options
Diffstat (limited to 'bgpd/bgp_route.c')
| -rw-r--r-- | bgpd/bgp_route.c | 179 | 
1 files changed, 108 insertions, 71 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 90904e946c..81516640bd 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -1435,9 +1435,10 @@ subgroup_announce_check (struct bgp_info *ri, struct update_subgroup *subgrp,  #ifdef HAVE_IPV6  #define NEXTHOP_IS_V6 (\ -    (safi != SAFI_ENCAP && \ +    (safi != SAFI_ENCAP && safi != SAFI_MPLS_VPN &&\       (p->family == AF_INET6 || peer_cap_enhe(peer))) || \ -    (safi == SAFI_ENCAP && attr->extra->mp_nexthop_len == 16)) +    ((safi == SAFI_ENCAP || safi == SAFI_MPLS_VPN) &&\ +     attr->extra->mp_nexthop_len >= IPV6_MAX_BYTELEN))    /* IPv6/MP starts with 1 nexthop. The link-local address is passed only if     * the peer (group) is configured to receive link-local nexthop unchanged @@ -8161,12 +8162,13 @@ DEFUN (show_ip_bgp,  DEFUN (show_ip_bgp_ipv4,         show_ip_bgp_ipv4_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" {json}", +       "show ip bgp ipv4 (unicast|multicast) {json}",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "JavaScript Object Notation\n")  {    u_char uj = use_json(argc, argv); @@ -8178,11 +8180,12 @@ DEFUN (show_ip_bgp_ipv4,  ALIAS (show_ip_bgp_ipv4,         show_bgp_ipv4_safi_cmd, -       "show bgp ipv4 "BGP_SAFI_CMD_STR" {json}", +       "show bgp ipv4 (unicast|multicast) {json}",         SHOW_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "JavaScript Object Notation\n")  DEFUN (show_ip_bgp_route, @@ -8636,11 +8639,12 @@ ALIAS (show_bgp,  DEFUN (show_bgp_ipv6_safi,         show_bgp_ipv6_safi_cmd, -       "show bgp ipv6 "BGP_SAFI_CMD_STR" {json}", +       "show bgp ipv6 (unicast|multicast) {json}",         SHOW_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "JavaScript Object Notation\n")  {    u_char uj = use_json(argc, argv); @@ -9246,12 +9250,13 @@ ALIAS (show_ip_bgp_flap_regexp,  DEFUN (show_ip_bgp_ipv4_regexp,          show_ip_bgp_ipv4_regexp_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" regexp .LINE", +       "show ip bgp ipv4 (unicast|multicast) regexp .LINE",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the AS path regular expression\n"         "A regular-expression to match the BGP AS paths\n")  { @@ -9393,12 +9398,13 @@ ALIAS (show_ip_bgp_flap_prefix_list,  DEFUN (show_ip_bgp_ipv4_prefix_list,          show_ip_bgp_ipv4_prefix_list_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" prefix-list WORD", +       "show ip bgp ipv4 (unicast|multicast) prefix-list WORD",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes conforming to the prefix-list\n"         "IP prefix-list name\n")  { @@ -9539,12 +9545,13 @@ ALIAS (show_ip_bgp_flap_filter_list,  DEFUN (show_ip_bgp_ipv4_filter_list,          show_ip_bgp_ipv4_filter_list_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" filter-list WORD", +       "show ip bgp ipv4 (unicast|multicast) filter-list WORD",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes conforming to the filter-list\n"         "Regular expression access list name\n")  { @@ -9622,12 +9629,13 @@ DEFUN (show_ip_bgp_dampening_info,  DEFUN (show_ip_bgp_ipv4_dampening_parameters,         show_ip_bgp_ipv4_dampening_parameters_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" dampening parameters", +       "show ip bgp ipv4 (unicast|multicast) dampening parameters",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display detailed information about dampening\n"         "Display detail of configured dampening parameters\n")  { @@ -9639,12 +9647,13 @@ DEFUN (show_ip_bgp_ipv4_dampening_parameters,  DEFUN (show_ip_bgp_ipv4_dampening_flap_stats,         show_ip_bgp_ipv4_dampening_flap_stats_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" dampening flap-statistics", +       "show ip bgp ipv4 (unicast|multicast) dampening flap-statistics",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display detailed information about dampening\n"         "Display flap statistics of routes\n")  { @@ -9656,12 +9665,13 @@ DEFUN (show_ip_bgp_ipv4_dampening_flap_stats,  DEFUN (show_ip_bgp_ipv4_dampening_dampd_paths,         show_ip_bgp_ipv4_dampening_dampd_paths_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" dampening dampened-paths", +       "show ip bgp ipv4 (unicast|multicast) dampening dampened-paths",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display detailed information about dampening\n"         "Display paths suppressed due to dampening\n")  { @@ -9750,12 +9760,13 @@ ALIAS (show_ip_bgp_flap_route_map,  DEFUN (show_ip_bgp_ipv4_route_map,          show_ip_bgp_ipv4_route_map_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" route-map WORD", +       "show ip bgp ipv4 (unicast|multicast) route-map WORD",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the route-map\n"         "A route-map to match on\n")  { @@ -9823,12 +9834,13 @@ ALIAS (show_ip_bgp_flap_cidr_only,  DEFUN (show_ip_bgp_ipv4_cidr_only,         show_ip_bgp_ipv4_cidr_only_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" cidr-only", +       "show ip bgp ipv4 (unicast|multicast) cidr-only",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display only routes with non-natural netmasks\n")  {    safi_t safi; @@ -9851,12 +9863,13 @@ DEFUN (show_ip_bgp_community_all,  DEFUN (show_ip_bgp_ipv4_community_all,         show_ip_bgp_ipv4_community_all_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" community", +       "show ip bgp ipv4 (unicast|multicast) community",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n")  {    safi_t safi; @@ -10054,12 +10067,13 @@ ALIAS (show_ip_bgp_community,  DEFUN (show_ip_bgp_ipv4_community,         show_ip_bgp_ipv4_community_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export)", +       "show ip bgp ipv4 (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export)",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -10073,12 +10087,13 @@ DEFUN (show_ip_bgp_ipv4_community,  ALIAS (show_ip_bgp_ipv4_community,         show_ip_bgp_ipv4_community2_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)", +       "show ip 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" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -10091,12 +10106,13 @@ ALIAS (show_ip_bgp_ipv4_community,  ALIAS (show_ip_bgp_ipv4_community,         show_ip_bgp_ipv4_community3_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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 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)",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -10113,12 +10129,13 @@ ALIAS (show_ip_bgp_ipv4_community,  ALIAS (show_ip_bgp_ipv4_community,         show_ip_bgp_ipv4_community4_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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 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)",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -10139,11 +10156,14 @@ ALIAS (show_ip_bgp_ipv4_community,  DEFUN (show_bgp_instance_afi_safi_community_all,         show_bgp_instance_afi_safi_community_all_cmd, -       "show bgp " BGP_INSTANCE_CMD " "BGP_AFI_SAFI_CMD_STR" community", +       "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community",         SHOW_STR         BGP_STR         BGP_INSTANCE_HELP_STR -       BGP_AFI_SAFI_HELP_STR +       "Address family\n" +       "Address family\n" +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n")  {    int afi; @@ -10165,7 +10185,7 @@ DEFUN (show_bgp_instance_afi_safi_community_all,  DEFUN (show_bgp_instance_afi_safi_community,         show_bgp_instance_afi_safi_community_cmd, -       "show bgp " BGP_INSTANCE_CMD " "BGP_AFI_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export)", +       "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export)",         SHOW_STR         BGP_STR         BGP_INSTANCE_HELP_STR @@ -10189,7 +10209,7 @@ DEFUN (show_bgp_instance_afi_safi_community,  ALIAS (show_bgp_instance_afi_safi_community,         show_bgp_instance_afi_safi_community2_cmd, -       "show bgp " BGP_INSTANCE_CMD " "BGP_AFI_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)", +       "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",         SHOW_STR         BGP_STR         BGP_INSTANCE_HELP_STR @@ -10209,7 +10229,7 @@ ALIAS (show_bgp_instance_afi_safi_community,  ALIAS (show_bgp_instance_afi_safi_community,         show_bgp_instance_afi_safi_community3_cmd, -       "show bgp " BGP_INSTANCE_CMD " "BGP_AFI_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)", +       "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",         SHOW_STR         BGP_STR         BGP_INSTANCE_HELP_STR @@ -10233,7 +10253,7 @@ ALIAS (show_bgp_instance_afi_safi_community,  ALIAS (show_bgp_instance_afi_safi_community,         show_bgp_instance_afi_safi_community4_cmd, -       "show bgp " BGP_INSTANCE_CMD " "BGP_AFI_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)", +       "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",         SHOW_STR         BGP_STR         BGP_INSTANCE_HELP_STR @@ -10340,12 +10360,13 @@ ALIAS (show_ip_bgp_community_exact,  DEFUN (show_ip_bgp_ipv4_community_exact,         show_ip_bgp_ipv4_community_exact_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export) exact-match", +       "show ip bgp ipv4 (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) exact-match",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -10360,12 +10381,13 @@ DEFUN (show_ip_bgp_ipv4_community_exact,  ALIAS (show_ip_bgp_ipv4_community_exact,         show_ip_bgp_ipv4_community2_exact_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match", +       "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",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -10379,12 +10401,13 @@ ALIAS (show_ip_bgp_ipv4_community_exact,  ALIAS (show_ip_bgp_ipv4_community_exact,         show_ip_bgp_ipv4_community3_exact_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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 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",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -10402,12 +10425,13 @@ ALIAS (show_ip_bgp_ipv4_community_exact,  ALIAS (show_ip_bgp_ipv4_community_exact,         show_ip_bgp_ipv4_community4_exact_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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 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",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the communities\n"         COMMUNITY_AANN_STR         "Do not send outside local AS (well-known community)\n" @@ -11107,12 +11131,13 @@ DEFUN (show_ip_bgp_instance_community_list,  DEFUN (show_ip_bgp_ipv4_community_list,         show_ip_bgp_ipv4_community_list_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" community-list (<1-500>|WORD)", +       "show ip bgp ipv4 (unicast|multicast) community-list (<1-500>|WORD)",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the community-list\n"         "community-list number\n"         "community-list name\n") @@ -11138,12 +11163,13 @@ DEFUN (show_ip_bgp_community_list_exact,  DEFUN (show_ip_bgp_ipv4_community_list_exact,         show_ip_bgp_ipv4_community_list_exact_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" community-list (<1-500>|WORD) exact-match", +       "show ip bgp ipv4 (unicast|multicast) community-list (<1-500>|WORD) exact-match",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "Display routes matching the community-list\n"         "community-list number\n"         "community-list name\n" @@ -11343,12 +11369,13 @@ ALIAS (show_ip_bgp_flap_prefix_longer,  DEFUN (show_ip_bgp_ipv4_prefix_longer,         show_ip_bgp_ipv4_prefix_longer_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" A.B.C.D/M longer-prefixes", +       "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes",         SHOW_STR         IP_STR         BGP_STR         "Address family\n" -       BGP_SAFI_HELP_STR +       "Address Family modifier\n" +       "Address Family modifier\n"         "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"         "Display route and more specific routes\n")  { @@ -11840,7 +11867,7 @@ DEFUN (show_bgp_statistics,         "show bgp "BGP_AFI_SAFI_CMD_STR" statistics",         SHOW_STR         BGP_STR -       BGP_INSTANCE_HELP_STR +       BGP_AFI_SAFI_HELP_STR         "BGP RIB advertisement statistics\n")  {    return bgp_table_stats_vty (vty, NULL, argv[0], argv[1]); @@ -12145,12 +12172,13 @@ DEFUN (show_bgp_instance_ipv6_neighbor_prefix_counts,  DEFUN (show_ip_bgp_ipv4_neighbor_prefix_counts,         show_ip_bgp_ipv4_neighbor_prefix_counts_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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         "Address family\n" -       BGP_SAFI_HELP_STR +       "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" @@ -12495,12 +12523,13 @@ ALIAS (show_ip_bgp_instance_neighbor_advertised_route,         "JavaScript Object Notation\n")  DEFUN (show_ip_bgp_ipv4_neighbor_advertised_route,         show_ip_bgp_ipv4_neighbor_advertised_route_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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         "Address family\n" -       BGP_SAFI_HELP_STR +       "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" @@ -12527,12 +12556,13 @@ DEFUN (show_ip_bgp_ipv4_neighbor_advertised_route,  ALIAS (show_ip_bgp_ipv4_neighbor_advertised_route,         show_ip_bgp_ipv4_neighbor_advertised_route_rmap_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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         "Address family\n" -       BGP_SAFI_HELP_STR +       "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" @@ -12784,12 +12814,13 @@ ALIAS (show_ip_bgp_instance_neighbor_received_routes,  DEFUN (show_ip_bgp_ipv4_neighbor_received_routes,         show_ip_bgp_ipv4_neighbor_received_routes_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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         "Address family\n" -       BGP_SAFI_HELP_STR +       "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" @@ -12815,12 +12846,13 @@ DEFUN (show_ip_bgp_ipv4_neighbor_received_routes,  ALIAS (show_ip_bgp_ipv4_neighbor_received_routes,         show_ip_bgp_ipv4_neighbor_received_routes_rmap_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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         "Address family\n" -       BGP_SAFI_HELP_STR +       "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" @@ -12830,11 +12862,14 @@ ALIAS (show_ip_bgp_ipv4_neighbor_received_routes,  DEFUN (show_bgp_instance_afi_safi_neighbor_adv_recd_routes,         show_bgp_instance_afi_safi_neighbor_adv_recd_routes_cmd, -       "show bgp " BGP_INSTANCE_CMD " "BGP_AFI_SAFI_CMD_STR" 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 -       BGP_AFI_SAFI_HELP_STR +       "Address family\n" +       "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" @@ -12950,12 +12985,13 @@ DEFUN (show_ip_bgp_neighbor_received_prefix_filter,  DEFUN (show_ip_bgp_ipv4_neighbor_received_prefix_filter,         show_ip_bgp_ipv4_neighbor_received_prefix_filter_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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         "Address family\n" -       BGP_SAFI_HELP_STR +       "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" @@ -13450,12 +13486,13 @@ DEFUN (show_ip_bgp_neighbor_damp,  DEFUN (show_ip_bgp_ipv4_neighbor_routes,         show_ip_bgp_ipv4_neighbor_routes_cmd, -       "show ip bgp ipv4 "BGP_SAFI_CMD_STR" 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         "Address family\n" -       BGP_SAFI_HELP_STR +       "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"  | 
