DEBUG_STR
BGP_STR
"BGP bestpath\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "IPv6 prefix <network>/<length>\n")
+ "IPv4 prefix\n"
+ "IPv6 prefix\n")
{
int idx_ipv4_ipv6_prefixlen = 3;
DEBUG_STR
BGP_STR
"BGP bestpath\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "IPv6 prefix <network>/<length>\n")
+ "IPv4 prefix\n"
+ "IPv6 prefix\n")
{
int idx_ipv4_ipv6_prefixlen = 4;
BGP_STR
"BGP updates\n"
"Specify a prefix to debug\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "IPv6 prefix <network>/<length>\n")
+ "IPv4 prefix\n"
+ "IPv6 prefix\n")
{
int idx_ipv4_ipv6_prefixlen = 4;
BGP_STR
"BGP updates\n"
"Specify a prefix to debug\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "IPv6 prefix <network>/<length>\n")
+ "IPv4 prefix\n"
+ "IPv6 prefix\n")
{
int idx_ipv4_ipv6_prefixlen = 5;
BGP_STR
"BGP Zebra messages\n"
"Specify a prefix to debug\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "IPv6 prefix <network>/<length>\n")
+ "IPv4 prefix\n"
+ "IPv6 prefix\n")
{
int idx_ipv4_ipv6_prefixlen = 4;
BGP_STR
"BGP Zebra messages\n"
"Specify a prefix to debug\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "IPv6 prefix <network>/<length>\n")
+ "IPv4 prefix\n"
+ "IPv6 prefix\n")
{
int idx_ipv4_ipv6_prefixlen = 5;
encap_network_cmd,
"network A.B.C.D/M rd ASN:nn_or_IP-address:nn tag WORD",
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Specify Route Distinguisher\n"
"ENCAP Route Distinguisher\n"
"BGP tag\n"
"no network A.B.C.D/M rd ASN:nn_or_IP-address:nn tag WORD",
NO_STR
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Specify Route Distinguisher\n"
"ENCAP Route Distinguisher\n"
"BGP tag\n"
vpnv4_network_cmd,
"network A.B.C.D/M rd ASN:nn_or_IP-address:nn tag WORD",
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Specify Route Distinguisher\n"
"VPN Route Distinguisher\n"
"BGP tag\n"
vpnv4_network_route_map_cmd,
"network A.B.C.D/M rd ASN:nn_or_IP-address:nn tag WORD route-map WORD",
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Specify Route Distinguisher\n"
"VPN Route Distinguisher\n"
"BGP tag\n"
"no network A.B.C.D/M rd ASN:nn_or_IP-address:nn tag WORD",
NO_STR
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Specify Route Distinguisher\n"
"VPN Route Distinguisher\n"
"BGP tag\n"
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information about all VPNv4 NLRIs\n")
{
return bgp_show_mpls_vpn (vty, AFI_IP, NULL, bgp_show_type_normal, NULL, 0, 0);
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information for a route distinguisher\n"
"VPN Route Distinguisher\n")
{
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information about all VPNv4 NLRIs\n"
"Display BGP tags for prefixes\n")
{
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information for a route distinguisher\n"
"VPN Route Distinguisher\n"
"Display BGP tags for prefixes\n")
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information about all VPNv4 NLRIs\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information for a route distinguisher\n"
"VPN Route Distinguisher\n"
"Detailed information on TCP and BGP neighbor connections\n"
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information about all VPNv4 NLRIs\n"
"Detailed information on TCP and BGP neighbor connections\n"
"Neighbor to display information about\n"
SHOW_STR
IP_STR
BGP_STR
- "Display VPNv4 NLRI specific information\n"
+ "Address Family\n"
"Display information for a route distinguisher\n"
"VPN Route Distinguisher\n"
"Detailed information on TCP and BGP neighbor connections\n"
bgp_network_cmd,
"network A.B.C.D/M",
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
+ "IPv4 prefix\n")
{
int idx_ipv4_prefixlen = 1;
return bgp_static_set (vty, vty->index, argv[idx_ipv4_prefixlen]->arg,
bgp_network_route_map_cmd,
"network A.B.C.D/M route-map WORD",
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Route-map to modify the attributes\n"
"Name of the route map\n")
{
bgp_network_backdoor_cmd,
"network A.B.C.D/M backdoor",
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Specify a BGP backdoor route\n")
{
int idx_ipv4_prefixlen = 1;
"no network A.B.C.D/M [<backdoor|route-map WORD>]",
NO_STR
"Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Specify a BGP backdoor route\n"
"Route-map to modify the attributes\n"
"Name of the route map\n")
ipv6_bgp_network_cmd,
"network X:X::X:X/M",
"Specify a network to announce via BGP\n"
- "IPv6 prefix <network>/<length>\n")
+ "IPv6 prefix\n")
{
int idx_ipv6_prefixlen = 1;
return bgp_static_set (vty, vty->index, argv[idx_ipv6_prefixlen]->arg, AFI_IP6, bgp_node_safi(vty),
ipv6_bgp_network_route_map_cmd,
"network X:X::X:X/M route-map WORD",
"Specify a network to announce via BGP\n"
- "IPv6 prefix <network>/<length>\n"
+ "IPv6 prefix\n"
"Route-map to modify the attributes\n"
"Name of the route map\n")
{
"no network X:X::X:X/M [route-map WORD]",
NO_STR
"Specify a network to announce via BGP\n"
- "IPv6 prefix <network>/<length>\n"
+ "IPv6 prefix\n"
"Route-map to modify the attributes\n"
"Name of the route map\n")
{
"show [ip] bgp [<view|vrf> WORD] [<ipv4 [<unicast|multicast>]|ipv6 [<unicast|multicast>]|encap [unicast]|vpnv4 [unicast]>]\
[<\
cidr-only\
- |community\
|dampening <flap-statistics|dampened-paths|parameters>\
|route-map WORD\
|prefix-list WORD\
|filter-list WORD\
- |community <AA:NN|local-AS|no-advertise|no-export> [exact-match]\
+ |community [<AA:NN|local-AS|no-advertise|no-export> [exact-match]]\
|community-list <(1-500)|WORD> [exact-match]\
|A.B.C.D/M longer-prefixes\
|X:X::X:X/M longer-prefixes\
"Address Family\n"
"Address Family modifier\n"
"Display only routes with non-natural netmasks\n"
- "Display routes matching the communities\n"
"Display detailed information about dampening\n"
"Display flap statistics of routes\n"
"Display paths suppressed due to dampening\n"
+ "Display dampening parameters\n"
"Display routes matching the route-map\n"
"A route-map to match on\n"
"Display routes conforming to the prefix-list\n"
"community-list number\n"
"community-list name\n"
"Exact match of the communities\n"
- "IPv4 prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Display route and more specific routes\n"
- "IPv6 prefix <network>/<length>\n"
+ "IPv6 prefix\n"
"Display route and more specific routes\n"
"JavaScript Object Notation\n")
{
"Address Family\n"
"Address Family modifier\n"
"Network in the BGP routing table to display\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ "IPv4 prefix\n"
"Network in the BGP routing table to display\n"
- "IPv6 prefix <network>/<length>\n"
+ "IPv6 prefix\n"
"Display only the bestpath\n"
"Display only multipaths\n"
"JavaScript Object Notation\n")
IP_STR
BGP_STR
"Clear route flap dampening information\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
+ "IPv4 prefix\n")
{
int idx_ipv4_prefixlen = 4;
return bgp_clear_damp_route (vty, NULL, argv[idx_ipv4_prefixlen]->arg, AFI_IP,
BGP_STR
BGP_INSTANCE_HELP_STR
"Clear bestpath and re-advertise\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
+ "IPv4 prefix\n")
{
char *vrf = NULL;
char *prefix = NULL;
/* [<view|vrf> WORD] */
if (argv_find (argv, argc, "WORD", &idx))
vrf = argv[idx]->arg;
-
+
prefix = argv[argc-1]->arg;
return bgp_clear_prefix (vty, vrf, prefix, AFI_IP, SAFI_UNICAST, NULL);
"Address Family\n"
"Address Family Modifier\n"
"Clear bestpath and re-advertise\n"
- "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n")
+ "IPv6 prefix\n")
{
int idx_safi = 3;
int idx_ipv6_prefixlen = 5;
"Address Family\n"
"Address Family Modifier\n"
"Clear bestpath and re-advertise\n"
- "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n")
+ "IPv6 prefix\n")
{
int idx_word = 3;
int idx_safi = 5;
BGP_INSTANCE_HELP_STR
"Address Family\n"
"Address Family modifier\n"
- "Address Family\n"
"Address Family modifier\n"
"Address Family\n"
"Address Family modifier\n"
+ "Address Family modifier\n"
"Address Family\n"
"Address Family modifier\n"
"Address Family\n"
BGP_INSTANCE_HELP_STR
"Address Family\n"
"Address Family modifier\n"
- "Address Family\n"
"Address Family modifier\n"
"Address Family\n"
"Address Family modifier\n"
+ "Address Family modifier\n"
"Address Family\n"
"Address Family modifier\n"
"Address Family\n"
SHOW_STR
BGP_STR
BGP_INSTANCE_ALL_HELP_STR
- "Detailed info about v6 dynamic update groups\n")
+ "Detailed info about dynamic update groups\n")
{
bgp_show_all_instances_updgrps_vty (vty, AFI_IP6, SAFI_UNICAST);
return CMD_SUCCESS;
"show bgp update-groups statistics",
SHOW_STR
BGP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Statistics\n")
{
struct bgp *bgp;
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Statistics\n")
{
int idx_word = 3;
SHOW_STR
IP_STR
BGP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Advertisement queue\n"
"Announced routes\n"
"Packet queue\n")
IP_STR
BGP_STR
BGP_INSTANCE_HELP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Advertisement queue\n"
"Announced routes\n"
"Packet queue\n")
"Address Family\n"
"Address Family modifier\n"
"Address Family modifier\n"
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Advertisement queue\n"
"Announced routes\n"
"Packet queue\n"
"show bgp update-groups <advertise-queue|advertised-routes|packet-queue>",
SHOW_STR
BGP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Advertisement queue\n"
"Announced routes\n"
"Packet queue\n")
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Advertisement queue\n"
"Announced routes\n"
"Packet queue\n")
SHOW_STR
IP_STR
BGP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Specific subgroup to display info for\n"
"Advertisement queue\n"
"Announced routes\n"
IP_STR
BGP_STR
BGP_INSTANCE_HELP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Specific subgroup to display info for\n"
"Advertisement queue\n"
"Announced routes\n"
"Address Family\n"
"Address Family modifier\n"
"Address Family modifier\n"
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Specific subgroup to display info for\n"
"Advertisement queue\n"
"Announced routes\n"
"show bgp update-groups SUBGROUP-ID <advertise-queue|advertised-routes|packet-queue>",
SHOW_STR
BGP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Specific subgroup to display info for\n"
"Advertisement queue\n"
"Announced routes\n"
SHOW_STR
BGP_STR
BGP_INSTANCE_HELP_STR
- "BGP update groups\n"
+ "Detailed info about dynamic update groups\n"
"Specific subgroup to display info for\n"
"Advertisement queue\n"
"Announced routes\n"