return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Disables BFD support\n"
+ * "Detect Multiplier\n"
+ * "Required min receive interval\n"
+ * "Desired min transmit interval\n"
+ *
+ */
DEFUN (no_neighbor_bfd,
no_neighbor_bfd_cmd,
NO_NEIGHBOR_CMD2 "bfd",
return CMD_SUCCESS;
}
-ALIAS (no_neighbor_bfd,
- no_neighbor_bfd_val_cmd,
- NO_NEIGHBOR_CMD2 "bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Disables BFD support\n"
- "Detect Multiplier\n"
- "Required min receive interval\n"
- "Desired min transmit interval\n")
DEFUN_HIDDEN (no_neighbor_bfd_type,
no_neighbor_bfd_type_cmd,
install_element (BGP_NODE, &neighbor_bfd_param_cmd);
install_element (BGP_NODE, &neighbor_bfd_type_cmd);
install_element (BGP_NODE, &no_neighbor_bfd_cmd);
- install_element (BGP_NODE, &no_neighbor_bfd_val_cmd);
install_element (BGP_NODE, &no_neighbor_bfd_type_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug bgp allow-martians",
+ * UNDEBUG_STR
+ * BGP_STR
+ * "BGP allow martian next hops\n"
+ *
+ */
DEFUN (no_debug_bgp_allow_martians,
no_debug_bgp_allow_martians_cmd,
"no debug bgp allow-martians",
return CMD_SUCCESS;
}
-ALIAS (no_debug_bgp_allow_martians,
- undebug_bgp_allow_martians_cmd,
- "undebug bgp allow-martians",
- UNDEBUG_STR
- BGP_STR
- "BGP allow martian next hops\n")
/* debug bgp update-groups */
DEFUN (debug_bgp_update_groups,
install_element (ENABLE_NODE, &no_debug_bgp_zebra_cmd);
install_element (CONFIG_NODE, &no_debug_bgp_zebra_cmd);
install_element (ENABLE_NODE, &no_debug_bgp_allow_martians_cmd);
- install_element (ENABLE_NODE, &undebug_bgp_allow_martians_cmd);
install_element (CONFIG_NODE, &no_debug_bgp_allow_martians_cmd);
install_element (ENABLE_NODE, &no_debug_bgp_update_groups_cmd);
install_element (CONFIG_NODE, &no_debug_bgp_update_groups_cmd);
NULL, 1);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no network A.B.C.D/M 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"
+ * "Route-map to modify the attributes\n"
+ * "Name of the route map\n"
+ *
+ * "no network A.B.C.D/M backdoor",
+ * NO_STR
+ * "Specify a network to announce via BGP\n"
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ * "Specify a BGP backdoor route\n"
+ *
+ */
DEFUN (no_bgp_network,
no_bgp_network_cmd,
"no network A.B.C.D/M",
bgp_node_safi (vty));
}
-ALIAS (no_bgp_network,
- no_bgp_network_route_map_cmd,
- "no network A.B.C.D/M 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"
- "Route-map to modify the attributes\n"
- "Name of the route map\n")
-ALIAS (no_bgp_network,
- no_bgp_network_backdoor_cmd,
- "no network A.B.C.D/M backdoor",
- NO_STR
- "Specify a network to announce via BGP\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "Specify a BGP backdoor route\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no network A.B.C.D mask A.B.C.D backdoor",
+ * NO_STR
+ * "Specify a network to announce via BGP\n"
+ * "Network number\n"
+ * "Network mask\n"
+ * "Network mask\n"
+ * "Specify a BGP backdoor route\n"
+ *
+ * "no network A.B.C.D mask A.B.C.D route-map WORD",
+ * NO_STR
+ * "Specify a network to announce via BGP\n"
+ * "Network number\n"
+ * "Network mask\n"
+ * "Network mask\n"
+ * "Route-map to modify the attributes\n"
+ * "Name of the route map\n"
+ *
+ */
DEFUN (no_bgp_network_mask,
no_bgp_network_mask_cmd,
"no network A.B.C.D mask A.B.C.D",
bgp_node_safi (vty));
}
-ALIAS (no_bgp_network_mask,
- no_bgp_network_mask_route_map_cmd,
- "no network A.B.C.D mask A.B.C.D route-map WORD",
- NO_STR
- "Specify a network to announce via BGP\n"
- "Network number\n"
- "Network mask\n"
- "Network mask\n"
- "Route-map to modify the attributes\n"
- "Name of the route map\n")
-ALIAS (no_bgp_network_mask,
- no_bgp_network_mask_backdoor_cmd,
- "no network A.B.C.D mask A.B.C.D backdoor",
- NO_STR
- "Specify a network to announce via BGP\n"
- "Network number\n"
- "Network mask\n"
- "Network mask\n"
- "Specify a BGP backdoor route\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no network A.B.C.D backdoor",
+ * NO_STR
+ * "Specify a network to announce via BGP\n"
+ * "Network number\n"
+ * "Specify a BGP backdoor route\n"
+ *
+ * "no network A.B.C.D route-map WORD",
+ * NO_STR
+ * "Specify a network to announce via BGP\n"
+ * "Network number\n"
+ * "Route-map to modify the attributes\n"
+ * "Name of the route map\n"
+ *
+ */
DEFUN (no_bgp_network_mask_natural,
no_bgp_network_mask_natural_cmd,
"no network A.B.C.D",
bgp_node_safi (vty));
}
-ALIAS (no_bgp_network_mask_natural,
- no_bgp_network_mask_natural_route_map_cmd,
- "no network A.B.C.D route-map WORD",
- NO_STR
- "Specify a network to announce via BGP\n"
- "Network number\n"
- "Route-map to modify the attributes\n"
- "Name of the route map\n")
-ALIAS (no_bgp_network_mask_natural,
- no_bgp_network_mask_natural_backdoor_cmd,
- "no network A.B.C.D backdoor",
- NO_STR
- "Specify a network to announce via BGP\n"
- "Network number\n"
- "Specify a BGP backdoor route\n")
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ipv6 bgp network X:X::X:X/M",
+ * IPV6_STR
+ * BGP_STR
+ * "Specify a network to announce via BGP\n"
+ * "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n"
+ *
+ */
DEFUN (ipv6_bgp_network,
ipv6_bgp_network_cmd,
"network X:X::X:X/M",
bgp_node_safi (vty), argv[3]->arg, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "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"
+ * "Route-map to modify the attributes\n"
+ * "Name of the route map\n"
+ *
+ * "no ipv6 bgp network X:X::X:X/M",
+ * NO_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Specify a network to announce via BGP\n"
+ * "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n"
+ *
+ */
DEFUN (no_ipv6_bgp_network,
no_ipv6_bgp_network_cmd,
"no network X:X::X:X/M",
return bgp_static_unset (vty, vty->index, argv[2]->arg, AFI_IP6, bgp_node_safi(vty));
}
-ALIAS (no_ipv6_bgp_network,
- no_ipv6_bgp_network_route_map_cmd,
- "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"
- "Route-map to modify the attributes\n"
- "Name of the route map\n")
-ALIAS (ipv6_bgp_network,
- old_ipv6_bgp_network_cmd,
- "ipv6 bgp network X:X::X:X/M",
- IPV6_STR
- BGP_STR
- "Specify a network to announce via BGP\n"
- "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n")
-ALIAS (no_ipv6_bgp_network,
- old_no_ipv6_bgp_network_cmd,
- "no ipv6 bgp network X:X::X:X/M",
- NO_STR
- IPV6_STR
- BGP_STR
- "Specify a network to announce via BGP\n"
- "IPv6 prefix <network>/<length>, e.g., 3ffe::/16\n")
#endif /* HAVE_IPV6 */
/* Aggreagete address:
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "aggregate-address A.B.C.D/M summary-only as-set",
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ * "Filter more specific routes from updates\n"
+ * "Generate AS set path information\n"
+ *
+ */
DEFUN (aggregate_address_as_set_summary,
aggregate_address_as_set_summary_cmd,
"aggregate-address A.B.C.D/M as-set summary-only",
AGGREGATE_SUMMARY_ONLY, AGGREGATE_AS_SET);
}
-ALIAS (aggregate_address_as_set_summary,
- aggregate_address_summary_as_set_cmd,
- "aggregate-address A.B.C.D/M summary-only as-set",
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n"
- "Filter more specific routes from updates\n"
- "Generate AS set path information\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "aggregate-address A.B.C.D A.B.C.D summary-only as-set",
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate address\n"
+ * "Aggregate mask\n"
+ * "Filter more specific routes from updates\n"
+ * "Generate AS set path information\n"
+ *
+ */
DEFUN (aggregate_address_mask_as_set_summary,
aggregate_address_mask_as_set_summary_cmd,
"aggregate-address A.B.C.D A.B.C.D as-set summary-only",
AGGREGATE_SUMMARY_ONLY, AGGREGATE_AS_SET);
}
-ALIAS (aggregate_address_mask_as_set_summary,
- aggregate_address_mask_summary_as_set_cmd,
- "aggregate-address A.B.C.D A.B.C.D summary-only as-set",
- "Configure BGP aggregate entries\n"
- "Aggregate address\n"
- "Aggregate mask\n"
- "Filter more specific routes from updates\n"
- "Generate AS set path information\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no aggregate-address A.B.C.D/M summary-only",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ * "Filter more specific routes from updates\n"
+ *
+ * "no aggregate-address A.B.C.D/M as-set summary-only",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ * "Generate AS set path information\n"
+ * "Filter more specific routes from updates\n"
+ *
+ * "no aggregate-address A.B.C.D/M summary-only as-set",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ * "Filter more specific routes from updates\n"
+ * "Generate AS set path information\n"
+ *
+ * "no aggregate-address A.B.C.D/M as-set",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ * "Generate AS set path information\n"
+ *
+ */
DEFUN (no_aggregate_address,
no_aggregate_address_cmd,
"no aggregate-address A.B.C.D/M",
return bgp_aggregate_unset (vty, argv[2]->arg, AFI_IP, bgp_node_safi (vty));
}
-ALIAS (no_aggregate_address,
- no_aggregate_address_summary_only_cmd,
- "no aggregate-address A.B.C.D/M summary-only",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n"
- "Filter more specific routes from updates\n")
-ALIAS (no_aggregate_address,
- no_aggregate_address_as_set_cmd,
- "no aggregate-address A.B.C.D/M as-set",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n"
- "Generate AS set path information\n")
-ALIAS (no_aggregate_address,
- no_aggregate_address_as_set_summary_cmd,
- "no aggregate-address A.B.C.D/M as-set summary-only",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n"
- "Generate AS set path information\n"
- "Filter more specific routes from updates\n")
-ALIAS (no_aggregate_address,
- no_aggregate_address_summary_as_set_cmd,
- "no aggregate-address A.B.C.D/M summary-only as-set",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n"
- "Filter more specific routes from updates\n"
- "Generate AS set path information\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no aggregate-address A.B.C.D A.B.C.D summary-only as-set",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate address\n"
+ * "Aggregate mask\n"
+ * "Filter more specific routes from updates\n"
+ * "Generate AS set path information\n"
+ *
+ * "no aggregate-address A.B.C.D A.B.C.D as-set summary-only",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate address\n"
+ * "Aggregate mask\n"
+ * "Generate AS set path information\n"
+ * "Filter more specific routes from updates\n"
+ *
+ * "no aggregate-address A.B.C.D A.B.C.D summary-only",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate address\n"
+ * "Aggregate mask\n"
+ * "Filter more specific routes from updates\n"
+ *
+ * "no aggregate-address A.B.C.D A.B.C.D as-set",
+ * NO_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate address\n"
+ * "Aggregate mask\n"
+ * "Generate AS set path information\n"
+ *
+ */
DEFUN (no_aggregate_address_mask,
no_aggregate_address_mask_cmd,
"no aggregate-address A.B.C.D A.B.C.D",
return bgp_aggregate_unset (vty, prefix_str, AFI_IP, bgp_node_safi (vty));
}
-ALIAS (no_aggregate_address_mask,
- no_aggregate_address_mask_summary_only_cmd,
- "no aggregate-address A.B.C.D A.B.C.D summary-only",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate address\n"
- "Aggregate mask\n"
- "Filter more specific routes from updates\n")
-ALIAS (no_aggregate_address_mask,
- no_aggregate_address_mask_as_set_cmd,
- "no aggregate-address A.B.C.D A.B.C.D as-set",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate address\n"
- "Aggregate mask\n"
- "Generate AS set path information\n")
-ALIAS (no_aggregate_address_mask,
- no_aggregate_address_mask_as_set_summary_cmd,
- "no aggregate-address A.B.C.D A.B.C.D as-set summary-only",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate address\n"
- "Aggregate mask\n"
- "Generate AS set path information\n"
- "Filter more specific routes from updates\n")
-ALIAS (no_aggregate_address_mask,
- no_aggregate_address_mask_summary_as_set_cmd,
- "no aggregate-address A.B.C.D A.B.C.D summary-only as-set",
- NO_STR
- "Configure BGP aggregate entries\n"
- "Aggregate address\n"
- "Aggregate mask\n"
- "Filter more specific routes from updates\n"
- "Generate AS set path information\n")
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ipv6 bgp aggregate-address X:X::X:X/M",
+ * IPV6_STR
+ * BGP_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ *
+ */
DEFUN (ipv6_aggregate_address,
ipv6_aggregate_address_cmd,
"aggregate-address X:X::X:X/M",
return bgp_aggregate_set (vty, argv[1]->arg, AFI_IP6, SAFI_UNICAST, 0, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ipv6 bgp aggregate-address X:X::X:X/M summary-only",
+ * IPV6_STR
+ * BGP_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ * "Filter more specific routes from updates\n"
+ *
+ */
DEFUN (ipv6_aggregate_address_summary_only,
ipv6_aggregate_address_summary_only_cmd,
"aggregate-address X:X::X:X/M summary-only",
AGGREGATE_SUMMARY_ONLY, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 bgp aggregate-address X:X::X:X/M",
+ * NO_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ *
+ */
DEFUN (no_ipv6_aggregate_address,
no_ipv6_aggregate_address_cmd,
"no aggregate-address X:X::X:X/M",
return bgp_aggregate_unset (vty, argv[2]->arg, AFI_IP6, SAFI_UNICAST);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 bgp aggregate-address X:X::X:X/M summary-only",
+ * NO_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Configure BGP aggregate entries\n"
+ * "Aggregate prefix\n"
+ * "Filter more specific routes from updates\n"
+ *
+ */
DEFUN (no_ipv6_aggregate_address_summary_only,
no_ipv6_aggregate_address_summary_only_cmd,
"no aggregate-address X:X::X:X/M summary-only",
return bgp_aggregate_unset (vty, argv[2]->arg, AFI_IP6, SAFI_UNICAST);
}
-ALIAS (ipv6_aggregate_address,
- old_ipv6_aggregate_address_cmd,
- "ipv6 bgp aggregate-address X:X::X:X/M",
- IPV6_STR
- BGP_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n")
-ALIAS (ipv6_aggregate_address_summary_only,
- old_ipv6_aggregate_address_summary_only_cmd,
- "ipv6 bgp aggregate-address X:X::X:X/M summary-only",
- IPV6_STR
- BGP_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n"
- "Filter more specific routes from updates\n")
-ALIAS (no_ipv6_aggregate_address,
- old_no_ipv6_aggregate_address_cmd,
- "no ipv6 bgp aggregate-address X:X::X:X/M",
- NO_STR
- IPV6_STR
- BGP_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n")
-ALIAS (no_ipv6_aggregate_address_summary_only,
- old_no_ipv6_aggregate_address_summary_only_cmd,
- "no ipv6 bgp aggregate-address X:X::X:X/M summary-only",
- NO_STR
- IPV6_STR
- BGP_STR
- "Configure BGP aggregate entries\n"
- "Aggregate prefix\n"
- "Filter more specific routes from updates\n")
#endif /* HAVE_IPV6 */
/* Redistribute route treatment. */
return bgp_show (vty, NULL, AFI_IP, SAFI_UNICAST, bgp_show_type_normal, NULL, use_json(argc, argv));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv4 (unicast|multicast) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_ipv4,
show_ip_bgp_ipv4_cmd,
"show ip bgp ipv4 (unicast|multicast) {json}",
return bgp_show (vty, NULL, AFI_IP, SAFI_UNICAST, bgp_show_type_normal, NULL, uj);
}
-ALIAS (show_ip_bgp_ipv4,
- show_bgp_ipv4_safi_cmd,
- "show bgp ipv4 (unicast|multicast) {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "JavaScript Object Notation\n")
DEFUN (show_ip_bgp_route,
show_ip_bgp_route_cmd,
return bgp_show_route (vty, NULL, argv[3]->arg, AFI_IP6, SAFI_UNICAST, NULL, 1, BGP_PATH_ALL, use_json (argc,argv));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv4 (unicast|multicast) A.B.C.D {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * "Network in the BGP routing table to display\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_ipv4_route,
show_ip_bgp_ipv4_route_cmd,
"show ip bgp ipv4 (unicast|multicast) A.B.C.D {json}",
return bgp_show_route (vty, NULL, argv[5]->arg, AFI_IP, SAFI_UNICAST, NULL, 0, BGP_PATH_ALL, uj);
}
-ALIAS (show_ip_bgp_ipv4_route,
- show_bgp_ipv4_safi_route_cmd,
- "show bgp ipv4 (unicast|multicast) A.B.C.D {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "Network in the BGP routing table to display\n"
- "JavaScript Object Notation\n")
DEFUN (show_ip_bgp_vpnv4_all_route,
show_ip_bgp_vpnv4_all_route_cmd,
return bgp_show_route (vty, NULL, argv[3]->arg, AFI_IP, SAFI_UNICAST, NULL, 1, BGP_PATH_MULTIPATH, uj);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv4 (unicast|multicast) A.B.C.D/M {json}",
+ * 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"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_ipv4_prefix,
show_ip_bgp_ipv4_prefix_cmd,
"show ip bgp ipv4 (unicast|multicast) A.B.C.D/M {json}",
return bgp_show_route (vty, NULL, argv[5]->arg, AFI_IP, SAFI_UNICAST, NULL, 1, BGP_PATH_ALL, uj);
}
-ALIAS (show_ip_bgp_ipv4_prefix,
- show_bgp_ipv4_safi_prefix_cmd,
- "show bgp ipv4 (unicast|multicast) A.B.C.D/M {json}",
- 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"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv4 (unicast|multicast) A.B.C.D/M (bestpath|multipath) {json}",
+ * SHOW_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"
+ * "Display only the bestpath\n"
+ * "Display only multipaths\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_ipv4_prefix_pathtype,
show_ip_bgp_ipv4_prefix_pathtype_cmd,
"show ip bgp ipv4 (unicast|multicast) A.B.C.D/M (bestpath|multipath) {json}",
return bgp_show_route (vty, NULL, argv[5]->arg, AFI_IP, SAFI_UNICAST, NULL, 1, BGP_PATH_MULTIPATH, uj);
}
-ALIAS (show_ip_bgp_ipv4_prefix_pathtype,
- show_bgp_ipv4_safi_prefix_pathtype_cmd,
- "show bgp ipv4 (unicast|multicast) A.B.C.D/M (bestpath|multipath) {json}",
- 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"
- "Display only the bestpath\n"
- "Display only multipaths\n"
- "JavaScript Object Notation\n")
DEFUN (show_ip_bgp_vpnv4_all_prefix,
show_ip_bgp_vpnv4_all_prefix_cmd,
}
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp,
show_bgp_cmd,
"show bgp {json}",
NULL, use_json(argc, argv));
}
-ALIAS (show_bgp,
- show_bgp_ipv6_cmd,
- "show bgp ipv6 {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "JavaScript Object Notation\n")
DEFUN (show_bgp_ipv6_safi,
show_bgp_ipv6_safi_cmd,
return bgp_show_route (vty, NULL, argv[4]->arg, AFI_IP6, SAFI_UNICAST, NULL, 0, BGP_PATH_ALL, uj);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 X:X::X:X (bestpath|multipath) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Network in the BGP routing table to display\n"
+ * "Display only the bestpath\n"
+ * "Display only multipaths\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_route_pathtype,
show_bgp_route_pathtype_cmd,
"show bgp X:X::X:X (bestpath|multipath) {json}",
return bgp_show_route (vty, NULL, argv[2]->arg, AFI_IP6, SAFI_UNICAST, NULL, 0, BGP_PATH_MULTIPATH, uj);
}
-ALIAS (show_bgp_route_pathtype,
- show_bgp_ipv6_route_pathtype_cmd,
- "show bgp ipv6 X:X::X:X (bestpath|multipath) {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Network in the BGP routing table to display\n"
- "Display only the bestpath\n"
- "Display only multipaths\n"
- "JavaScript Object Notation\n")
DEFUN (show_bgp_ipv6_safi_route_pathtype,
show_bgp_ipv6_safi_route_pathtype_cmd,
return bgp_show_route (vty, NULL, argv[4]->arg, AFI_IP6, SAFI_UNICAST, NULL, 1, BGP_PATH_ALL, uj);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 X:X::X:X/M (bestpath|multipath) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "IPv6 prefix <network>/<length>\n"
+ * "Display only the bestpath\n"
+ * "Display only multipaths\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_prefix_pathtype,
show_bgp_prefix_pathtype_cmd,
"show bgp X:X::X:X/M (bestpath|multipath) {json}",
return bgp_show_route (vty, NULL, argv[2]->arg, AFI_IP6, SAFI_UNICAST, NULL, 1, BGP_PATH_MULTIPATH, uj);
}
-ALIAS (show_bgp_prefix_pathtype,
- show_bgp_ipv6_prefix_pathtype_cmd,
- "show bgp ipv6 X:X::X:X/M (bestpath|multipath) {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "IPv6 prefix <network>/<length>\n"
- "Display only the bestpath\n"
- "Display only multipaths\n"
- "JavaScript Object Notation\n")
DEFUN (show_bgp_ipv6_safi_prefix_pathtype,
show_bgp_ipv6_safi_prefix_pathtype_cmd,
return bgp_show_route (vty, NULL, argv[3]->arg, AFI_IP6, SAFI_UNICAST, NULL, 1, BGP_PATH_ALL, use_json(argc, argv));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_view,
show_bgp_instance_cmd,
"show bgp " BGP_INSTANCE_CMD " {json}",
return CMD_SUCCESS;
}
-ALIAS (show_bgp_view,
- show_bgp_instance_ipv6_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Network in the BGP routing table to display\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_route,
show_bgp_instance_route_cmd,
"show bgp " BGP_INSTANCE_CMD " X:X::X:X {json}",
return bgp_show_route (vty, argv[3]->arg, argv[4]->arg, AFI_IP6, SAFI_UNICAST, NULL, 0, BGP_PATH_ALL, use_json(argc, argv));
}
-ALIAS (show_bgp_instance_route,
- show_bgp_instance_ipv6_route_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Network in the BGP routing table to display\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X (bestpath|multipath) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Network in the BGP routing table to display\n"
+ * "Display only the bestpath\n"
+ * "Display only multipaths\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_route_pathtype,
show_bgp_instance_route_pathtype_cmd,
"show bgp " BGP_INSTANCE_CMD " X:X::X:X (bestpath|multipath) {json}",
return bgp_show_route (vty, argv[3]->arg, argv[4]->arg, AFI_IP6, SAFI_UNICAST, NULL, 0, BGP_PATH_MULTIPATH, uj);
}
-ALIAS (show_bgp_instance_route_pathtype,
- show_bgp_instance_ipv6_route_pathtype_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X (bestpath|multipath) {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Network in the BGP routing table to display\n"
- "Display only the bestpath\n"
- "Display only multipaths\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "IPv6 prefix <network>/<length>\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_prefix,
show_bgp_instance_prefix_cmd,
"show bgp " BGP_INSTANCE_CMD " X:X::X:X/M {json}",
return bgp_show_route (vty, argv[3]->arg, argv[4]->arg, AFI_IP6, SAFI_UNICAST, NULL, 1, BGP_PATH_ALL, use_json(argc, argv));
}
-ALIAS (show_bgp_instance_prefix,
- show_bgp_instance_ipv6_prefix_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "IPv6 prefix <network>/<length>\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M (bestpath|multipath) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "IPv6 prefix <network>/<length>\n"
+ * "Display only the bestpath\n"
+ * "Display only multipaths\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_prefix_pathtype,
show_bgp_instance_prefix_pathtype_cmd,
"show bgp " BGP_INSTANCE_CMD " X:X::X:X/M (bestpath|multipath) {json}",
return bgp_show_route (vty, argv[3]->arg, argv[4]->arg, AFI_IP6, SAFI_UNICAST, NULL, 1, BGP_PATH_MULTIPATH, uj);
}
-ALIAS (show_bgp_instance_prefix_pathtype,
- show_bgp_instance_ipv6_prefix_pathtype_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M (bestpath|multipath) {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "IPv6 prefix <network>/<length>\n"
- "Display only the bestpath\n"
- "Display only multipaths\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 prefix-list WORD",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Display routes conforming to the prefix-list\n"
+ * "IPv6 prefix-list name\n"
+ *
+ */
DEFUN (show_bgp_instance_prefix_list,
show_bgp_instance_prefix_list_cmd,
"show bgp " BGP_INSTANCE_CMD " prefix-list WORD",
bgp_show_type_prefix_list);
}
-ALIAS (show_bgp_instance_prefix_list,
- show_bgp_instance_ipv6_prefix_list_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 prefix-list WORD",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Display routes conforming to the prefix-list\n"
- "IPv6 prefix-list name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 filter-list WORD",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Display routes conforming to the filter-list\n"
+ * "Regular expression access list name\n"
+ *
+ */
DEFUN (show_bgp_instance_filter_list,
show_bgp_instance_filter_list_cmd,
"show bgp " BGP_INSTANCE_CMD " filter-list WORD",
bgp_show_type_filter_list);
}
-ALIAS (show_bgp_instance_filter_list,
- show_bgp_instance_ipv6_filter_list_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 filter-list WORD",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Display routes conforming to the filter-list\n"
- "Regular expression access list name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 route-map WORD",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Display routes matching the route-map\n"
+ * "A route-map to match on\n"
+ *
+ */
DEFUN (show_bgp_instance_route_map,
show_bgp_instance_route_map_cmd,
"show bgp " BGP_INSTANCE_CMD " route-map WORD",
bgp_show_type_route_map);
}
-ALIAS (show_bgp_instance_route_map,
- show_bgp_instance_ipv6_route_map_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 route-map WORD",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Display routes matching the route-map\n"
- "A route-map to match on\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 community-list (<1-500>|WORD)",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Display routes matching the community-list\n"
+ * "community-list number\n"
+ * "community-list name\n"
+ *
+ */
DEFUN (show_bgp_instance_community_list,
show_bgp_instance_community_list_cmd,
"show bgp " BGP_INSTANCE_CMD " community-list (<1-500>|WORD)",
return bgp_show_community_list (vty, argv[3]->arg, argv[5]->arg, 0, AFI_IP6, SAFI_UNICAST);
}
-ALIAS (show_bgp_instance_community_list,
- show_bgp_instance_ipv6_community_list_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 community-list (<1-500>|WORD)",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Display routes matching the community-list\n"
- "community-list number\n"
- "community-list name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M longer-prefixes",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "IPv6 prefix <network>/<length>\n"
+ * "Display route and more specific routes\n"
+ *
+ */
DEFUN (show_bgp_instance_prefix_longer,
show_bgp_instance_prefix_longer_cmd,
"show bgp " BGP_INSTANCE_CMD " X:X::X:X/M longer-prefixes",
bgp_show_type_prefix_longer);
}
-ALIAS (show_bgp_instance_prefix_longer,
- show_bgp_instance_ipv6_prefix_longer_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 X:X::X:X/M longer-prefixes",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "IPv6 prefix <network>/<length>\n"
- "Display route and more specific routes\n")
/* old command */
DEFUN (show_ipv6_mbgp,
return rc;
}
-DEFUN (show_ip_bgp_regexp,
+DEFUN (show_ip_bgp_regexp,
show_ip_bgp_regexp_cmd,
"show ip bgp regexp .LINE",
SHOW_STR
bgp_show_type_regexp);
}
-DEFUN (show_ip_bgp_flap_regexp,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics regexp .LINE",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "Display routes matching the AS path regular expression\n"
+ * "A regular-expression to match the BGP AS paths\n"
+ *
+ */
+DEFUN (show_ip_bgp_flap_regexp,
show_ip_bgp_flap_regexp_cmd,
"show ip bgp flap-statistics regexp .LINE",
SHOW_STR
bgp_show_type_flap_regexp);
}
-ALIAS (show_ip_bgp_flap_regexp,
- show_ip_bgp_damp_flap_regexp_cmd,
- "show ip bgp dampening flap-statistics regexp .LINE",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "Display routes matching the AS path regular expression\n"
- "A regular-expression to match the BGP AS paths\n")
-DEFUN (show_ip_bgp_ipv4_regexp,
+DEFUN (show_ip_bgp_ipv4_regexp,
show_ip_bgp_ipv4_regexp_cmd,
"show ip bgp ipv4 (unicast|multicast) regexp .LINE",
SHOW_STR
}
#ifdef HAVE_IPV6
-DEFUN (show_bgp_regexp,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 regexp .LINE",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the AS path regular expression\n"
+ * "A regular-expression to match the BGP AS paths\n"
+ *
+ */
+DEFUN (show_bgp_regexp,
show_bgp_regexp_cmd,
"show bgp regexp .LINE",
SHOW_STR
bgp_show_type_regexp);
}
-ALIAS (show_bgp_regexp,
- show_bgp_ipv6_regexp_cmd,
- "show bgp ipv6 regexp .LINE",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the AS path regular expression\n"
- "A regular-expression to match the BGP AS paths\n")
/* old command */
-DEFUN (show_ipv6_bgp_regexp,
+DEFUN (show_ipv6_bgp_regexp,
show_ipv6_bgp_regexp_cmd,
"show ipv6 bgp regexp .LINE",
SHOW_STR
}
/* old command */
-DEFUN (show_ipv6_mbgp_regexp,
+DEFUN (show_ipv6_mbgp_regexp,
show_ipv6_mbgp_regexp_cmd,
"show ipv6 mbgp regexp .LINE",
SHOW_STR
return bgp_show (vty, bgp, afi, safi, type, plist, 0);
}
-DEFUN (show_ip_bgp_prefix_list,
+DEFUN (show_ip_bgp_prefix_list,
show_ip_bgp_prefix_list_cmd,
"show ip bgp prefix-list WORD",
SHOW_STR
bgp_show_type_prefix_list);
}
-DEFUN (show_ip_bgp_flap_prefix_list,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics prefix-list WORD",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "Display routes conforming to the prefix-list\n"
+ * "IP prefix-list name\n"
+ *
+ */
+DEFUN (show_ip_bgp_flap_prefix_list,
show_ip_bgp_flap_prefix_list_cmd,
"show ip bgp flap-statistics prefix-list WORD",
SHOW_STR
bgp_show_type_flap_prefix_list);
}
-ALIAS (show_ip_bgp_flap_prefix_list,
- show_ip_bgp_damp_flap_prefix_list_cmd,
- "show ip bgp dampening flap-statistics prefix-list WORD",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "Display routes conforming to the prefix-list\n"
- "IP prefix-list name\n")
-DEFUN (show_ip_bgp_ipv4_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",
SHOW_STR
}
#ifdef HAVE_IPV6
-DEFUN (show_bgp_prefix_list,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 prefix-list WORD",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes conforming to the prefix-list\n"
+ * "IPv6 prefix-list name\n"
+ *
+ */
+DEFUN (show_bgp_prefix_list,
show_bgp_prefix_list_cmd,
"show bgp prefix-list WORD",
SHOW_STR
bgp_show_type_prefix_list);
}
-ALIAS (show_bgp_prefix_list,
- show_bgp_ipv6_prefix_list_cmd,
- "show bgp ipv6 prefix-list WORD",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes conforming to the prefix-list\n"
- "IPv6 prefix-list name\n")
/* old command */
-DEFUN (show_ipv6_bgp_prefix_list,
+DEFUN (show_ipv6_bgp_prefix_list,
show_ipv6_bgp_prefix_list_cmd,
"show ipv6 bgp prefix-list WORD",
SHOW_STR
}
/* old command */
-DEFUN (show_ipv6_mbgp_prefix_list,
+DEFUN (show_ipv6_mbgp_prefix_list,
show_ipv6_mbgp_prefix_list_cmd,
"show ipv6 mbgp prefix-list WORD",
SHOW_STR
return bgp_show (vty, bgp, afi, safi, type, as_list, 0);
}
-DEFUN (show_ip_bgp_filter_list,
+DEFUN (show_ip_bgp_filter_list,
show_ip_bgp_filter_list_cmd,
"show ip bgp filter-list WORD",
SHOW_STR
bgp_show_type_filter_list);
}
-DEFUN (show_ip_bgp_flap_filter_list,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics filter-list WORD",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "Display routes conforming to the filter-list\n"
+ * "Regular expression access list name\n"
+ *
+ */
+DEFUN (show_ip_bgp_flap_filter_list,
show_ip_bgp_flap_filter_list_cmd,
"show ip bgp flap-statistics filter-list WORD",
SHOW_STR
bgp_show_type_flap_filter_list);
}
-ALIAS (show_ip_bgp_flap_filter_list,
- show_ip_bgp_damp_flap_filter_list_cmd,
- "show ip bgp dampening flap-statistics filter-list WORD",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "Display routes conforming to the filter-list\n"
- "Regular expression access list name\n")
-DEFUN (show_ip_bgp_ipv4_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",
SHOW_STR
}
#ifdef HAVE_IPV6
-DEFUN (show_bgp_filter_list,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 filter-list WORD",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes conforming to the filter-list\n"
+ * "Regular expression access list name\n"
+ *
+ */
+DEFUN (show_bgp_filter_list,
show_bgp_filter_list_cmd,
"show bgp filter-list WORD",
SHOW_STR
bgp_show_type_filter_list);
}
-ALIAS (show_bgp_filter_list,
- show_bgp_ipv6_filter_list_cmd,
- "show bgp ipv6 filter-list WORD",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes conforming to the filter-list\n"
- "Regular expression access list name\n")
/* old command */
-DEFUN (show_ipv6_bgp_filter_list,
+DEFUN (show_ipv6_bgp_filter_list,
show_ipv6_bgp_filter_list_cmd,
"show ipv6 bgp filter-list WORD",
SHOW_STR
}
/* old command */
-DEFUN (show_ipv6_mbgp_filter_list,
+DEFUN (show_ipv6_mbgp_filter_list,
show_ipv6_mbgp_filter_list_cmd,
"show ipv6 mbgp filter-list WORD",
SHOW_STR
return bgp_show (vty, bgp, afi, safi, type, rmap, 0);
}
-DEFUN (show_ip_bgp_route_map,
+DEFUN (show_ip_bgp_route_map,
show_ip_bgp_route_map_cmd,
"show ip bgp route-map WORD",
SHOW_STR
bgp_show_type_route_map);
}
-DEFUN (show_ip_bgp_flap_route_map,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics route-map WORD",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "Display routes matching the route-map\n"
+ * "A route-map to match on\n"
+ *
+ */
+DEFUN (show_ip_bgp_flap_route_map,
show_ip_bgp_flap_route_map_cmd,
"show ip bgp flap-statistics route-map WORD",
SHOW_STR
bgp_show_type_flap_route_map);
}
-ALIAS (show_ip_bgp_flap_route_map,
- show_ip_bgp_damp_flap_route_map_cmd,
- "show ip bgp dampening flap-statistics route-map WORD",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "Display routes matching the route-map\n"
- "A route-map to match on\n")
-DEFUN (show_ip_bgp_ipv4_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",
SHOW_STR
bgp_show_type_route_map);
}
-DEFUN (show_bgp_route_map,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 route-map WORD",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the route-map\n"
+ * "A route-map to match on\n"
+ *
+ */
+DEFUN (show_bgp_route_map,
show_bgp_route_map_cmd,
"show bgp route-map WORD",
SHOW_STR
bgp_show_type_route_map);
}
-ALIAS (show_bgp_route_map,
- show_bgp_ipv6_route_map_cmd,
- "show bgp ipv6 route-map WORD",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the route-map\n"
- "A route-map to match on\n")
DEFUN (show_ip_bgp_cidr_only,
show_ip_bgp_cidr_only_cmd,
bgp_show_type_cidr_only, NULL, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics cidr-only",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "Display only routes with non-natural netmasks\n"
+ *
+ */
DEFUN (show_ip_bgp_flap_cidr_only,
show_ip_bgp_flap_cidr_only_cmd,
"show ip bgp flap-statistics cidr-only",
bgp_show_type_flap_cidr_only, NULL, 0);
}
-ALIAS (show_ip_bgp_flap_cidr_only,
- show_ip_bgp_damp_flap_cidr_only_cmd,
- "show ip bgp dampening flap-statistics cidr-only",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "Display only routes with non-natural netmasks\n")
DEFUN (show_ip_bgp_ipv4_cidr_only,
show_ip_bgp_ipv4_cidr_only_cmd,
}
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 community",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ *
+ */
DEFUN (show_bgp_community_all,
show_bgp_community_all_cmd,
"show bgp community",
bgp_show_type_community_all, NULL, 0);
}
-ALIAS (show_bgp_community_all,
- show_bgp_ipv6_community_all_cmd,
- "show bgp ipv6 community",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the communities\n")
/* old command */
DEFUN (show_ipv6_bgp_community_all,
bgp_show_type_community), com, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp 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
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show ip bgp 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
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show ip bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ */
DEFUN (show_ip_bgp_community,
show_ip_bgp_community_cmd,
"show ip bgp community (AA:NN|local-AS|no-advertise|no-export)",
return bgp_show_community (vty, NULL, argc, argv, 0, AFI_IP, SAFI_UNICAST);
}
-ALIAS (show_ip_bgp_community,
- show_ip_bgp_community2_cmd,
- "show ip bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-ALIAS (show_ip_bgp_community,
- show_ip_bgp_community3_cmd,
- "show ip bgp 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
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-ALIAS (show_ip_bgp_community,
- show_ip_bgp_community4_cmd,
- "show ip bgp 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
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "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"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "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"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "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"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "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)",
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)",
+
+
+
+DEFUN (show_bgp_instance_afi_safi_community_all,
+ show_bgp_instance_afi_safi_community_all_cmd,
+ "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community",
SHOW_STR
- IP_STR
BGP_STR
+ BGP_INSTANCE_HELP_STR
+ "Address family\n"
"Address family\n"
"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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "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)",
- SHOW_STR
- IP_STR
- BGP_STR
- "Address family\n"
- "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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "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)",
- SHOW_STR
- IP_STR
- BGP_STR
- "Address family\n"
- "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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-DEFUN (show_bgp_instance_afi_safi_community_all,
- show_bgp_instance_afi_safi_community_all_cmd,
- "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "Display routes matching the communities\n")
-{
- int afi;
- int safi;
- struct bgp *bgp;
-
- /* BGP structure lookup. */
- bgp = bgp_lookup_by_name (argv[3]->arg);
- if (bgp == NULL)
- {
- vty_out (vty, "Can't find BGP instance %s%s", argv[3]->arg, VTY_NEWLINE);
- return CMD_WARNING;
- }
-
- afi = (strncmp (argv[4]->arg, "ipv6", 4) == 0) ? AFI_IP6 : AFI_IP;
- safi = (strncmp (argv[5]->arg, "m", 1) == 0) ? SAFI_MULTICAST : SAFI_UNICAST;
- return bgp_show (vty, bgp, afi, safi, bgp_show_type_community_all, NULL, 0);
-}
-
-DEFUN (show_bgp_instance_afi_safi_community,
- show_bgp_instance_afi_safi_community_cmd,
- "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Address family\n"
- "Address family modifier\n"
- "Address family modifier\n"
+ "Display routes matching the communities\n")
+{
+ int afi;
+ int safi;
+ struct bgp *bgp;
+
+ /* BGP structure lookup. */
+ bgp = bgp_lookup_by_name (argv[3]->arg);
+ if (bgp == NULL)
+ {
+ vty_out (vty, "Can't find BGP instance %s%s", argv[3]->arg, VTY_NEWLINE);
+ return CMD_WARNING;
+ }
+
+ afi = (strncmp (argv[4]->arg, "ipv6", 4) == 0) ? AFI_IP6 : AFI_IP;
+ safi = (strncmp (argv[5]->arg, "m", 1) == 0) ? SAFI_MULTICAST : SAFI_UNICAST;
+ return bgp_show (vty, bgp, afi, safi, bgp_show_type_community_all, NULL, 0);
+}
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Address family\n"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Address family\n"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Address family\n"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ */
+DEFUN (show_bgp_instance_afi_safi_community,
+ show_bgp_instance_afi_safi_community_cmd,
+ "show bgp " BGP_INSTANCE_CMD " (ipv4|ipv6) (unicast|multicast) community (AA:NN|local-AS|no-advertise|no-export)",
+ SHOW_STR
+ BGP_STR
+ BGP_INSTANCE_HELP_STR
+ "Address family\n"
+ "Address family\n"
+ "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"
return bgp_show_community (vty, argv[3]->arg, argc, argv, 0, afi, safi);
}
-ALIAS (show_bgp_instance_afi_safi_community,
- show_bgp_instance_afi_safi_community2_cmd,
- "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
- "Address family\n"
- "Address family\n"
- "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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-ALIAS (show_bgp_instance_afi_safi_community,
- show_bgp_instance_afi_safi_community3_cmd,
- "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
- "Address family\n"
- "Address family\n"
- "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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-ALIAS (show_bgp_instance_afi_safi_community,
- show_bgp_instance_afi_safi_community4_cmd,
- "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
- "Address family\n"
- "Address family\n"
- "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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp 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
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show ip bgp 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
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show ip bgp 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
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ */
DEFUN (show_ip_bgp_community_exact,
show_ip_bgp_community_exact_cmd,
"show ip bgp community (AA:NN|local-AS|no-advertise|no-export) exact-match",
return bgp_show_community (vty, NULL, argc, argv, 1, AFI_IP, SAFI_UNICAST);
}
-ALIAS (show_ip_bgp_community_exact,
- show_ip_bgp_community2_exact_cmd,
- "show ip bgp 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
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_ip_bgp_community_exact,
- show_ip_bgp_community3_exact_cmd,
- "show ip bgp 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
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_ip_bgp_community_exact,
- show_ip_bgp_community4_exact_cmd,
- "show ip bgp 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
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "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"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "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"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "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"
+ * "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"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "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",
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",
+
+
+
+#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp ipv6 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
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp 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
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp ipv6 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
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show bgp 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
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ */
+DEFUN (show_bgp_community,
+ show_bgp_community_cmd,
+ "show bgp community (AA:NN|local-AS|no-advertise|no-export)",
SHOW_STR
- IP_STR
BGP_STR
- "Address family\n"
- "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"
"Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "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",
- SHOW_STR
- IP_STR
- BGP_STR
- "Address family\n"
- "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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "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",
- SHOW_STR
- IP_STR
- BGP_STR
- "Address family\n"
- "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"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-
-#ifdef HAVE_IPV6
-DEFUN (show_bgp_community,
- show_bgp_community_cmd,
- "show bgp community (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-{
- return bgp_show_community (vty, NULL, argc, argv, 0, AFI_IP6, SAFI_UNICAST);
-}
-
-ALIAS (show_bgp_community,
- show_bgp_ipv6_community_cmd,
- "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-ALIAS (show_bgp_community,
- show_bgp_community2_cmd,
- "show bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-ALIAS (show_bgp_community,
- show_bgp_ipv6_community2_cmd,
- "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-ALIAS (show_bgp_community,
- show_bgp_community3_cmd,
- "show bgp 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
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-ALIAS (show_bgp_community,
- show_bgp_ipv6_community3_cmd,
- "show bgp ipv6 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
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-ALIAS (show_bgp_community,
- show_bgp_community4_cmd,
- "show bgp 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
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-ALIAS (show_bgp_community,
- show_bgp_ipv6_community4_cmd,
- "show bgp ipv6 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
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
-
-/* old command */
-DEFUN (show_ipv6_bgp_community,
- show_ipv6_bgp_community_cmd,
- "show ipv6 bgp community (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- IPV6_STR
- BGP_STR
- "Display routes matching the communities\n"
+ "Do not export to next AS (well-known community)\n")
+{
+ return bgp_show_community (vty, NULL, argc, argv, 0, AFI_IP6, SAFI_UNICAST);
+}
+
+
+
+
+
+
+
+
+/* old command */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 bgp 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
+ * IPV6_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show ipv6 bgp 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
+ * IPV6_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show ipv6 bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ */
+DEFUN (show_ipv6_bgp_community,
+ show_ipv6_bgp_community_cmd,
+ "show ipv6 bgp community (AA:NN|local-AS|no-advertise|no-export)",
+ SHOW_STR
+ IPV6_STR
+ BGP_STR
+ "Display routes matching the communities\n"
COMMUNITY_AANN_STR
"Do not send outside local AS (well-known community)\n"
"Do not advertise to any peer (well-known community)\n"
}
/* old command */
-ALIAS (show_ipv6_bgp_community,
- show_ipv6_bgp_community2_cmd,
- "show ipv6 bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- IPV6_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
/* old command */
-ALIAS (show_ipv6_bgp_community,
- show_ipv6_bgp_community3_cmd,
- "show ipv6 bgp 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
- IPV6_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
/* old command */
-ALIAS (show_ipv6_bgp_community,
- show_ipv6_bgp_community4_cmd,
- "show ipv6 bgp 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
- IPV6_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
+ * SHOW_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show bgp ipv6 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
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show bgp ipv6 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
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show bgp 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
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show bgp 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
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export) exact-match",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ */
DEFUN (show_bgp_community_exact,
show_bgp_community_exact_cmd,
"show bgp community (AA:NN|local-AS|no-advertise|no-export) exact-match",
return bgp_show_community (vty, NULL, argc, argv, 1, AFI_IP6, SAFI_UNICAST);
}
-ALIAS (show_bgp_community_exact,
- show_bgp_ipv6_community_exact_cmd,
- "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export) exact-match",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_bgp_community_exact,
- show_bgp_community2_exact_cmd,
- "show bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
- SHOW_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_bgp_community_exact,
- show_bgp_ipv6_community2_exact_cmd,
- "show bgp ipv6 community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_bgp_community_exact,
- show_bgp_community3_exact_cmd,
- "show bgp 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
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_bgp_community_exact,
- show_bgp_ipv6_community3_exact_cmd,
- "show bgp ipv6 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
- BGP_STR
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_bgp_community_exact,
- show_bgp_community4_exact_cmd,
- "show bgp 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
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-ALIAS (show_bgp_community_exact,
- show_bgp_ipv6_community4_exact_cmd,
- "show bgp ipv6 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
- BGP_STR
- "Address family\n"
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
/* old command */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 bgp 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
+ * IPV6_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show ipv6 bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
+ * SHOW_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show ipv6 bgp 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
+ * IPV6_STR
+ * BGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ */
DEFUN (show_ipv6_bgp_community_exact,
show_ipv6_bgp_community_exact_cmd,
"show ipv6 bgp community (AA:NN|local-AS|no-advertise|no-export) exact-match",
"Do not advertise to any peer (well-known community)\n"
"Do not export to next AS (well-known community)\n"
"Exact match of the communities")
-{
- bgp_show_ipv6_bgp_deprecate_warning(vty);
- return bgp_show_community (vty, NULL, argc, argv, 1, AFI_IP6, SAFI_UNICAST);
-}
-
-/* old command */
-ALIAS (show_ipv6_bgp_community_exact,
- show_ipv6_bgp_community2_exact_cmd,
- "show ipv6 bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
- SHOW_STR
- IPV6_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-
-/* old command */
-ALIAS (show_ipv6_bgp_community_exact,
- show_ipv6_bgp_community3_exact_cmd,
- "show ipv6 bgp 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
- IPV6_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
-
-/* old command */
-ALIAS (show_ipv6_bgp_community_exact,
- show_ipv6_bgp_community4_exact_cmd,
- "show ipv6 bgp 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
- IPV6_STR
- BGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
+{
+ bgp_show_ipv6_bgp_deprecate_warning(vty);
+ return bgp_show_community (vty, NULL, argc, argv, 1, AFI_IP6, SAFI_UNICAST);
+}
+
+/* old command */
+
+/* old command */
+
+/* old command */
/* old command */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 mbgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
+ * SHOW_STR
+ * IPV6_STR
+ * MBGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show ipv6 mbgp 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
+ * IPV6_STR
+ * MBGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ * "show ipv6 mbgp 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
+ * IPV6_STR
+ * MBGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ *
+ */
DEFUN (show_ipv6_mbgp_community,
show_ipv6_mbgp_community_cmd,
"show ipv6 mbgp community (AA:NN|local-AS|no-advertise|no-export)",
}
/* old command */
-ALIAS (show_ipv6_mbgp_community,
- show_ipv6_mbgp_community2_cmd,
- "show ipv6 mbgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",
- SHOW_STR
- IPV6_STR
- MBGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
/* old command */
-ALIAS (show_ipv6_mbgp_community,
- show_ipv6_mbgp_community3_cmd,
- "show ipv6 mbgp 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
- IPV6_STR
- MBGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
/* old command */
-ALIAS (show_ipv6_mbgp_community,
- show_ipv6_mbgp_community4_cmd,
- "show ipv6 mbgp 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
- IPV6_STR
- MBGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n")
/* old command */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 mbgp 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
+ * IPV6_STR
+ * MBGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show ipv6 mbgp 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
+ * IPV6_STR
+ * MBGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ * "show ipv6 mbgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
+ * SHOW_STR
+ * IPV6_STR
+ * MBGP_STR
+ * "Display routes matching the communities\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * COMMUNITY_AANN_STR
+ * "Do not send outside local AS (well-known community)\n"
+ * "Do not advertise to any peer (well-known community)\n"
+ * "Do not export to next AS (well-known community)\n"
+ * "Exact match of the communities"
+ *
+ */
DEFUN (show_ipv6_mbgp_community_exact,
show_ipv6_mbgp_community_exact_cmd,
"show ipv6 mbgp community (AA:NN|local-AS|no-advertise|no-export) exact-match",
}
/* old command */
-ALIAS (show_ipv6_mbgp_community_exact,
- show_ipv6_mbgp_community2_exact_cmd,
- "show ipv6 mbgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) exact-match",
- SHOW_STR
- IPV6_STR
- MBGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
/* old command */
-ALIAS (show_ipv6_mbgp_community_exact,
- show_ipv6_mbgp_community3_exact_cmd,
- "show ipv6 mbgp 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
- IPV6_STR
- MBGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
/* old command */
-ALIAS (show_ipv6_mbgp_community_exact,
- show_ipv6_mbgp_community4_exact_cmd,
- "show ipv6 mbgp 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
- IPV6_STR
- MBGP_STR
- "Display routes matching the communities\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- COMMUNITY_AANN_STR
- "Do not send outside local AS (well-known community)\n"
- "Do not advertise to any peer (well-known community)\n"
- "Do not export to next AS (well-known community)\n"
- "Exact match of the communities")
#endif /* HAVE_IPV6 */
static int
}
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 community-list (<1-500>|WORD)",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the community-list\n"
+ * "community-list number\n"
+ * "community-list name\n"
+ *
+ */
DEFUN (show_bgp_community_list,
show_bgp_community_list_cmd,
"show bgp community-list (<1-500>|WORD)",
return bgp_show_community_list (vty, NULL, argv[3]->arg, 0, AFI_IP6, SAFI_UNICAST);
}
-ALIAS (show_bgp_community_list,
- show_bgp_ipv6_community_list_cmd,
- "show bgp ipv6 community-list (<1-500>|WORD)",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the community-list\n"
- "community-list number\n"
- "community-list name\n")
/* old command */
DEFUN (show_ipv6_bgp_community_list,
return bgp_show_community_list (vty, NULL, argv[4]->arg, 0, AFI_IP6, SAFI_MULTICAST);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 community-list (<1-500>|WORD) exact-match",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Display routes matching the community-list\n"
+ * "community-list number\n"
+ * "community-list name\n"
+ * "Exact match of the communities\n"
+ *
+ */
DEFUN (show_bgp_community_list_exact,
show_bgp_community_list_exact_cmd,
"show bgp community-list (<1-500>|WORD) exact-match",
return bgp_show_community_list (vty, NULL, argv[3]->arg, 1, AFI_IP6, SAFI_UNICAST);
}
-ALIAS (show_bgp_community_list_exact,
- show_bgp_ipv6_community_list_exact_cmd,
- "show bgp ipv6 community-list (<1-500>|WORD) exact-match",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Display routes matching the community-list\n"
- "community-list number\n"
- "community-list name\n"
- "Exact match of the communities\n")
/* old command */
DEFUN (show_ipv6_bgp_community_list_exact,
bgp_show_type_prefix_longer);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics A.B.C.D/M longer-prefixes",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ * "Display route and more specific routes\n"
+ *
+ */
DEFUN (show_ip_bgp_flap_prefix_longer,
show_ip_bgp_flap_prefix_longer_cmd,
"show ip bgp flap-statistics A.B.C.D/M longer-prefixes",
bgp_show_type_flap_prefix_longer);
}
-ALIAS (show_ip_bgp_flap_prefix_longer,
- show_ip_bgp_damp_flap_prefix_longer_cmd,
- "show ip bgp dampening flap-statistics A.B.C.D/M longer-prefixes",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "Display route and more specific routes\n")
DEFUN (show_ip_bgp_ipv4_prefix_longer,
show_ip_bgp_ipv4_prefix_longer_cmd,
bgp_show_type_prefix_longer);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics A.B.C.D",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "Network in the BGP routing table to display\n"
+ *
+ */
DEFUN (show_ip_bgp_flap_address,
show_ip_bgp_flap_address_cmd,
"show ip bgp flap-statistics A.B.C.D",
bgp_show_type_flap_address);
}
-ALIAS (show_ip_bgp_flap_address,
- show_ip_bgp_damp_flap_address_cmd,
- "show ip bgp dampening flap-statistics A.B.C.D",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "Network in the BGP routing table to display\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics A.B.C.D/M",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ *
+ */
DEFUN (show_ip_bgp_flap_prefix,
show_ip_bgp_flap_prefix_cmd,
"show ip bgp flap-statistics A.B.C.D/M",
bgp_show_type_flap_prefix);
}
-ALIAS (show_ip_bgp_flap_prefix,
- show_ip_bgp_damp_flap_prefix_cmd,
- "show ip bgp dampening flap-statistics A.B.C.D/M",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 X:X::X:X/M longer-prefixes",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "IPv6 prefix <network>/<length>\n"
+ * "Display route and more specific routes\n"
+ *
+ */
DEFUN (show_bgp_prefix_longer,
show_bgp_prefix_longer_cmd,
"show bgp X:X::X:X/M longer-prefixes",
bgp_show_type_prefix_longer);
}
-ALIAS (show_bgp_prefix_longer,
- show_bgp_ipv6_prefix_longer_cmd,
- "show bgp ipv6 X:X::X:X/M longer-prefixes",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "IPv6 prefix <network>/<length>\n"
- "Display route and more specific routes\n")
/* old command */
DEFUN (show_ipv6_bgp_prefix_longer,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD {json}",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the routes advertised to a BGP neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_instance_neighbor_advertised_route,
show_ip_bgp_instance_neighbor_advertised_route_cmd,
"show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP, SAFI_UNICAST, 0, NULL, uj);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD {json}",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the routes advertised to a BGP neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_neighbor_advertised_route,
show_ip_bgp_neighbor_advertised_route_cmd,
"show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP, SAFI_UNICAST, 0, rmap_name, uj);
}
-ALIAS (show_ip_bgp_neighbor_advertised_route,
- show_ip_bgp_neighbor_advertised_route_rmap_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD {json}",
- SHOW_STR
- IP_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the routes advertised to a BGP neighbor\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_instance_neighbor_advertised_route,
- show_ip_bgp_instance_neighbor_advertised_route_rmap_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD {json}",
- SHOW_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the routes advertised to a BGP neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes route-map WORD {json}",
+ * SHOW_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"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the routes advertised to a BGP neighbor\n"
+ * "Route-map to control what is displayed\n"
+ * "JavaScript Object Notation\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|WORD) advertised-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP, SAFI_UNICAST, 0, rmap_name, uj);
}
-ALIAS (show_ip_bgp_ipv4_neighbor_advertised_route,
- show_ip_bgp_ipv4_neighbor_advertised_route_rmap_cmd,
- "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"
- "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"
- "Neighbor on bgp configured interface\n"
- "Display the routes advertised to a BGP neighbor\n"
- "Route-map to control what is displayed\n"
- "JavaScript Object Notation\n")
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the routes advertised to a BGP neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_neighbor_advertised_route,
show_bgp_instance_neighbor_advertised_route_cmd,
"show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP6, SAFI_UNICAST, 0, NULL, uj);
}
-ALIAS (show_bgp_instance_neighbor_advertised_route,
- show_bgp_instance_ipv6_neighbor_advertised_route_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the routes advertised to a BGP neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the routes advertised to a BGP neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
+ * SHOW_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the routes advertised to a BGP neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_neighbor_advertised_route,
show_bgp_neighbor_advertised_route_cmd,
"show bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
if (argc == 3 || (argc == 2 && argv[5]->arg && strcmp(argv[5]->arg, "json") != 0))
rmap_name = argv[5]->arg;
- return peer_adj_routes (vty, peer, AFI_IP6, SAFI_UNICAST, 0, rmap_name, uj);
-}
-
-ALIAS (show_bgp_neighbor_advertised_route,
- show_bgp_ipv6_neighbor_advertised_route_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the routes advertised to a BGP neighbor\n"
- "JavaScript Object Notation\n")
-
+ return peer_adj_routes (vty, peer, AFI_IP6, SAFI_UNICAST, 0, rmap_name, uj);
+}
+
+
/* old command */
-ALIAS (show_bgp_neighbor_advertised_route,
- ipv6_bgp_neighbor_advertised_route_cmd,
- "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) advertised-routes {json}",
- SHOW_STR
- IPV6_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the routes advertised to a BGP neighbor\n"
- "JavaScript Object Notation\n")
/* old command */
DEFUN (ipv6_mbgp_neighbor_advertised_route,
}
#endif /* HAVE_IPV6 */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the received routes from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_neighbor_received_routes,
show_bgp_instance_neighbor_received_routes_cmd,
"show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP6, SAFI_UNICAST, 1, NULL, uj);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD {json}",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the received routes from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_instance_neighbor_received_routes,
show_ip_bgp_instance_neighbor_received_routes_cmd,
"show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP, SAFI_UNICAST, 1, NULL, uj);
}
-ALIAS (show_bgp_instance_neighbor_received_routes,
- show_bgp_instance_ipv6_neighbor_received_routes_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the received routes from neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD {json}",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the received routes from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_neighbor_received_routes,
show_ip_bgp_neighbor_received_routes_cmd,
"show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP, SAFI_UNICAST, 1, rmap_name, uj);
}
-ALIAS (show_ip_bgp_neighbor_received_routes,
- show_ip_bgp_neighbor_received_routes_rmap_cmd,
- "show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD {json}",
- SHOW_STR
- IP_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the received routes from neighbor\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_instance_neighbor_received_routes,
- show_ip_bgp_instance_neighbor_received_routes_rmap_cmd,
- "show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD {json}",
- SHOW_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the received routes from neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) received-routes route-map WORD {json}",
+ * SHOW_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"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the received routes from neighbor\n"
+ * "JavaScript Object Notation\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|WORD) received-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP, SAFI_UNICAST, 1, rmap_name, uj);
}
-ALIAS (show_ip_bgp_ipv4_neighbor_received_routes,
- show_ip_bgp_ipv4_neighbor_received_routes_rmap_cmd,
- "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"
- "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"
- "Neighbor on bgp configured interface\n"
- "Display the received routes from neighbor\n"
- "JavaScript Object Notation\n")
DEFUN (show_bgp_instance_afi_safi_neighbor_adv_recd_routes,
show_bgp_instance_afi_safi_neighbor_adv_recd_routes_cmd,
return CMD_SUCCESS;
}
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the received routes from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
+ * SHOW_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the received routes from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_neighbor_received_routes,
show_bgp_neighbor_received_routes_cmd,
"show bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
return peer_adj_routes (vty, peer, AFI_IP6, SAFI_UNICAST, 1, rmap_name, uj);
}
-ALIAS (show_bgp_neighbor_received_routes,
- show_bgp_ipv6_neighbor_received_routes_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the received routes from neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display information received from a BGP neighbor\n"
+ * "Display the prefixlist filter\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_neighbor_received_prefix_filter,
show_bgp_neighbor_received_prefix_filter_cmd,
"show bgp neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
return CMD_SUCCESS;
}
-ALIAS (show_bgp_neighbor_received_prefix_filter,
- show_bgp_ipv6_neighbor_received_prefix_filter_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display information received from a BGP neighbor\n"
- "Display the prefixlist filter\n"
- "JavaScript Object Notation\n")
/* old command */
-ALIAS (show_bgp_neighbor_received_routes,
- ipv6_bgp_neighbor_received_routes_cmd,
- "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes {json}",
- SHOW_STR
- IPV6_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the received routes from neighbor\n"
- "JavaScript Object Notation\n")
/* old command */
DEFUN (ipv6_mbgp_neighbor_received_routes,
return peer_adj_routes (vty, peer, AFI_IP6, SAFI_MULTICAST, 1, NULL, uj);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display information received from a BGP neighbor\n"
+ * "Display the prefixlist filter\n"
+ * "JavaScript Object NOtation\n"
+ *
+ */
DEFUN (show_bgp_instance_neighbor_received_prefix_filter,
show_bgp_instance_neighbor_received_prefix_filter_cmd,
"show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
return CMD_SUCCESS;
}
-ALIAS (show_bgp_instance_neighbor_received_prefix_filter,
- show_bgp_instance_ipv6_neighbor_received_prefix_filter_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) received prefix-filter {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display information received from a BGP neighbor\n"
- "Display the prefixlist filter\n"
- "JavaScript Object NOtation\n")
#endif /* HAVE_IPV6 */
static int
}
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display routes learned from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_neighbor_routes,
show_bgp_instance_neighbor_routes_cmd,
"show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
bgp_show_type_neighbor, uj);
}
-ALIAS (show_bgp_instance_neighbor_routes,
- show_bgp_instance_ipv6_neighbor_routes_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display routes learned from neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the dampened routes received from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the dampened routes received from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display the dampened routes received from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_neighbor_damp,
show_bgp_instance_neighbor_damp_cmd,
"show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
bgp_show_type_damp_neighbor, uj);
}
-ALIAS (show_bgp_instance_neighbor_damp,
- show_bgp_instance_ipv6_neighbor_damp_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the dampened routes received from neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display flap statistics of the routes learned from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display flap statistics of the routes learned from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display flap statistics of the routes learned from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_instance_neighbor_flap,
show_bgp_instance_neighbor_flap_cmd,
"show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
bgp_show_type_flap_neighbor, uj);
}
-ALIAS (show_bgp_instance_neighbor_flap,
- show_bgp_instance_ipv6_neighbor_flap_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display flap statistics of the routes learned from neighbor\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ * SHOW_STR
+ * IPV6_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display routes learned from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "Display routes learned from neighbor\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_bgp_neighbor_routes,
show_bgp_neighbor_routes_cmd,
"show bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
}
-ALIAS (show_bgp_neighbor_routes,
- show_bgp_ipv6_neighbor_routes_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display routes learned from neighbor\n"
- "JavaScript Object Notation\n")
/* old command */
-ALIAS (show_bgp_neighbor_routes,
- ipv6_bgp_neighbor_routes_cmd,
- "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes {json}",
- SHOW_STR
- IPV6_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display routes learned from neighbor\n"
- "JavaScript Object Notation\n")
/* old command */
DEFUN (ipv6_mbgp_neighbor_routes,
bgp_show_type_neighbor, uj);
}
-ALIAS (show_bgp_instance_neighbor_flap,
- show_bgp_neighbor_flap_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
- SHOW_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display flap statistics of the routes learned from neighbor\n"
- "JavaScript Object Notation\n")
-ALIAS (show_bgp_instance_neighbor_flap,
- show_bgp_ipv6_neighbor_flap_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) flap-statistics {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display flap statistics of the routes learned from neighbor\n"
- "JavaScript Object Notation\n")
-ALIAS (show_bgp_instance_neighbor_damp,
- show_bgp_neighbor_damp_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
- SHOW_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the dampened routes received from neighbor\n"
- "JavaScript Object Notation\n")
-ALIAS (show_bgp_instance_neighbor_damp,
- show_bgp_ipv6_neighbor_damp_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) dampened-routes {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "Display the dampened routes received from neighbor\n"
- "JavaScript Object Notation\n")
#endif /* HAVE_IPV6 */
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no distance bgp",
+ * NO_STR
+ * "Define an administrative distance\n"
+ * "BGP distance\n"
+ *
+ */
DEFUN (no_bgp_distance,
no_bgp_distance_cmd,
"no distance bgp <1-255> <1-255> <1-255>",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_distance,
- no_bgp_distance2_cmd,
- "no distance bgp",
- NO_STR
- "Define an administrative distance\n"
- "BGP distance\n")
DEFUN (bgp_distance_source,
bgp_distance_source_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "bgp dampening",
+ * "BGP Specific commands\n"
+ * "Enable route-flap dampening\n"
+ *
+ * "bgp dampening <1-45>",
+ * "BGP Specific commands\n"
+ * "Enable route-flap dampening\n"
+ * "Half-life time for the penalty\n"
+ *
+ */
DEFUN (bgp_damp_set,
bgp_damp_set_cmd,
"bgp dampening <1-45> <1-20000> <1-20000> <1-255>",
half, reuse, suppress, max);
}
-ALIAS (bgp_damp_set,
- bgp_damp_set2_cmd,
- "bgp dampening <1-45>",
- "BGP Specific commands\n"
- "Enable route-flap dampening\n"
- "Half-life time for the penalty\n")
-ALIAS (bgp_damp_set,
- bgp_damp_set3_cmd,
- "bgp dampening",
- "BGP Specific commands\n"
- "Enable route-flap dampening\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp dampening <1-45>",
+ * NO_STR
+ * "BGP Specific commands\n"
+ * "Enable route-flap dampening\n"
+ * "Half-life time for the penalty\n"
+ *
+ * "no bgp dampening <1-45> <1-20000> <1-20000> <1-255>",
+ * NO_STR
+ * "BGP Specific commands\n"
+ * "Enable route-flap dampening\n"
+ * "Half-life time for the penalty\n"
+ * "Value to start reusing a route\n"
+ * "Value to start suppressing a route\n"
+ * "Maximum duration to suppress a stable route\n"
+ *
+ */
DEFUN (bgp_damp_unset,
bgp_damp_unset_cmd,
"no bgp dampening",
return bgp_damp_disable (bgp, bgp_node_afi (vty), bgp_node_safi (vty));
}
-ALIAS (bgp_damp_unset,
- bgp_damp_unset2_cmd,
- "no bgp dampening <1-45> <1-20000> <1-20000> <1-255>",
- NO_STR
- "BGP Specific commands\n"
- "Enable route-flap dampening\n"
- "Half-life time for the penalty\n"
- "Value to start reusing a route\n"
- "Value to start suppressing a route\n"
- "Maximum duration to suppress a stable route\n")
-ALIAS (bgp_damp_unset,
- bgp_damp_unset3_cmd,
- "no bgp dampening <1-45>",
- NO_STR
- "BGP Specific commands\n"
- "Enable route-flap dampening\n"
- "Half-life time for the penalty\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening dampened-paths",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display paths suppressed due to dampening\n"
+ *
+ */
DEFUN (show_ip_bgp_dampened_paths,
show_ip_bgp_dampened_paths_cmd,
"show ip bgp dampened-paths",
NULL, 0);
}
-ALIAS (show_ip_bgp_dampened_paths,
- show_ip_bgp_damp_dampened_paths_cmd,
- "show ip bgp dampening dampened-paths",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display paths suppressed due to dampening\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp dampening flap-statistics",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display detailed information about dampening\n"
+ * "Display flap statistics of routes\n"
+ *
+ */
DEFUN (show_ip_bgp_flap_statistics,
show_ip_bgp_flap_statistics_cmd,
"show ip bgp flap-statistics",
bgp_show_type_flap_statistics, NULL, 0);
}
-ALIAS (show_ip_bgp_flap_statistics,
- show_ip_bgp_damp_flap_statistics_cmd,
- "show ip bgp dampening flap-statistics",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display detailed information about dampening\n"
- "Display flap statistics of routes\n")
/* Display specified route of BGP table. */
static int
install_element (BGP_NODE, &no_bgp_network_cmd);
install_element (BGP_NODE, &no_bgp_network_mask_cmd);
install_element (BGP_NODE, &no_bgp_network_mask_natural_cmd);
- install_element (BGP_NODE, &no_bgp_network_route_map_cmd);
- install_element (BGP_NODE, &no_bgp_network_mask_route_map_cmd);
- install_element (BGP_NODE, &no_bgp_network_mask_natural_route_map_cmd);
- install_element (BGP_NODE, &no_bgp_network_backdoor_cmd);
- install_element (BGP_NODE, &no_bgp_network_mask_backdoor_cmd);
- install_element (BGP_NODE, &no_bgp_network_mask_natural_backdoor_cmd);
install_element (BGP_NODE, &aggregate_address_cmd);
install_element (BGP_NODE, &aggregate_address_mask_cmd);
install_element (BGP_NODE, &aggregate_address_mask_as_set_cmd);
install_element (BGP_NODE, &aggregate_address_as_set_summary_cmd);
install_element (BGP_NODE, &aggregate_address_mask_as_set_summary_cmd);
- install_element (BGP_NODE, &aggregate_address_summary_as_set_cmd);
- install_element (BGP_NODE, &aggregate_address_mask_summary_as_set_cmd);
install_element (BGP_NODE, &no_aggregate_address_cmd);
- install_element (BGP_NODE, &no_aggregate_address_summary_only_cmd);
- install_element (BGP_NODE, &no_aggregate_address_as_set_cmd);
- install_element (BGP_NODE, &no_aggregate_address_as_set_summary_cmd);
- install_element (BGP_NODE, &no_aggregate_address_summary_as_set_cmd);
install_element (BGP_NODE, &no_aggregate_address_mask_cmd);
- install_element (BGP_NODE, &no_aggregate_address_mask_summary_only_cmd);
- install_element (BGP_NODE, &no_aggregate_address_mask_as_set_cmd);
- install_element (BGP_NODE, &no_aggregate_address_mask_as_set_summary_cmd);
- install_element (BGP_NODE, &no_aggregate_address_mask_summary_as_set_cmd);
/* IPv4 unicast configuration. */
install_element (BGP_IPV4_NODE, &bgp_table_map_cmd);
install_element (BGP_IPV4_NODE, &no_bgp_network_cmd);
install_element (BGP_IPV4_NODE, &no_bgp_network_mask_cmd);
install_element (BGP_IPV4_NODE, &no_bgp_network_mask_natural_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_network_route_map_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_network_mask_route_map_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_network_mask_natural_route_map_cmd);
install_element (BGP_IPV4_NODE, &aggregate_address_cmd);
install_element (BGP_IPV4_NODE, &aggregate_address_mask_cmd);
install_element (BGP_IPV4_NODE, &aggregate_address_mask_as_set_cmd);
install_element (BGP_IPV4_NODE, &aggregate_address_as_set_summary_cmd);
install_element (BGP_IPV4_NODE, &aggregate_address_mask_as_set_summary_cmd);
- install_element (BGP_IPV4_NODE, &aggregate_address_summary_as_set_cmd);
- install_element (BGP_IPV4_NODE, &aggregate_address_mask_summary_as_set_cmd);
install_element (BGP_IPV4_NODE, &no_aggregate_address_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_summary_only_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_as_set_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_as_set_summary_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_summary_as_set_cmd);
install_element (BGP_IPV4_NODE, &no_aggregate_address_mask_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_mask_summary_only_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_mask_as_set_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_mask_as_set_summary_cmd);
- install_element (BGP_IPV4_NODE, &no_aggregate_address_mask_summary_as_set_cmd);
/* IPv4 multicast configuration. */
install_element (BGP_IPV4M_NODE, &bgp_table_map_cmd);
install_element (BGP_IPV4M_NODE, &no_bgp_network_cmd);
install_element (BGP_IPV4M_NODE, &no_bgp_network_mask_cmd);
install_element (BGP_IPV4M_NODE, &no_bgp_network_mask_natural_cmd);
- install_element (BGP_IPV4M_NODE, &no_bgp_network_route_map_cmd);
- install_element (BGP_IPV4M_NODE, &no_bgp_network_mask_route_map_cmd);
- install_element (BGP_IPV4M_NODE, &no_bgp_network_mask_natural_route_map_cmd);
install_element (BGP_IPV4M_NODE, &aggregate_address_cmd);
install_element (BGP_IPV4M_NODE, &aggregate_address_mask_cmd);
install_element (BGP_IPV4M_NODE, &aggregate_address_summary_only_cmd);
install_element (BGP_IPV4M_NODE, &aggregate_address_mask_as_set_cmd);
install_element (BGP_IPV4M_NODE, &aggregate_address_as_set_summary_cmd);
install_element (BGP_IPV4M_NODE, &aggregate_address_mask_as_set_summary_cmd);
- install_element (BGP_IPV4M_NODE, &aggregate_address_summary_as_set_cmd);
- install_element (BGP_IPV4M_NODE, &aggregate_address_mask_summary_as_set_cmd);
install_element (BGP_IPV4M_NODE, &no_aggregate_address_cmd);
- install_element (BGP_IPV4M_NODE, &no_aggregate_address_summary_only_cmd);
- install_element (BGP_IPV4M_NODE, &no_aggregate_address_as_set_cmd);
- install_element (BGP_IPV4M_NODE, &no_aggregate_address_as_set_summary_cmd);
- install_element (BGP_IPV4M_NODE, &no_aggregate_address_summary_as_set_cmd);
install_element (BGP_IPV4M_NODE, &no_aggregate_address_mask_cmd);
- install_element (BGP_IPV4M_NODE, &no_aggregate_address_mask_summary_only_cmd);
- install_element (BGP_IPV4M_NODE, &no_aggregate_address_mask_as_set_cmd);
- install_element (BGP_IPV4M_NODE, &no_aggregate_address_mask_as_set_summary_cmd);
- 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_instance_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_all_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_instance_route_cmd);
install_element (VIEW_NODE, &show_ip_bgp_route_pathtype_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_route_pathtype_cmd);
install_element (VIEW_NODE, &show_bgp_ipv4_safi_route_pathtype_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_instance_prefix_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_prefix_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_prefix_pathtype_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv4_safi_prefix_pathtype_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv4_safi_prefix_cmd);
install_element (VIEW_NODE, &show_ip_bgp_prefix_pathtype_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_prefix_pathtype_cmd);
install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_prefix_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_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_instance_afi_safi_community_all_cmd);
install_element (VIEW_NODE, &show_bgp_instance_afi_safi_community_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_afi_safi_community2_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_afi_safi_community3_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_afi_safi_community4_cmd);
install_element (VIEW_NODE, &show_ip_bgp_community_exact_cmd);
- 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_ip_bgp_community_list_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_community_list_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_community_list_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_instance_neighbor_advertised_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_advertised_route_rmap_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_instance_neighbor_advertised_route_rmap_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbor_advertised_route_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbor_advertised_route_rmap_cmd);
install_element (VIEW_NODE, &show_ip_bgp_neighbor_received_routes_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_neighbor_received_routes_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_neighbor_received_routes_rmap_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_instance_neighbor_received_routes_rmap_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbor_received_routes_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbor_received_routes_rmap_cmd);
install_element (VIEW_NODE, &show_bgp_instance_afi_safi_neighbor_adv_recd_routes_cmd);
install_element (VIEW_NODE, &show_ip_bgp_neighbor_routes_cmd);
install_element (VIEW_NODE, &show_ip_bgp_instance_neighbor_routes_cmd);
install_element (VIEW_NODE, &show_ip_bgp_dampened_paths_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_dampening_dampd_paths_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_dampening_flap_stats_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_dampened_paths_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_statistics_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_flap_statistics_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_address_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_flap_address_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_prefix_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_cidr_only_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_flap_cidr_only_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_regexp_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_filter_list_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_flap_filter_list_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_prefix_list_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_flap_prefix_list_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_prefix_longer_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_flap_prefix_longer_cmd);
install_element (VIEW_NODE, &show_ip_bgp_flap_route_map_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_damp_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 (RESTRICTED_NODE, &show_ip_bgp_instance_route_pathtype_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_route_pathtype_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_instance_prefix_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_prefix_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_ipv4_prefix_pathtype_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_prefix_pathtype_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv4_safi_prefix_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_prefix_pathtype_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_instance_prefix_pathtype_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_vpnv4_all_prefix_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_instance_route_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_instance_prefix_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_community_cmd);
- 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_instance_afi_safi_community_all_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_afi_safi_community_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_afi_safi_community2_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_afi_safi_community3_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_afi_safi_community4_cmd);
install_element (RESTRICTED_NODE, &show_ip_bgp_community_exact_cmd);
- 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 (ENABLE_NODE, &show_ip_bgp_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_all_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_instance_route_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_route_pathtype_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_route_pathtype_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv4_safi_route_pathtype_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_instance_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_prefix_pathtype_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_safi_prefix_pathtype_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_safi_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_prefix_pathtype_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_prefix_pathtype_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_vpnv4_all_prefix_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_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_instance_afi_safi_community_all_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_afi_safi_community_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_afi_safi_community2_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_afi_safi_community3_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_afi_safi_community4_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_community_exact_cmd);
- 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_ip_bgp_community_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_community_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_community_list_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_instance_neighbor_advertised_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_advertised_route_rmap_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_instance_neighbor_advertised_route_rmap_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_advertised_route_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_advertised_route_rmap_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_neighbor_received_routes_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_neighbor_received_routes_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_neighbor_received_routes_rmap_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_instance_neighbor_received_routes_rmap_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_received_routes_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_ipv4_neighbor_received_routes_rmap_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_afi_safi_neighbor_adv_recd_routes_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_neighbor_routes_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_neighbor_routes_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_dampening_parameters_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_dampening_dampd_paths_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_ipv4_dampening_flap_stats_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_dampened_paths_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_statistics_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_statistics_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_address_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_address_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_cidr_only_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_cidr_only_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_regexp_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_regexp_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_filter_list_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_filter_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_prefix_list_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_prefix_list_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_prefix_list_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_flap_prefix_longer_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_flap_route_map_cmd);
- install_element (ENABLE_NODE, &show_ip_bgp_damp_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 (BGP_IPV6_NODE, &ipv6_bgp_network_route_map_cmd);
install_element (BGP_IPV6_NODE, &no_bgp_table_map_cmd);
install_element (BGP_IPV6_NODE, &no_ipv6_bgp_network_cmd);
- install_element (BGP_IPV6_NODE, &no_ipv6_bgp_network_route_map_cmd);
install_element (BGP_IPV6_NODE, &ipv6_aggregate_address_cmd);
install_element (BGP_IPV6_NODE, &ipv6_aggregate_address_summary_only_cmd);
install_element (BGP_IPV6M_NODE, &no_ipv6_bgp_network_cmd);
/* Old config IPv6 BGP commands. */
- install_element (BGP_NODE, &old_ipv6_bgp_network_cmd);
- install_element (BGP_NODE, &old_no_ipv6_bgp_network_cmd);
- install_element (BGP_NODE, &old_ipv6_aggregate_address_cmd);
- install_element (BGP_NODE, &old_ipv6_aggregate_address_summary_only_cmd);
- install_element (BGP_NODE, &old_no_ipv6_aggregate_address_cmd);
- install_element (BGP_NODE, &old_no_ipv6_aggregate_address_summary_only_cmd);
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_ipv6_safi_route_cmd);
install_element (VIEW_NODE, &show_bgp_route_pathtype_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_route_pathtype_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_safi_route_pathtype_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_prefix_pathtype_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_prefix_pathtype_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_safi_prefix_pathtype_cmd);
install_element (VIEW_NODE, &show_bgp_regexp_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_regexp_cmd);
install_element (VIEW_NODE, &show_bgp_prefix_list_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_prefix_list_cmd);
install_element (VIEW_NODE, &show_bgp_filter_list_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_filter_list_cmd);
install_element (VIEW_NODE, &show_bgp_route_map_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_route_map_cmd);
install_element (VIEW_NODE, &show_bgp_community_all_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community_all_cmd);
install_element (VIEW_NODE, &show_bgp_community_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community_cmd);
- install_element (VIEW_NODE, &show_bgp_community2_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community2_cmd);
- install_element (VIEW_NODE, &show_bgp_community3_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community3_cmd);
- install_element (VIEW_NODE, &show_bgp_community4_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community4_cmd);
install_element (VIEW_NODE, &show_bgp_community_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_community2_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community2_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_community3_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community3_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_community4_exact_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_community4_exact_cmd);
install_element (VIEW_NODE, &show_bgp_community_list_cmd);
- 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_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);
install_element (VIEW_NODE, &show_bgp_neighbor_received_routes_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_neighbor_received_routes_cmd);
install_element (VIEW_NODE, &show_bgp_neighbor_routes_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_neighbor_routes_cmd);
install_element (VIEW_NODE, &show_bgp_neighbor_received_prefix_filter_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_neighbor_received_prefix_filter_cmd);
- install_element (VIEW_NODE, &show_bgp_neighbor_flap_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_neighbor_flap_cmd);
- install_element (VIEW_NODE, &show_bgp_neighbor_damp_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_neighbor_damp_cmd);
install_element (VIEW_NODE, &show_bgp_instance_cmd);
install_element (VIEW_NODE, &show_bgp_instance_all_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_cmd);
install_element (VIEW_NODE, &show_bgp_instance_route_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_route_cmd);
install_element (VIEW_NODE, &show_bgp_instance_route_pathtype_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_route_pathtype_cmd);
install_element (VIEW_NODE, &show_bgp_instance_prefix_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_prefix_cmd);
install_element (VIEW_NODE, &show_bgp_instance_prefix_pathtype_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_prefix_pathtype_cmd);
install_element (VIEW_NODE, &show_bgp_instance_prefix_list_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_prefix_list_cmd);
install_element (VIEW_NODE, &show_bgp_instance_filter_list_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_filter_list_cmd);
install_element (VIEW_NODE, &show_bgp_instance_route_map_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_route_map_cmd);
install_element (VIEW_NODE, &show_bgp_instance_community_list_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_community_list_cmd);
install_element (VIEW_NODE, &show_bgp_instance_prefix_longer_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_prefix_longer_cmd);
install_element (VIEW_NODE, &show_bgp_instance_neighbor_advertised_route_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbor_advertised_route_cmd);
install_element (VIEW_NODE, &show_bgp_instance_neighbor_received_routes_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbor_received_routes_cmd);
install_element (VIEW_NODE, &show_bgp_instance_neighbor_routes_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbor_routes_cmd);
install_element (VIEW_NODE, &show_bgp_instance_neighbor_received_prefix_filter_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbor_received_prefix_filter_cmd);
install_element (VIEW_NODE, &show_bgp_instance_neighbor_flap_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbor_flap_cmd);
install_element (VIEW_NODE, &show_bgp_instance_neighbor_damp_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbor_damp_cmd);
/* Restricted:
* VIEW_NODE - (set of dangerous commands) - (commands dependent on prev)
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_route_pathtype_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_route_pathtype_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv6_safi_route_pathtype_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_prefix_pathtype_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_prefix_pathtype_cmd);
install_element (RESTRICTED_NODE, &show_bgp_ipv6_safi_prefix_pathtype_cmd);
install_element (RESTRICTED_NODE, &show_bgp_community_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_community2_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community2_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_community3_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community3_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_community4_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community4_cmd);
install_element (RESTRICTED_NODE, &show_bgp_community_exact_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community_exact_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_community2_exact_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community2_exact_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_community3_exact_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community3_exact_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_community4_exact_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_community4_exact_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_route_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_ipv6_route_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_route_pathtype_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_ipv6_route_pathtype_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_prefix_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_ipv6_prefix_cmd);
install_element (RESTRICTED_NODE, &show_bgp_instance_neighbor_received_prefix_filter_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_ipv6_neighbor_received_prefix_filter_cmd);
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_ipv6_safi_route_cmd);
install_element (ENABLE_NODE, &show_bgp_route_pathtype_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_route_pathtype_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_safi_route_pathtype_cmd);
install_element (ENABLE_NODE, &show_bgp_prefix_cmd);
install_element (ENABLE_NODE, &show_bgp_prefix_pathtype_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_prefix_pathtype_cmd);
install_element (ENABLE_NODE, &show_bgp_ipv6_safi_prefix_pathtype_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);
install_element (ENABLE_NODE, &show_bgp_prefix_list_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_prefix_list_cmd);
install_element (ENABLE_NODE, &show_bgp_filter_list_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_filter_list_cmd);
install_element (ENABLE_NODE, &show_bgp_route_map_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_route_map_cmd);
install_element (ENABLE_NODE, &show_bgp_community_all_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community_all_cmd);
install_element (ENABLE_NODE, &show_bgp_community_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community_cmd);
- install_element (ENABLE_NODE, &show_bgp_community2_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community2_cmd);
- install_element (ENABLE_NODE, &show_bgp_community3_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community3_cmd);
- install_element (ENABLE_NODE, &show_bgp_community4_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community4_cmd);
install_element (ENABLE_NODE, &show_bgp_community_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_community2_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community2_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_community3_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community3_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_community4_exact_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_community4_exact_cmd);
install_element (ENABLE_NODE, &show_bgp_community_list_cmd);
- 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_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);
install_element (ENABLE_NODE, &show_bgp_neighbor_received_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_neighbor_received_routes_cmd);
install_element (ENABLE_NODE, &show_bgp_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_neighbor_routes_cmd);
install_element (ENABLE_NODE, &show_bgp_neighbor_received_prefix_filter_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_neighbor_received_prefix_filter_cmd);
- install_element (ENABLE_NODE, &show_bgp_neighbor_flap_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_neighbor_flap_cmd);
- install_element (ENABLE_NODE, &show_bgp_neighbor_damp_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_neighbor_damp_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_all_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_route_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_route_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_route_pathtype_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_route_pathtype_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_prefix_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_prefix_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_prefix_pathtype_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_prefix_pathtype_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_prefix_list_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_prefix_list_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_filter_list_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_filter_list_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_route_map_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_route_map_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_community_list_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_community_list_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_prefix_longer_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_neighbor_advertised_route_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbor_advertised_route_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_neighbor_received_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbor_received_routes_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbor_routes_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_neighbor_received_prefix_filter_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbor_received_prefix_filter_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_neighbor_flap_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbor_flap_cmd);
install_element (ENABLE_NODE, &show_bgp_instance_neighbor_damp_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbor_damp_cmd);
/* Statistics */
install_element (ENABLE_NODE, &show_bgp_statistics_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_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);
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_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);
install_element (BGP_NODE, &no_bgp_distance_cmd);
- install_element (BGP_NODE, &no_bgp_distance2_cmd);
install_element (BGP_NODE, &bgp_distance_source_cmd);
install_element (BGP_NODE, &no_bgp_distance_source_cmd);
install_element (BGP_NODE, &bgp_distance_source_access_list_cmd);
install_element (BGP_NODE, &no_bgp_distance_source_access_list_cmd);
install_element (BGP_NODE, &bgp_damp_set_cmd);
- install_element (BGP_NODE, &bgp_damp_set2_cmd);
- install_element (BGP_NODE, &bgp_damp_set3_cmd);
install_element (BGP_NODE, &bgp_damp_unset_cmd);
- install_element (BGP_NODE, &bgp_damp_unset2_cmd);
- install_element (BGP_NODE, &bgp_damp_unset3_cmd);
install_element (BGP_IPV4_NODE, &bgp_damp_set_cmd);
- install_element (BGP_IPV4_NODE, &bgp_damp_set2_cmd);
- install_element (BGP_IPV4_NODE, &bgp_damp_set3_cmd);
install_element (BGP_IPV4_NODE, &bgp_damp_unset_cmd);
- install_element (BGP_IPV4_NODE, &bgp_damp_unset2_cmd);
- install_element (BGP_IPV4_NODE, &bgp_damp_unset3_cmd);
/* IPv4 Multicast Mode */
install_element (BGP_IPV4M_NODE, &bgp_damp_set_cmd);
- install_element (BGP_IPV4M_NODE, &bgp_damp_set2_cmd);
- install_element (BGP_IPV4M_NODE, &bgp_damp_set3_cmd);
install_element (BGP_IPV4M_NODE, &bgp_damp_unset_cmd);
- install_element (BGP_IPV4M_NODE, &bgp_damp_unset2_cmd);
}
void
}
DEFUN (match_peer_local,
- match_peer_local_cmd,
+ match_peer_local_cmd,
"match peer local",
MATCH_STR
"Match peer address\n"
RMAP_EVENT_MATCH_DELETED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match peer local",
+ * NO_STR
+ * MATCH_STR
+ * "Match peer address\n"
+ * "Static or Redistributed routes\n"
+ *
+ * "no match peer (A.B.C.D|X:X::X:X)",
+ * NO_STR
+ * MATCH_STR
+ * "Match peer address\n"
+ * "IP address of peer\n"
+ * "IPv6 address of peer\n"
+ *
+ */
DEFUN (no_match_peer,
no_match_peer_cmd,
"no match peer",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_peer,
- no_match_peer_val_cmd,
- "no match peer (A.B.C.D|X:X::X:X)",
- NO_STR
- MATCH_STR
- "Match peer address\n"
- "IP address of peer\n"
- "IPv6 address of peer\n")
-ALIAS (no_match_peer,
- no_match_peer_local_cmd,
- "no match peer local",
- NO_STR
- MATCH_STR
- "Match peer address\n"
- "Static or Redistributed routes\n")
-DEFUN (match_ip_address,
+DEFUN (match_ip_address,
match_ip_address_cmd,
"match ip address (<1-199>|<1300-2699>|WORD)",
MATCH_STR
RMAP_EVENT_FILTER_ADDED);
}
-DEFUN (no_match_ip_address,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP Access-list name\n"
+ *
+ */
+DEFUN (no_match_ip_address,
no_match_ip_address_cmd,
"no match ip address",
NO_STR
RMAP_EVENT_FILTER_DELETED);
}
-ALIAS (no_match_ip_address,
- no_match_ip_address_val_cmd,
- "no match ip address (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP Access-list name\n")
-DEFUN (match_ip_next_hop,
+DEFUN (match_ip_next_hop,
match_ip_next_hop_cmd,
"match ip next-hop (<1-199>|<1300-2699>|WORD)",
MATCH_STR
RMAP_EVENT_FILTER_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP Access-list name\n"
+ *
+ */
DEFUN (no_match_ip_next_hop,
no_match_ip_next_hop_cmd,
"no match ip next-hop",
RMAP_EVENT_FILTER_DELETED);
}
-ALIAS (no_match_ip_next_hop,
- no_match_ip_next_hop_val_cmd,
- "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP Access-list name\n")
/* match probability { */
RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match probability <1-99>",
+ * NO_STR
+ * MATCH_STR
+ * "Match portion of routes defined by percentage value\n"
+ * "Percentage of routes\n"
+ *
+ */
DEFUN (no_match_probability,
no_match_probability_cmd,
"no match probability",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_probability,
- no_match_probability_val_cmd,
- "no match probability <1-99>",
- NO_STR
- MATCH_STR
- "Match portion of routes defined by percentage value\n"
- "Percentage of routes\n")
/* } */
-DEFUN (match_ip_route_source,
+DEFUN (match_ip_route_source,
match_ip_route_source_cmd,
"match ip route-source (<1-199>|<1300-2699>|WORD)",
MATCH_STR
RMAP_EVENT_FILTER_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip route-source (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match advertising source address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP standard access-list name\n"
+ *
+ */
DEFUN (no_match_ip_route_source,
no_match_ip_route_source_cmd,
"no match ip route-source",
argv[4]->arg, RMAP_EVENT_FILTER_DELETED);
}
-ALIAS (no_match_ip_route_source,
- no_match_ip_route_source_val_cmd,
- "no match ip route-source (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match advertising source address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP standard access-list name\n")
-DEFUN (match_ip_address_prefix_list,
+DEFUN (match_ip_address_prefix_list,
match_ip_address_prefix_list_cmd,
"match ip address prefix-list WORD",
MATCH_STR
argv[4]->arg, RMAP_EVENT_PLIST_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_address_prefix_list,
no_match_ip_address_prefix_list_cmd,
"no match ip address prefix-list",
argv[5]->arg, RMAP_EVENT_PLIST_DELETED);
}
-ALIAS (no_match_ip_address_prefix_list,
- no_match_ip_address_prefix_list_val_cmd,
- "no match ip address prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
-DEFUN (match_ip_next_hop_prefix_list,
+DEFUN (match_ip_next_hop_prefix_list,
match_ip_next_hop_prefix_list_cmd,
"match ip next-hop prefix-list WORD",
MATCH_STR
argv[4]->arg, RMAP_EVENT_PLIST_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_next_hop_prefix_list,
no_match_ip_next_hop_prefix_list_cmd,
"no match ip next-hop prefix-list",
argv[5]->arg, RMAP_EVENT_PLIST_DELETED);
}
-ALIAS (no_match_ip_next_hop_prefix_list,
- no_match_ip_next_hop_prefix_list_val_cmd,
- "no match ip next-hop prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
-DEFUN (match_ip_route_source_prefix_list,
+DEFUN (match_ip_route_source_prefix_list,
match_ip_route_source_prefix_list_cmd,
"match ip route-source prefix-list WORD",
MATCH_STR
argv[4]->arg, RMAP_EVENT_PLIST_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip route-source prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match advertising source address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_route_source_prefix_list,
no_match_ip_route_source_prefix_list_cmd,
"no match ip route-source prefix-list",
argv[5]->arg, RMAP_EVENT_PLIST_DELETED);
}
-ALIAS (no_match_ip_route_source_prefix_list,
- no_match_ip_route_source_prefix_list_val_cmd,
- "no match ip route-source prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match advertising source address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
-DEFUN (match_metric,
+DEFUN (match_metric,
match_metric_cmd,
"match metric <0-4294967295>",
MATCH_STR
RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match metric <0-4294967295>",
+ * NO_STR
+ * MATCH_STR
+ * "Match metric of route\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_match_metric,
no_match_metric_cmd,
"no match metric",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_metric,
- no_match_metric_val_cmd,
- "no match metric <0-4294967295>",
- NO_STR
- MATCH_STR
- "Match metric of route\n"
- "Metric value\n")
DEFUN (match_local_pref,
match_local_pref_cmd,
RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match local-preference <0-4294967295>",
+ * NO_STR
+ * MATCH_STR
+ * "Match local preference of route\n"
+ * "Local preference value\n"
+ *
+ */
DEFUN (no_match_local_pref,
no_match_local_pref_cmd,
"no match local-preference",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_local_pref,
- no_match_local_pref_val_cmd,
- "no match local-preference <0-4294967295>",
- NO_STR
- MATCH_STR
- "Match local preference of route\n"
- "Local preference value\n")
-DEFUN (match_community,
+DEFUN (match_community,
match_community_cmd,
"match community (<1-99>|<100-500>|WORD)",
MATCH_STR
RMAP_EVENT_CLIST_ADDED);
}
-DEFUN (match_community_exact,
+DEFUN (match_community_exact,
match_community_exact_cmd,
"match community (<1-99>|<100-500>|WORD) exact-match",
MATCH_STR
return ret;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match community (<1-99>|<100-500>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * "Match BGP community list\n"
+ * "Community-list number (standard)\n"
+ * "Community-list number (expanded)\n"
+ * "Community-list name\n"
+ *
+ * "no match community (<1-99>|<100-500>|WORD) exact-match",
+ * NO_STR
+ * MATCH_STR
+ * "Match BGP community list\n"
+ * "Community-list number (standard)\n"
+ * "Community-list number (expanded)\n"
+ * "Community-list name\n"
+ * "Do exact matching of communities\n"
+ *
+ */
DEFUN (no_match_community,
no_match_community_cmd,
"no match community",
RMAP_EVENT_CLIST_DELETED);
}
-ALIAS (no_match_community,
- no_match_community_val_cmd,
- "no match community (<1-99>|<100-500>|WORD)",
- NO_STR
- MATCH_STR
- "Match BGP community list\n"
- "Community-list number (standard)\n"
- "Community-list number (expanded)\n"
- "Community-list name\n")
-ALIAS (no_match_community,
- no_match_community_exact_cmd,
- "no match community (<1-99>|<100-500>|WORD) exact-match",
- NO_STR
- MATCH_STR
- "Match BGP community list\n"
- "Community-list number (standard)\n"
- "Community-list number (expanded)\n"
- "Community-list name\n"
- "Do exact matching of communities\n")
-DEFUN (match_ecommunity,
+DEFUN (match_ecommunity,
match_ecommunity_cmd,
"match extcommunity (<1-99>|<100-500>|WORD)",
MATCH_STR
RMAP_EVENT_ECLIST_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match extcommunity (<1-99>|<100-500>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * "Match BGP/VPN extended community list\n"
+ * "Extended community-list number (standard)\n"
+ * "Extended community-list number (expanded)\n"
+ * "Extended community-list name\n"
+ *
+ */
DEFUN (no_match_ecommunity,
no_match_ecommunity_cmd,
"no match extcommunity",
RMAP_EVENT_ECLIST_DELETED);
}
-ALIAS (no_match_ecommunity,
- no_match_ecommunity_val_cmd,
- "no match extcommunity (<1-99>|<100-500>|WORD)",
- NO_STR
- MATCH_STR
- "Match BGP/VPN extended community list\n"
- "Extended community-list number (standard)\n"
- "Extended community-list number (expanded)\n"
- "Extended community-list name\n")
DEFUN (match_aspath,
match_aspath_cmd,
RMAP_EVENT_ASLIST_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match as-path WORD",
+ * NO_STR
+ * MATCH_STR
+ * "Match BGP AS path list\n"
+ * "AS path access-list name\n"
+ *
+ */
DEFUN (no_match_aspath,
no_match_aspath_cmd,
"no match as-path",
RMAP_EVENT_ASLIST_DELETED);
}
-ALIAS (no_match_aspath,
- no_match_aspath_val_cmd,
- "no match as-path WORD",
- NO_STR
- MATCH_STR
- "Match BGP AS path list\n"
- "AS path access-list name\n")
DEFUN (match_origin,
match_origin_cmd,
return CMD_WARNING;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match origin (egp|igp|incomplete)",
+ * NO_STR
+ * MATCH_STR
+ * "BGP origin code\n"
+ * "remote EGP\n"
+ * "local IGP\n"
+ * "unknown heritage\n"
+ *
+ */
DEFUN (no_match_origin,
no_match_origin_cmd,
"no match origin",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_origin,
- no_match_origin_val_cmd,
- "no match origin (egp|igp|incomplete)",
- NO_STR
- MATCH_STR
- "BGP origin code\n"
- "remote EGP\n"
- "local IGP\n"
- "unknown heritage\n")
DEFUN (match_interface,
match_interface_cmd,
RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match interface WORD",
+ * NO_STR
+ * MATCH_STR
+ * "Match first hop interface of route\n"
+ * "Interface name\n"
+ *
+ */
DEFUN (no_match_interface,
no_match_interface_cmd,
"no match interface",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_interface,
- no_match_interface_val_cmd,
- "no match interface WORD",
- NO_STR
- MATCH_STR
- "Match first hop interface of route\n"
- "Interface name\n")
DEFUN (match_tag,
match_tag_cmd,
RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match tag <1-65535>",
+ * NO_STR
+ * MATCH_STR
+ * "Match tag of route\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_match_tag,
no_match_tag_cmd,
"no match tag",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_tag,
- no_match_tag_val_cmd,
- "no match tag <1-65535>",
- NO_STR
- MATCH_STR
- "Match tag of route\n"
- "Tag value\n")
DEFUN (set_ip_nexthop,
return bgp_route_set_add (vty, vty->index, "ip next-hop", "unchanged");
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set ip next-hop peer-address",
+ * NO_STR
+ * SET_STR
+ * IP_STR
+ * "Next hop address\n"
+ * "Use peer address (for BGP only)\n"
+ *
+ * "no set ip next-hop A.B.C.D",
+ * NO_STR
+ * SET_STR
+ * IP_STR
+ * "Next hop address\n"
+ * "IP address of next hop\n"
+ *
+ */
DEFUN (no_set_ip_nexthop,
no_set_ip_nexthop_cmd,
"no set ip next-hop",
return bgp_route_set_delete (vty, vty->index, "ip next-hop", argv[4]->arg);
}
-ALIAS (no_set_ip_nexthop,
- no_set_ip_nexthop_val_cmd,
- "no set ip next-hop A.B.C.D",
- NO_STR
- SET_STR
- IP_STR
- "Next hop address\n"
- "IP address of next hop\n")
-ALIAS (no_set_ip_nexthop,
- no_set_ip_nexthop_peer_cmd,
- "no set ip next-hop peer-address",
- NO_STR
- SET_STR
- IP_STR
- "Next hop address\n"
- "Use peer address (for BGP only)\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "set metric (rtt|+rtt|-rtt)",
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Assign round trip time\n"
+ * "Add round trip time\n"
+ * "Subtract round trip time\n"
+ *
+ * "set metric <+/-metric>",
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Add or subtract metric\n"
+ *
+ */
DEFUN (set_metric,
set_metric_cmd,
"set metric <0-4294967295>",
return bgp_route_set_add (vty, vty->index, "metric", argv[2]->arg);
}
-ALIAS (set_metric,
- set_metric_addsub_cmd,
- "set metric <+/-metric>",
- SET_STR
- "Metric value for destination routing protocol\n"
- "Add or subtract metric\n")
-ALIAS (set_metric,
- set_metric_rtt_cmd,
- "set metric (rtt|+rtt|-rtt)",
- SET_STR
- "Metric value for destination routing protocol\n"
- "Assign round trip time\n"
- "Add round trip time\n"
- "Subtract round trip time\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set metric <0-4294967295>",
+ * NO_STR
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_set_metric,
no_set_metric_cmd,
"no set metric",
return bgp_route_set_delete (vty, vty->index, "metric", argv[3]->arg);
}
-ALIAS (no_set_metric,
- no_set_metric_val_cmd,
- "no set metric <0-4294967295>",
- NO_STR
- SET_STR
- "Metric value for destination routing protocol\n"
- "Metric value\n")
DEFUN (set_local_pref,
set_local_pref_cmd,
return bgp_route_set_add (vty, vty->index, "local-preference", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set local-preference <0-4294967295>",
+ * NO_STR
+ * SET_STR
+ * "BGP local preference path attribute\n"
+ * "Preference value\n"
+ *
+ */
DEFUN (no_set_local_pref,
no_set_local_pref_cmd,
"no set local-preference",
return bgp_route_set_delete (vty, vty->index, "local-preference", argv[3]->arg);
}
-ALIAS (no_set_local_pref,
- no_set_local_pref_val_cmd,
- "no set local-preference <0-4294967295>",
- NO_STR
- SET_STR
- "BGP local preference path attribute\n"
- "Preference value\n")
DEFUN (set_weight,
set_weight_cmd,
return bgp_route_set_add (vty, vty->index, "weight", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set weight <0-4294967295>",
+ * NO_STR
+ * SET_STR
+ * "BGP weight for routing table\n"
+ * "Weight value\n"
+ *
+ */
DEFUN (no_set_weight,
no_set_weight_cmd,
"no set weight",
return bgp_route_set_delete (vty, vty->index, "weight", argv[3]->arg);
}
-ALIAS (no_set_weight,
- no_set_weight_val_cmd,
- "no set weight <0-4294967295>",
- NO_STR
- SET_STR
- "BGP weight for routing table\n"
- "Weight value\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "set as-path prepend (last-as) <1-10>",
+ * SET_STR
+ * "Transform BGP AS_PATH attribute\n"
+ * "Prepend to the as-path\n"
+ * "Use the peer's AS-number\n"
+ * "Number of times to insert"
+ *
+ */
DEFUN (set_aspath_prepend,
set_aspath_prepend_cmd,
"set as-path prepend ." CMD_AS_RANGE,
return ret;
}
-ALIAS (set_aspath_prepend,
- set_aspath_prepend_lastas_cmd,
- "set as-path prepend (last-as) <1-10>",
- SET_STR
- "Transform BGP AS_PATH attribute\n"
- "Prepend to the as-path\n"
- "Use the peer's AS-number\n"
- "Number of times to insert")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set as-path prepend ." CMD_AS_RANGE,
+ * NO_STR
+ * SET_STR
+ * "Transform BGP AS_PATH attribute\n"
+ * "Prepend to the as-path\n"
+ * "AS number\n"
+ *
+ */
DEFUN (no_set_aspath_prepend,
no_set_aspath_prepend_cmd,
"no set as-path prepend",
return ret;
}
-ALIAS (no_set_aspath_prepend,
- no_set_aspath_prepend_val_cmd,
- "no set as-path prepend ." CMD_AS_RANGE,
- NO_STR
- SET_STR
- "Transform BGP AS_PATH attribute\n"
- "Prepend to the as-path\n"
- "AS number\n")
DEFUN (set_aspath_exclude,
set_aspath_exclude_cmd,
return ret;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set as-path exclude ." CMD_AS_RANGE,
+ * NO_STR
+ * SET_STR
+ * "Transform BGP AS_PATH attribute\n"
+ * "Exclude from the as-path\n"
+ * "AS number\n"
+ *
+ */
DEFUN (no_set_aspath_exclude,
no_set_aspath_exclude_cmd,
"no set as-path exclude",
return ret;
}
-ALIAS (no_set_aspath_exclude,
- no_set_aspath_exclude_val_cmd,
- "no set as-path exclude ." CMD_AS_RANGE,
- NO_STR
- SET_STR
- "Transform BGP AS_PATH attribute\n"
- "Exclude from the as-path\n"
- "AS number\n")
DEFUN (set_community,
set_community_cmd,
return bgp_route_set_add (vty, vty->index, "community", "none");
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set community none",
+ * NO_STR
+ * SET_STR
+ * "BGP community attribute\n"
+ * "No community attribute\n"
+ *
+ * "no set community .AA:NN",
+ * NO_STR
+ * SET_STR
+ * "BGP community attribute\n"
+ * COMMUNITY_VAL_STR
+ *
+ */
DEFUN (no_set_community,
no_set_community_cmd,
"no set community",
return bgp_route_set_delete (vty, vty->index, "community", NULL);
}
-ALIAS (no_set_community,
- no_set_community_val_cmd,
- "no set community .AA:NN",
- NO_STR
- SET_STR
- "BGP community attribute\n"
- COMMUNITY_VAL_STR)
-ALIAS (no_set_community,
- no_set_community_none_cmd,
- "no set community none",
- NO_STR
- SET_STR
- "BGP community attribute\n"
- "No community attribute\n")
DEFUN (set_community_delete,
set_community_delete_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set comm-list (<1-99>|<100-500>|WORD) delete",
+ * NO_STR
+ * SET_STR
+ * "set BGP community list (for deletion)\n"
+ * "Community-list number (standard)\n"
+ * "Community-list number (expanded)\n"
+ * "Community-list name\n"
+ * "Delete matching communities\n"
+ *
+ */
DEFUN (no_set_community_delete,
no_set_community_delete_cmd,
"no set comm-list",
return bgp_route_set_delete (vty, vty->index, "comm-list", NULL);
}
-ALIAS (no_set_community_delete,
- no_set_community_delete_val_cmd,
- "no set comm-list (<1-99>|<100-500>|WORD) delete",
- NO_STR
- SET_STR
- "set BGP community list (for deletion)\n"
- "Community-list number (standard)\n"
- "Community-list number (expanded)\n"
- "Community-list name\n"
- "Delete matching communities\n")
DEFUN (set_ecommunity_rt,
set_ecommunity_rt_cmd,
return ret;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set extcommunity rt .ASN:nn_or_IP-address:nn",
+ * NO_STR
+ * SET_STR
+ * "BGP extended community attribute\n"
+ * "Route Target extended community\n"
+ * "VPN extended community\n"
+ *
+ */
DEFUN (no_set_ecommunity_rt,
no_set_ecommunity_rt_cmd,
"no set extcommunity rt",
return bgp_route_set_delete (vty, vty->index, "extcommunity rt", NULL);
}
-ALIAS (no_set_ecommunity_rt,
- no_set_ecommunity_rt_val_cmd,
- "no set extcommunity rt .ASN:nn_or_IP-address:nn",
- NO_STR
- SET_STR
- "BGP extended community attribute\n"
- "Route Target extended community\n"
- "VPN extended community\n")
DEFUN (set_ecommunity_soo,
set_ecommunity_soo_cmd,
return ret;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set extcommunity soo .ASN:nn_or_IP-address:nn",
+ * NO_STR
+ * SET_STR
+ * "BGP extended community attribute\n"
+ * "Site-of-Origin extended community\n"
+ * "VPN extended community\n"
+ *
+ */
DEFUN (no_set_ecommunity_soo,
no_set_ecommunity_soo_cmd,
"no set extcommunity soo",
return bgp_route_set_delete (vty, vty->index, "extcommunity soo", NULL);
}
-ALIAS (no_set_ecommunity_soo,
- no_set_ecommunity_soo_val_cmd,
- "no set extcommunity soo .ASN:nn_or_IP-address:nn",
- NO_STR
- SET_STR
- "BGP extended community attribute\n"
- "Site-of-Origin extended community\n"
- "VPN extended community\n")
DEFUN (set_origin,
set_origin_cmd,
return CMD_WARNING;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set origin (egp|igp|incomplete)",
+ * NO_STR
+ * SET_STR
+ * "BGP origin code\n"
+ * "remote EGP\n"
+ * "local IGP\n"
+ * "unknown heritage\n"
+ *
+ */
DEFUN (no_set_origin,
no_set_origin_cmd,
"no set origin",
return bgp_route_set_delete (vty, vty->index, "origin", NULL);
}
-ALIAS (no_set_origin,
- no_set_origin_val_cmd,
- "no set origin (egp|igp|incomplete)",
- NO_STR
- SET_STR
- "BGP origin code\n"
- "remote EGP\n"
- "local IGP\n"
- "unknown heritage\n")
DEFUN (set_atomic_aggregate,
set_atomic_aggregate_cmd,
return ret;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set aggregator as " CMD_AS_RANGE " A.B.C.D",
+ * NO_STR
+ * SET_STR
+ * "BGP aggregator attribute\n"
+ * "AS number of aggregator\n"
+ * "AS number\n"
+ * "IP address of aggregator\n"
+ *
+ */
DEFUN (no_set_aggregator_as,
no_set_aggregator_as_cmd,
"no set aggregator as",
return ret;
}
-ALIAS (no_set_aggregator_as,
- no_set_aggregator_as_val_cmd,
- "no set aggregator as " CMD_AS_RANGE " A.B.C.D",
- NO_STR
- SET_STR
- "BGP aggregator attribute\n"
- "AS number of aggregator\n"
- "AS number\n"
- "IP address of aggregator\n")
DEFUN (set_tag,
set_tag_cmd,
return bgp_route_set_add (vty, vty->index, "tag", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set tag <1-65535>",
+ * NO_STR
+ * SET_STR
+ * "Tag value for routing protocol\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_set_tag,
no_set_tag_cmd,
"no set tag",
return bgp_route_set_delete (vty, vty->index, "tag", argv[3]->arg);
}
-ALIAS (no_set_tag,
- no_set_tag_val_cmd,
- "no set tag <1-65535>",
- NO_STR
- SET_STR
- "Tag value for routing protocol\n"
- "Tag value\n")
#ifdef HAVE_IPV6
-DEFUN (match_ipv6_address,
+DEFUN (match_ipv6_address,
match_ipv6_address_cmd,
"match ipv6 address WORD",
MATCH_STR
RMAP_EVENT_FILTER_ADDED);
}
-DEFUN (no_match_ipv6_address,
+DEFUN (no_match_ipv6_address,
no_match_ipv6_address_cmd,
"no match ipv6 address WORD",
NO_STR
RMAP_EVENT_FILTER_DELETED);
}
-DEFUN (match_ipv6_next_hop,
+DEFUN (match_ipv6_next_hop,
match_ipv6_next_hop_cmd,
"match ipv6 next-hop X:X::X:X",
MATCH_STR
RMAP_EVENT_MATCH_DELETED);
}
-DEFUN (match_ipv6_address_prefix_list,
+DEFUN (match_ipv6_address_prefix_list,
match_ipv6_address_prefix_list_cmd,
"match ipv6 address prefix-list WORD",
MATCH_STR
return bgp_route_set_add (vty, vty->index, "ipv6 next-hop global", argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set ipv6 next-hop global X:X::X:X",
+ * NO_STR
+ * SET_STR
+ * IPV6_STR
+ * "IPv6 next-hop address\n"
+ * "IPv6 global address\n"
+ * "IPv6 address of next hop\n"
+ *
+ */
DEFUN (no_set_ipv6_nexthop_global,
no_set_ipv6_nexthop_global_cmd,
"no set ipv6 next-hop global",
return bgp_route_set_delete (vty, vty->index, "ipv6 next-hop global", argv[5]->arg);
}
-ALIAS (no_set_ipv6_nexthop_global,
- no_set_ipv6_nexthop_global_val_cmd,
- "no set ipv6 next-hop global X:X::X:X",
- NO_STR
- SET_STR
- IPV6_STR
- "IPv6 next-hop address\n"
- "IPv6 global address\n"
- "IPv6 address of next hop\n")
DEFUN (set_ipv6_nexthop_local,
set_ipv6_nexthop_local_cmd,
return bgp_route_set_add (vty, vty->index, "ipv6 next-hop local", argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set ipv6 next-hop local X:X::X:X",
+ * NO_STR
+ * SET_STR
+ * IPV6_STR
+ * "IPv6 next-hop address\n"
+ * "IPv6 local address\n"
+ * "IPv6 address of next hop\n"
+ *
+ */
DEFUN (no_set_ipv6_nexthop_local,
no_set_ipv6_nexthop_local_cmd,
"no set ipv6 next-hop local",
return bgp_route_set_delete (vty, vty->index, "ipv6 next-hop local", argv[5]->arg);
}
-ALIAS (no_set_ipv6_nexthop_local,
- no_set_ipv6_nexthop_local_val_cmd,
- "no set ipv6 next-hop local X:X::X:X",
- NO_STR
- SET_STR
- IPV6_STR
- "IPv6 next-hop address\n"
- "IPv6 local address\n"
- "IPv6 address of next hop\n")
#endif /* HAVE_IPV6 */
DEFUN (set_vpnv4_nexthop,
return bgp_route_set_add (vty, vty->index, "vpnv4 next-hop", argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set vpnv4 next-hop A.B.C.D",
+ * NO_STR
+ * SET_STR
+ * "VPNv4 information\n"
+ * "VPNv4 next-hop address\n"
+ * "IP address of next hop\n"
+ *
+ */
DEFUN (no_set_vpnv4_nexthop,
no_set_vpnv4_nexthop_cmd,
"no set vpnv4 next-hop",
return bgp_route_set_delete (vty, vty->index, "vpnv4 next-hop", argv[4]->arg);
}
-ALIAS (no_set_vpnv4_nexthop,
- no_set_vpnv4_nexthop_val_cmd,
- "no set vpnv4 next-hop A.B.C.D",
- NO_STR
- SET_STR
- "VPNv4 information\n"
- "VPNv4 next-hop address\n"
- "IP address of next hop\n")
DEFUN (set_originator_id,
set_originator_id_cmd,
return bgp_route_set_add (vty, vty->index, "originator-id", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set originator-id A.B.C.D",
+ * NO_STR
+ * SET_STR
+ * "BGP originator ID attribute\n"
+ * "IP address of originator\n"
+ *
+ */
DEFUN (no_set_originator_id,
no_set_originator_id_cmd,
"no set originator-id",
return bgp_route_set_delete (vty, vty->index, "originator-id", argv[3]->arg);
}
-ALIAS (no_set_originator_id,
- no_set_originator_id_val_cmd,
- "no set originator-id A.B.C.D",
- NO_STR
- SET_STR
- "BGP originator ID attribute\n"
- "IP address of originator\n")
/* Initialization of route map. */
void
install_element (RMAP_NODE, &match_peer_cmd);
install_element (RMAP_NODE, &match_peer_local_cmd);
install_element (RMAP_NODE, &no_match_peer_cmd);
- install_element (RMAP_NODE, &no_match_peer_val_cmd);
- install_element (RMAP_NODE, &no_match_peer_local_cmd);
install_element (RMAP_NODE, &match_ip_address_cmd);
install_element (RMAP_NODE, &no_match_ip_address_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_val_cmd);
install_element (RMAP_NODE, &match_ip_next_hop_cmd);
install_element (RMAP_NODE, &no_match_ip_next_hop_cmd);
- install_element (RMAP_NODE, &no_match_ip_next_hop_val_cmd);
install_element (RMAP_NODE, &match_ip_route_source_cmd);
install_element (RMAP_NODE, &no_match_ip_route_source_cmd);
- install_element (RMAP_NODE, &no_match_ip_route_source_val_cmd);
install_element (RMAP_NODE, &match_ip_address_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_address_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_ip_next_hop_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_ip_route_source_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_route_source_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_route_source_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_aspath_cmd);
install_element (RMAP_NODE, &no_match_aspath_cmd);
- install_element (RMAP_NODE, &no_match_aspath_val_cmd);
install_element (RMAP_NODE, &match_metric_cmd);
install_element (RMAP_NODE, &no_match_metric_cmd);
- install_element (RMAP_NODE, &no_match_metric_val_cmd);
install_element (RMAP_NODE, &match_local_pref_cmd);
install_element (RMAP_NODE, &no_match_local_pref_cmd);
- install_element (RMAP_NODE, &no_match_local_pref_val_cmd);
install_element (RMAP_NODE, &match_community_cmd);
install_element (RMAP_NODE, &match_community_exact_cmd);
install_element (RMAP_NODE, &no_match_community_cmd);
- install_element (RMAP_NODE, &no_match_community_val_cmd);
- install_element (RMAP_NODE, &no_match_community_exact_cmd);
install_element (RMAP_NODE, &match_ecommunity_cmd);
install_element (RMAP_NODE, &no_match_ecommunity_cmd);
- install_element (RMAP_NODE, &no_match_ecommunity_val_cmd);
install_element (RMAP_NODE, &match_origin_cmd);
install_element (RMAP_NODE, &no_match_origin_cmd);
- install_element (RMAP_NODE, &no_match_origin_val_cmd);
install_element (RMAP_NODE, &match_probability_cmd);
install_element (RMAP_NODE, &no_match_probability_cmd);
- install_element (RMAP_NODE, &no_match_probability_val_cmd);
install_element (RMAP_NODE, &match_interface_cmd);
install_element (RMAP_NODE, &no_match_interface_cmd);
- install_element (RMAP_NODE, &no_match_interface_val_cmd);
install_element (RMAP_NODE, &match_tag_cmd);
install_element (RMAP_NODE, &no_match_tag_cmd);
- install_element (RMAP_NODE, &no_match_tag_val_cmd);
install_element (RMAP_NODE, &set_ip_nexthop_cmd);
install_element (RMAP_NODE, &set_ip_nexthop_peer_cmd);
install_element (RMAP_NODE, &set_ip_nexthop_unchanged_cmd);
install_element (RMAP_NODE, &no_set_ip_nexthop_cmd);
- install_element (RMAP_NODE, &no_set_ip_nexthop_val_cmd);
- install_element (RMAP_NODE, &no_set_ip_nexthop_peer_cmd);
install_element (RMAP_NODE, &set_local_pref_cmd);
install_element (RMAP_NODE, &no_set_local_pref_cmd);
- install_element (RMAP_NODE, &no_set_local_pref_val_cmd);
install_element (RMAP_NODE, &set_weight_cmd);
install_element (RMAP_NODE, &no_set_weight_cmd);
- install_element (RMAP_NODE, &no_set_weight_val_cmd);
install_element (RMAP_NODE, &set_metric_cmd);
- install_element (RMAP_NODE, &set_metric_addsub_cmd);
- install_element (RMAP_NODE, &set_metric_rtt_cmd);
install_element (RMAP_NODE, &no_set_metric_cmd);
- install_element (RMAP_NODE, &no_set_metric_val_cmd);
install_element (RMAP_NODE, &set_aspath_prepend_cmd);
- install_element (RMAP_NODE, &set_aspath_prepend_lastas_cmd);
install_element (RMAP_NODE, &set_aspath_exclude_cmd);
install_element (RMAP_NODE, &no_set_aspath_prepend_cmd);
- install_element (RMAP_NODE, &no_set_aspath_prepend_val_cmd);
install_element (RMAP_NODE, &no_set_aspath_exclude_cmd);
- install_element (RMAP_NODE, &no_set_aspath_exclude_val_cmd);
install_element (RMAP_NODE, &set_origin_cmd);
install_element (RMAP_NODE, &no_set_origin_cmd);
- install_element (RMAP_NODE, &no_set_origin_val_cmd);
install_element (RMAP_NODE, &set_atomic_aggregate_cmd);
install_element (RMAP_NODE, &no_set_atomic_aggregate_cmd);
install_element (RMAP_NODE, &set_aggregator_as_cmd);
install_element (RMAP_NODE, &no_set_aggregator_as_cmd);
- install_element (RMAP_NODE, &no_set_aggregator_as_val_cmd);
install_element (RMAP_NODE, &set_community_cmd);
install_element (RMAP_NODE, &set_community_none_cmd);
install_element (RMAP_NODE, &no_set_community_cmd);
- install_element (RMAP_NODE, &no_set_community_val_cmd);
- install_element (RMAP_NODE, &no_set_community_none_cmd);
install_element (RMAP_NODE, &set_community_delete_cmd);
install_element (RMAP_NODE, &no_set_community_delete_cmd);
- install_element (RMAP_NODE, &no_set_community_delete_val_cmd);
install_element (RMAP_NODE, &set_ecommunity_rt_cmd);
install_element (RMAP_NODE, &no_set_ecommunity_rt_cmd);
- install_element (RMAP_NODE, &no_set_ecommunity_rt_val_cmd);
install_element (RMAP_NODE, &set_ecommunity_soo_cmd);
install_element (RMAP_NODE, &no_set_ecommunity_soo_cmd);
- install_element (RMAP_NODE, &no_set_ecommunity_soo_val_cmd);
install_element (RMAP_NODE, &set_vpnv4_nexthop_cmd);
install_element (RMAP_NODE, &no_set_vpnv4_nexthop_cmd);
- install_element (RMAP_NODE, &no_set_vpnv4_nexthop_val_cmd);
install_element (RMAP_NODE, &set_originator_id_cmd);
install_element (RMAP_NODE, &no_set_originator_id_cmd);
- install_element (RMAP_NODE, &no_set_originator_id_val_cmd);
install_element (RMAP_NODE, &set_tag_cmd);
install_element (RMAP_NODE, &no_set_tag_cmd);
- install_element (RMAP_NODE, &no_set_tag_val_cmd);
#ifdef HAVE_IPV6
route_map_install_match (&route_match_ipv6_address_cmd);
install_element (RMAP_NODE, &no_match_ipv6_address_prefix_list_cmd);
install_element (RMAP_NODE, &set_ipv6_nexthop_global_cmd);
install_element (RMAP_NODE, &no_set_ipv6_nexthop_global_cmd);
- install_element (RMAP_NODE, &no_set_ipv6_nexthop_global_val_cmd);
install_element (RMAP_NODE, &set_ipv6_nexthop_prefer_global_cmd);
install_element (RMAP_NODE, &no_set_ipv6_nexthop_prefer_global_cmd);
install_element (RMAP_NODE, &set_ipv6_nexthop_local_cmd);
install_element (RMAP_NODE, &no_set_ipv6_nexthop_local_cmd);
- install_element (RMAP_NODE, &no_set_ipv6_nexthop_local_val_cmd);
install_element (RMAP_NODE, &set_ipv6_nexthop_peer_cmd);
install_element (RMAP_NODE, &no_set_ipv6_nexthop_peer_cmd);
#endif /* HAVE_IPV6 */
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp config-type (cisco|zebra)",
+ * NO_STR
+ * BGP_STR
+ * "Configuration type\n"
+ * "cisco\n"
+ * "zebra\n"
+ *
+ */
DEFUN (no_bgp_config_type,
no_bgp_config_type_cmd,
"no bgp config-type",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_config_type,
- no_bgp_config_type_val_cmd,
- "no bgp config-type (cisco|zebra)",
- NO_STR
- BGP_STR
- "Configuration type\n"
- "cisco\n"
- "zebra\n")
DEFUN (no_synchronization,
no_synchronization_cmd,
}
/* "router bgp" commands. */
-DEFUN (router_bgp,
- router_bgp_cmd,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "router bgp",
+ * ROUTER_STR
+ * BGP_STR
+ *
+ * "router bgp " CMD_AS_RANGE " (view|vrf) WORD",
+ * ROUTER_STR
+ * BGP_STR
+ * AS_STR
+ * "BGP view\nBGP VRF\n"
+ * "View/VRF name\n"
+ *
+ */
+DEFUN (router_bgp,
+ router_bgp_cmd,
"router bgp " CMD_AS_RANGE,
ROUTER_STR
BGP_STR
return CMD_SUCCESS;
}
-ALIAS (router_bgp,
- router_bgp_instance_cmd,
- "router bgp " CMD_AS_RANGE " (view|vrf) WORD",
- ROUTER_STR
- BGP_STR
- AS_STR
- "BGP view\nBGP VRF\n"
- "View/VRF name\n")
-ALIAS (router_bgp,
- router_bgp_noasn_cmd,
- "router bgp",
- ROUTER_STR
- BGP_STR)
/* "no router bgp" commands. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no router bgp",
+ * NO_STR
+ * ROUTER_STR
+ * BGP_STR
+ *
+ * "no router bgp " CMD_AS_RANGE " (view|vrf) WORD",
+ * NO_STR
+ * ROUTER_STR
+ * BGP_STR
+ * AS_STR
+ * "BGP view\nBGP VRF\n"
+ * "View/VRF name\n"
+ *
+ */
DEFUN (no_router_bgp,
no_router_bgp_cmd,
"no router bgp " CMD_AS_RANGE,
return CMD_SUCCESS;
}
-ALIAS (no_router_bgp,
- no_router_bgp_instance_cmd,
- "no router bgp " CMD_AS_RANGE " (view|vrf) WORD",
- NO_STR
- ROUTER_STR
- BGP_STR
- AS_STR
- "BGP view\nBGP VRF\n"
- "View/VRF name\n")
-ALIAS (no_router_bgp,
- no_router_bgp_noasn_cmd,
- "no router bgp",
- NO_STR
- ROUTER_STR
- BGP_STR)
/* BGP router-id. */
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp router-id A.B.C.D",
+ * NO_STR
+ * BGP_STR
+ * "Override configured router identifier\n"
+ * "Manually configured router identifier\n"
+ *
+ */
DEFUN (no_bgp_router_id,
no_bgp_router_id_cmd,
"no bgp router-id",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_router_id,
- no_bgp_router_id_val_cmd,
- "no bgp router-id A.B.C.D",
- NO_STR
- BGP_STR
- "Override configured router identifier\n"
- "Manually configured router identifier\n")
/* BGP Cluster ID. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "bgp cluster-id <1-4294967295>",
+ * BGP_STR
+ * "Configure Route-Reflector Cluster-id\n"
+ * "Route-Reflector Cluster-id as 32 bit quantity\n"
+ *
+ */
DEFUN (bgp_cluster_id,
bgp_cluster_id_cmd,
"bgp cluster-id A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (bgp_cluster_id,
- bgp_cluster_id32_cmd,
- "bgp cluster-id <1-4294967295>",
- BGP_STR
- "Configure Route-Reflector Cluster-id\n"
- "Route-Reflector Cluster-id as 32 bit quantity\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp cluster-id A.B.C.D",
+ * NO_STR
+ * BGP_STR
+ * "Configure Route-Reflector Cluster-id\n"
+ * "Route-Reflector Cluster-id in IP address format\n"
+ *
+ * "no bgp cluster-id <1-4294967295>",
+ * NO_STR
+ * BGP_STR
+ * "Configure Route-Reflector Cluster-id\n"
+ * "Route-Reflector Cluster-id as 32 bit quantity\n"
+ *
+ */
DEFUN (no_bgp_cluster_id,
no_bgp_cluster_id_cmd,
"no bgp cluster-id",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_cluster_id,
- no_bgp_cluster_id_ip_cmd,
- "no bgp cluster-id A.B.C.D",
- NO_STR
- BGP_STR
- "Configure Route-Reflector Cluster-id\n"
- "Route-Reflector Cluster-id in IP address format\n")
-ALIAS (no_bgp_cluster_id,
- no_bgp_cluster_id_decimal_cmd,
- "no bgp cluster-id <1-4294967295>",
- NO_STR
- BGP_STR
- "Configure Route-Reflector Cluster-id\n"
- "Route-Reflector Cluster-id as 32 bit quantity\n")
DEFUN (bgp_confederation_identifier,
bgp_confederation_identifier_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp confederation identifier " CMD_AS_RANGE,
+ * NO_STR
+ * "BGP specific commands\n"
+ * "AS confederation parameters\n"
+ * "AS number\n"
+ * "Set routing domain confederation AS\n"
+ *
+ */
DEFUN (no_bgp_confederation_identifier,
no_bgp_confederation_identifier_cmd,
"no bgp confederation identifier",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_confederation_identifier,
- no_bgp_confederation_identifier_arg_cmd,
- "no bgp confederation identifier " CMD_AS_RANGE,
- NO_STR
- "BGP specific commands\n"
- "AS confederation parameters\n"
- "AS number\n"
- "Set routing domain confederation AS\n")
DEFUN (bgp_confederation_peers,
bgp_confederation_peers_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp max-med administrative <0-4294967294>",
+ * NO_STR
+ * BGP_STR
+ * "Advertise routes with max-med\n"
+ * "Administratively applied, for an indefinite period\n"
+ * "Max MED value to be used\n"
+ *
+ */
DEFUN (no_bgp_maxmed_admin,
no_bgp_maxmed_admin_cmd,
"no bgp max-med administrative",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_maxmed_admin,
- no_bgp_maxmed_admin_medv_cmd,
- "no bgp max-med administrative <0-4294967294>",
- NO_STR
- BGP_STR
- "Advertise routes with max-med\n"
- "Administratively applied, for an indefinite period\n"
- "Max MED value to be used\n")
DEFUN (bgp_maxmed_onstartup,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp max-med on-startup <5-86400> <0-4294967294>",
+ * NO_STR
+ * BGP_STR
+ * "Advertise routes with max-med\n"
+ * "Effective on a startup\n"
+ * "Time (seconds) period for max-med\n"
+ * "Max MED value to be used\n"
+ *
+ * "no bgp max-med on-startup <5-86400>",
+ * NO_STR
+ * BGP_STR
+ * "Advertise routes with max-med\n"
+ * "Effective on a startup\n"
+ * "Time (seconds) period for max-med\n"
+ *
+ */
DEFUN (no_bgp_maxmed_onstartup,
no_bgp_maxmed_onstartup_cmd,
"no bgp max-med on-startup",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_maxmed_onstartup,
- no_bgp_maxmed_onstartup_period_cmd,
- "no bgp max-med on-startup <5-86400>",
- NO_STR
- BGP_STR
- "Advertise routes with max-med\n"
- "Effective on a startup\n"
- "Time (seconds) period for max-med\n")
-ALIAS (no_bgp_maxmed_onstartup,
- no_bgp_maxmed_onstartup_period_medv_cmd,
- "no bgp max-med on-startup <5-86400> <0-4294967294>",
- NO_STR
- BGP_STR
- "Advertise routes with max-med\n"
- "Effective on a startup\n"
- "Time (seconds) period for max-med\n"
- "Max MED value to be used\n")
static int
bgp_update_delay_config_vty (struct vty *vty, const char *delay,
}
/* Update-delay deconfiguration */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no update-delay <0-3600> <1-3600>",
+ * "Force initial delay for best-path and updates\n"
+ * "Seconds\n"
+ * "Wait for peers to be established\n"
+ * "Seconds\n"
+ *
+ */
DEFUN (no_bgp_update_delay,
no_bgp_update_delay_cmd,
"no update-delay <0-3600>",
return bgp_update_delay_deconfig_vty(vty);
}
-ALIAS (no_bgp_update_delay,
- no_bgp_update_delay_establish_wait_cmd,
- "no update-delay <0-3600> <1-3600>",
- "Force initial delay for best-path and updates\n"
- "Seconds\n"
- "Wait for peers to be established\n"
- "Seconds\n")
static int
bgp_wpkt_quanta_config_vty (struct vty *vty, const char *num, char set)
BGP_FLAG_IBGP_MULTIPATH_SAME_CLUSTERLEN, 1);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no maximum-paths " CMD_RANGE_STR(1, MULTIPATH_NUM),
+ * NO_STR
+ * "Forward packets over multiple paths\n"
+ * "Number of paths\n"
+ *
+ */
DEFUN (no_bgp_maxpaths,
no_bgp_maxpaths_cmd,
"no maximum-paths",
return bgp_maxpaths_config_vty(vty, BGP_PEER_EBGP, NULL, 0, 0);
}
-ALIAS (no_bgp_maxpaths,
- no_bgp_maxpaths_arg_cmd,
- "no maximum-paths " CMD_RANGE_STR(1, MULTIPATH_NUM),
- NO_STR
- "Forward packets over multiple paths\n"
- "Number of paths\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no maximum-paths ibgp " CMD_RANGE_STR(1, MULTIPATH_NUM) " equal-cluster-length",
+ * NO_STR
+ * "Forward packets over multiple paths\n"
+ * "iBGP-multipath\n"
+ * "Number of paths\n"
+ * "Match the cluster length\n"
+ *
+ * "no maximum-paths ibgp " CMD_RANGE_STR(1, MULTIPATH_NUM),
+ * NO_STR
+ * "Forward packets over multiple paths\n"
+ * "iBGP-multipath\n"
+ * "Number of paths\n"
+ *
+ */
DEFUN (no_bgp_maxpaths_ibgp,
no_bgp_maxpaths_ibgp_cmd,
"no maximum-paths ibgp",
return bgp_maxpaths_config_vty(vty, BGP_PEER_IBGP, NULL, 0, 0);
}
-ALIAS (no_bgp_maxpaths_ibgp,
- no_bgp_maxpaths_ibgp_arg_cmd,
- "no maximum-paths ibgp " CMD_RANGE_STR(1, MULTIPATH_NUM),
- NO_STR
- "Forward packets over multiple paths\n"
- "iBGP-multipath\n"
- "Number of paths\n")
-ALIAS (no_bgp_maxpaths_ibgp,
- no_bgp_maxpaths_ibgp_cluster_cmd,
- "no maximum-paths ibgp " CMD_RANGE_STR(1, MULTIPATH_NUM) " equal-cluster-length",
- NO_STR
- "Forward packets over multiple paths\n"
- "iBGP-multipath\n"
- "Number of paths\n"
- "Match the cluster length\n")
int
bgp_config_write_maxpaths (struct vty *vty, struct bgp *bgp, afi_t afi,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers bgp <0-65535> <0-65535>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "BGP timers\n"
+ * "Keepalive interval\n"
+ * "Holdtime\n"
+ *
+ */
DEFUN (no_bgp_timers,
no_bgp_timers_cmd,
"no timers bgp",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_timers,
- no_bgp_timers_arg_cmd,
- "no timers bgp <0-65535> <0-65535>",
- NO_STR
- "Adjust routing timers\n"
- "BGP timers\n"
- "Keepalive interval\n"
- "Holdtime\n")
DEFUN (bgp_client_to_client_reflection,
bgp_client_to_client_reflection_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp graceful-restart stalepath-time <1-3600>",
+ * NO_STR
+ * "BGP specific commands\n"
+ * "Graceful restart capability parameters\n"
+ * "Set the max time to hold onto restarting peer's stale paths\n"
+ * "Delay value (seconds)\n"
+ *
+ */
DEFUN (no_bgp_graceful_restart_stalepath_time,
no_bgp_graceful_restart_stalepath_time_cmd,
"no bgp graceful-restart stalepath-time",
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp graceful-restart restart-time <1-3600>",
+ * NO_STR
+ * "BGP specific commands\n"
+ * "Graceful restart capability parameters\n"
+ * "Set the time to wait to delete stale routes before a BGP open message is received\n"
+ * "Delay value (seconds)\n"
+ *
+ */
DEFUN (no_bgp_graceful_restart_restart_time,
no_bgp_graceful_restart_restart_time_cmd,
"no bgp graceful-restart restart-time",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_graceful_restart_stalepath_time,
- no_bgp_graceful_restart_stalepath_time_val_cmd,
- "no bgp graceful-restart stalepath-time <1-3600>",
- NO_STR
- "BGP specific commands\n"
- "Graceful restart capability parameters\n"
- "Set the max time to hold onto restarting peer's stale paths\n"
- "Delay value (seconds)\n")
-ALIAS (no_bgp_graceful_restart_restart_time,
- no_bgp_graceful_restart_restart_time_val_cmd,
- "no bgp graceful-restart restart-time <1-3600>",
- NO_STR
- "BGP specific commands\n"
- "Graceful restart capability parameters\n"
- "Set the time to wait to delete stale routes before a BGP open message is received\n"
- "Delay value (seconds)\n")
/* "bgp fast-external-failover" configuration. */
DEFUN (bgp_fast_external_failover,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "bgp bestpath med missing-as-worst confed",
+ * "BGP specific commands\n"
+ * "Change the default bestpath selection\n"
+ * "MED attribute\n"
+ * "Treat missing MED as the least preferred one\n"
+ * "Compare MED among confederation paths\n"
+ *
+ */
DEFUN (bgp_bestpath_med2,
bgp_bestpath_med2_cmd,
"bgp bestpath med confed missing-as-worst",
return CMD_SUCCESS;
}
-ALIAS (bgp_bestpath_med2,
- bgp_bestpath_med3_cmd,
- "bgp bestpath med missing-as-worst confed",
- "BGP specific commands\n"
- "Change the default bestpath selection\n"
- "MED attribute\n"
- "Treat missing MED as the least preferred one\n"
- "Compare MED among confederation paths\n")
DEFUN (no_bgp_bestpath_med,
no_bgp_bestpath_med_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp bestpath med missing-as-worst confed",
+ * NO_STR
+ * "BGP specific commands\n"
+ * "Change the default bestpath selection\n"
+ * "MED attribute\n"
+ * "Treat missing MED as the least preferred one\n"
+ * "Compare MED among confederation paths\n"
+ *
+ */
DEFUN (no_bgp_bestpath_med2,
no_bgp_bestpath_med2_cmd,
"no bgp bestpath med confed missing-as-worst",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_bestpath_med2,
- no_bgp_bestpath_med3_cmd,
- "no bgp bestpath med missing-as-worst confed",
- NO_STR
- "BGP specific commands\n"
- "Change the default bestpath selection\n"
- "MED attribute\n"
- "Treat missing MED as the least preferred one\n"
- "Compare MED among confederation paths\n")
/* "no bgp default ipv4-unicast". */
DEFUN (no_bgp_default_ipv4_unicast,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp default local-preference <0-4294967295>",
+ * NO_STR
+ * "BGP specific commands\n"
+ * "Configure BGP defaults\n"
+ * "local preference (higher=more preferred)\n"
+ * "Configure default local preference value\n"
+ *
+ */
DEFUN (no_bgp_default_local_preference,
no_bgp_default_local_preference_cmd,
"no bgp default local-preference",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_default_local_preference,
- no_bgp_default_local_preference_val_cmd,
- "no bgp default local-preference <0-4294967295>",
- NO_STR
- "BGP specific commands\n"
- "Configure BGP defaults\n"
- "local preference (higher=more preferred)\n"
- "Configure default local preference value\n")
DEFUN (bgp_default_subgroup_pkt_queue_max,
bgp_default_subgroup_pkt_queue_max_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp default subgroup-pkt-queue-max <20-100>",
+ * NO_STR
+ * "BGP specific commands\n"
+ * "Configure BGP defaults\n"
+ * "subgroup-pkt-queue-max\n"
+ * "Configure subgroup packet queue max\n"
+ *
+ */
DEFUN (no_bgp_default_subgroup_pkt_queue_max,
no_bgp_default_subgroup_pkt_queue_max_cmd,
"no bgp default subgroup-pkt-queue-max",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_default_subgroup_pkt_queue_max,
- no_bgp_default_subgroup_pkt_queue_max_val_cmd,
- "no bgp default subgroup-pkt-queue-max <20-100>",
- NO_STR
- "BGP specific commands\n"
- "Configure BGP defaults\n"
- "subgroup-pkt-queue-max\n"
- "Configure subgroup packet queue max\n")
DEFUN (bgp_rr_allow_outbound_policy,
bgp_rr_allow_outbound_policy_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp listen limit " DYNAMIC_NEIGHBOR_LIMIT_RANGE,
+ * NO_STR
+ * "BGP specific commands\n"
+ * "Configure BGP defaults\n"
+ * "maximum number of BGP Dynamic Neighbors that can be created\n"
+ * "Configure Dynamic Neighbors listen limit value\n"
+ *
+ */
DEFUN (no_bgp_listen_limit,
no_bgp_listen_limit_cmd,
"no bgp listen limit",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_listen_limit,
- no_bgp_listen_limit_val_cmd,
- "no bgp listen limit " DYNAMIC_NEIGHBOR_LIMIT_RANGE,
- NO_STR
- "BGP specific commands\n"
- "Configure BGP defaults\n"
- "maximum number of BGP Dynamic Neighbors that can be created\n"
- "Configure Dynamic Neighbors listen limit value\n")
/*
* Check if this listen range is already configured. Check for exact
return bgp_vty_return (vty, ret);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "neighbor WORD interface peer-group WORD",
+ * NEIGHBOR_STR
+ * "Interface name or neighbor tag\n"
+ * "Enable BGP on interface\n"
+ * "Member of the peer-group\n"
+ * "peer-group name\n"
+ *
+ */
DEFUN (neighbor_interface_config,
neighbor_interface_config_cmd,
"neighbor WORD interface",
NULL, NULL);
}
-ALIAS (neighbor_interface_config,
- neighbor_interface_config_peergroup_cmd,
- "neighbor WORD interface peer-group WORD",
- NEIGHBOR_STR
- "Interface name or neighbor tag\n"
- "Enable BGP on interface\n"
- "Member of the peer-group\n"
- "peer-group name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "neighbor WORD interface v6only peer-group WORD",
+ * NEIGHBOR_STR
+ * "Interface name or neighbor tag\n"
+ * "Enable BGP on interface\n"
+ * "Enable BGP with v6 link-local only\n"
+ * "Member of the peer-group\n"
+ * "peer-group name\n"
+ *
+ */
DEFUN (neighbor_interface_config_v6only,
neighbor_interface_config_v6only_cmd,
"neighbor WORD interface v6only",
argv[5]->arg, NULL);
}
-ALIAS (neighbor_interface_config_v6only,
- neighbor_interface_config_v6only_peergroup_cmd,
- "neighbor WORD interface v6only peer-group WORD",
- NEIGHBOR_STR
- "Interface name or neighbor tag\n"
- "Enable BGP on interface\n"
- "Enable BGP with v6 link-local only\n"
- "Member of the peer-group\n"
- "peer-group name\n")
DEFUN (neighbor_interface_config_remote_as,
neighbor_interface_config_remote_as_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD "remote-as (" CMD_AS_RANGE "|internal|external)",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR
+ * "Specify a BGP neighbor\n"
+ * AS_STR
+ *
+ */
DEFUN (no_neighbor,
no_neighbor_cmd,
NO_NEIGHBOR_CMD2,
return CMD_SUCCESS;
}
-ALIAS (no_neighbor,
- no_neighbor_remote_as_cmd,
- NO_NEIGHBOR_CMD "remote-as (" CMD_AS_RANGE "|internal|external)",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR
- "Specify a BGP neighbor\n"
- AS_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no neighbor WORD interface remote-as (" CMD_AS_RANGE "|internal|external)",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Interface name\n"
+ * "Configure BGP on interface\n"
+ * AS_STR
+ *
+ * "no neighbor WORD interface v6only peer-group WORD",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Interface name\n"
+ * "Configure BGP on interface\n"
+ * "Enable BGP with v6 link-local only\n"
+ * "Member of the peer-group\n"
+ * "peer-group name\n"
+ *
+ * "no neighbor WORD interface v6only remote-as (" CMD_AS_RANGE "|internal|external)",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Interface name\n"
+ * "Configure BGP on interface\n"
+ * "Enable BGP with v6 link-local only\n"
+ * AS_STR
+ *
+ * "no neighbor WORD interface v6only",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Interface name\n"
+ * "Configure BGP on interface\n"
+ * "Enable BGP with v6 link-local only\n"
+ *
+ * "no neighbor WORD interface peer-group WORD",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Interface name\n"
+ * "Configure BGP on interface\n"
+ * "Member of the peer-group\n"
+ * "peer-group name\n"
+ *
+ */
DEFUN (no_neighbor_interface_config,
no_neighbor_interface_config_cmd,
"no neighbor WORD interface",
return CMD_SUCCESS;
}
-ALIAS (no_neighbor_interface_config,
- no_neighbor_interface_config_peergroup_cmd,
- "no neighbor WORD interface peer-group WORD",
- NO_STR
- NEIGHBOR_STR
- "Interface name\n"
- "Configure BGP on interface\n"
- "Member of the peer-group\n"
- "peer-group name\n")
-ALIAS (no_neighbor_interface_config,
- no_neighbor_interface_config_v6only_cmd,
- "no neighbor WORD interface v6only",
- NO_STR
- NEIGHBOR_STR
- "Interface name\n"
- "Configure BGP on interface\n"
- "Enable BGP with v6 link-local only\n")
-ALIAS (no_neighbor_interface_config,
- no_neighbor_interface_config_v6only_peergroup_cmd,
- "no neighbor WORD interface v6only peer-group WORD",
- NO_STR
- NEIGHBOR_STR
- "Interface name\n"
- "Configure BGP on interface\n"
- "Enable BGP with v6 link-local only\n"
- "Member of the peer-group\n"
- "peer-group name\n")
-ALIAS (no_neighbor_interface_config,
- no_neighbor_interface_config_remote_as_cmd,
- "no neighbor WORD interface remote-as (" CMD_AS_RANGE "|internal|external)",
- NO_STR
- NEIGHBOR_STR
- "Interface name\n"
- "Configure BGP on interface\n"
- AS_STR)
-ALIAS (no_neighbor_interface_config,
- no_neighbor_interface_config_v6only_remote_as_cmd,
- "no neighbor WORD interface v6only remote-as (" CMD_AS_RANGE "|internal|external)",
- NO_STR
- NEIGHBOR_STR
- "Interface name\n"
- "Configure BGP on interface\n"
- "Enable BGP with v6 link-local only\n"
- AS_STR)
DEFUN (no_neighbor_peer_group,
no_neighbor_peer_group_cmd,
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE,
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Specify a local-as number\n"
+ * "AS number used as local AS\n"
+ *
+ * NO_NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE " no-prepend",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Specify a local-as number\n"
+ * "AS number used as local AS\n"
+ * "Do not prepend local-as to updates from ebgp peers\n"
+ *
+ * NO_NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE " no-prepend replace-as",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Specify a local-as number\n"
+ * "AS number used as local AS\n"
+ * "Do not prepend local-as to updates from ebgp peers\n"
+ * "Do not prepend local-as to updates from ibgp peers\n"
+ *
+ */
DEFUN (no_neighbor_local_as,
no_neighbor_local_as_cmd,
NO_NEIGHBOR_CMD2 "local-as",
return bgp_vty_return (vty, ret);
}
-ALIAS (no_neighbor_local_as,
- no_neighbor_local_as_val_cmd,
- NO_NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE,
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Specify a local-as number\n"
- "AS number used as local AS\n")
-ALIAS (no_neighbor_local_as,
- no_neighbor_local_as_val2_cmd,
- NO_NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE " no-prepend",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Specify a local-as number\n"
- "AS number used as local AS\n"
- "Do not prepend local-as to updates from ebgp peers\n")
-ALIAS (no_neighbor_local_as,
- no_neighbor_local_as_val3_cmd,
- NO_NEIGHBOR_CMD2 "local-as " CMD_AS_RANGE " no-prepend replace-as",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Specify a local-as number\n"
- "AS number used as local AS\n"
- "Do not prepend local-as to updates from ebgp peers\n"
- "Do not prepend local-as to updates from ibgp peers\n")
DEFUN (neighbor_solo,
neighbor_solo_cmd,
return bgp_vty_return (vty, ret);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "password LINE",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Set a password\n"
+ * "The password\n"
+ *
+ */
DEFUN (no_neighbor_password,
no_neighbor_password_cmd,
NO_NEIGHBOR_CMD2 "password",
return bgp_vty_return (vty, ret);
}
-ALIAS (no_neighbor_password,
- no_neighbor_password_val_cmd,
- NO_NEIGHBOR_CMD2 "password LINE",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Set a password\n"
- "The password\n")
DEFUN (neighbor_activate,
neighbor_activate_cmd,
PEER_FLAG_NEXTHOP_LOCAL_UNCHANGED );
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NEIGHBOR_CMD2 "attribute-unchanged med next-hop as-path",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Med attribute\n"
+ * "Nexthop attribute\n"
+ * "As-path attribute\n"
+ *
+ * NEIGHBOR_CMD2 "attribute-unchanged med as-path next-hop",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Med attribute\n"
+ * "As-path attribute\n"
+ * "Nexthop attribute\n"
+ *
+ * NEIGHBOR_CMD2 "attribute-unchanged as-path next-hop med",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "As-path attribute\n"
+ * "Nexthop attribute\n"
+ * "Med attribute\n"
+ *
+ * NEIGHBOR_CMD2 "attribute-unchanged next-hop as-path med",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Nexthop attribute\n"
+ * "As-path attribute\n"
+ * "Med attribute\n"
+ *
+ * NEIGHBOR_CMD2 "attribute-unchanged as-path med next-hop",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "As-path attribute\n"
+ * "Med attribute\n"
+ * "Nexthop attribute\n"
+ *
+ * NEIGHBOR_CMD2 "attribute-unchanged next-hop med as-path",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Nexthop attribute\n"
+ * "Med attribute\n"
+ * "As-path attribute\n"
+ *
+ */
DEFUN (neighbor_attr_unchanged,
neighbor_attr_unchanged_cmd,
NEIGHBOR_CMD2 "attribute-unchanged",
bgp_node_safi (vty), flags);
}
-ALIAS (neighbor_attr_unchanged,
- neighbor_attr_unchanged5_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged as-path next-hop med",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "As-path attribute\n"
- "Nexthop attribute\n"
- "Med attribute\n")
-ALIAS (neighbor_attr_unchanged,
- neighbor_attr_unchanged6_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged as-path med next-hop",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "As-path attribute\n"
- "Med attribute\n"
- "Nexthop attribute\n")
-ALIAS (neighbor_attr_unchanged,
- neighbor_attr_unchanged7_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged next-hop med as-path",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Nexthop attribute\n"
- "Med attribute\n"
- "As-path attribute\n")
-ALIAS (neighbor_attr_unchanged,
- neighbor_attr_unchanged8_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged next-hop as-path med",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Nexthop attribute\n"
- "As-path attribute\n"
- "Med attribute\n")
-ALIAS (neighbor_attr_unchanged,
- neighbor_attr_unchanged9_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged med next-hop as-path",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Med attribute\n"
- "Nexthop attribute\n"
- "As-path attribute\n")
-ALIAS (neighbor_attr_unchanged,
- neighbor_attr_unchanged10_cmd,
- NEIGHBOR_CMD2 "attribute-unchanged med as-path next-hop",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Med attribute\n"
- "As-path attribute\n"
- "Nexthop attribute\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "attribute-unchanged next-hop med as-path",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Nexthop attribute\n"
+ * "Med attribute\n"
+ * "As-path attribute\n"
+ *
+ * NO_NEIGHBOR_CMD2 "attribute-unchanged as-path med next-hop",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "As-path attribute\n"
+ * "Med attribute\n"
+ * "Nexthop attribute\n"
+ *
+ * NO_NEIGHBOR_CMD2 "attribute-unchanged med as-path next-hop",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Med attribute\n"
+ * "As-path attribute\n"
+ * "Nexthop attribute\n"
+ *
+ * NO_NEIGHBOR_CMD2 "attribute-unchanged next-hop as-path med",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Nexthop attribute\n"
+ * "As-path attribute\n"
+ * "Med attribute\n"
+ *
+ * NO_NEIGHBOR_CMD2 "attribute-unchanged as-path next-hop med",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "As-path attribute\n"
+ * "Nexthop attribute\n"
+ * "Med attribute\n"
+ *
+ * NO_NEIGHBOR_CMD2 "attribute-unchanged med next-hop as-path",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP attribute is propagated unchanged to this neighbor\n"
+ * "Med attribute\n"
+ * "Nexthop attribute\n"
+ * "As-path attribute\n"
+ *
+ */
DEFUN (no_neighbor_attr_unchanged,
no_neighbor_attr_unchanged_cmd,
NO_NEIGHBOR_CMD2 "attribute-unchanged",
bgp_node_safi (vty), flags);
}
-ALIAS (no_neighbor_attr_unchanged,
- no_neighbor_attr_unchanged5_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged as-path next-hop med",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "As-path attribute\n"
- "Nexthop attribute\n"
- "Med attribute\n")
-ALIAS (no_neighbor_attr_unchanged,
- no_neighbor_attr_unchanged6_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged as-path med next-hop",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "As-path attribute\n"
- "Med attribute\n"
- "Nexthop attribute\n")
-ALIAS (no_neighbor_attr_unchanged,
- no_neighbor_attr_unchanged7_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged next-hop med as-path",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Nexthop attribute\n"
- "Med attribute\n"
- "As-path attribute\n")
-ALIAS (no_neighbor_attr_unchanged,
- no_neighbor_attr_unchanged8_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged next-hop as-path med",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Nexthop attribute\n"
- "As-path attribute\n"
- "Med attribute\n")
-ALIAS (no_neighbor_attr_unchanged,
- no_neighbor_attr_unchanged9_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged med next-hop as-path",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Med attribute\n"
- "Nexthop attribute\n"
- "As-path attribute\n")
-ALIAS (no_neighbor_attr_unchanged,
- no_neighbor_attr_unchanged10_cmd,
- NO_NEIGHBOR_CMD2 "attribute-unchanged med as-path next-hop",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP attribute is propagated unchanged to this neighbor\n"
- "Med attribute\n"
- "As-path attribute\n"
- "Nexthop attribute\n")
/* EBGP multihop configuration. */
static int
return peer_ebgp_multihop_set_vty (vty, argv[1]->arg, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "ebgp-multihop " CMD_RANGE_STR(1, MAXTTL),
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Allow EBGP neighbors not on directly connected networks\n"
+ * "maximum hop count\n"
+ *
+ */
DEFUN (no_neighbor_ebgp_multihop,
no_neighbor_ebgp_multihop_cmd,
NO_NEIGHBOR_CMD2 "ebgp-multihop",
return peer_ebgp_multihop_unset_vty (vty, argv[2]->arg);
}
-ALIAS (no_neighbor_ebgp_multihop,
- no_neighbor_ebgp_multihop_ttl_cmd,
- NO_NEIGHBOR_CMD2 "ebgp-multihop " CMD_RANGE_STR(1, MAXTTL),
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Allow EBGP neighbors not on directly connected networks\n"
- "maximum hop count\n")
/* disable-connected-check */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NEIGHBOR_CMD2 "enforce-multihop",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Enforce EBGP neighbors perform multihop\n"
+ *
+ */
DEFUN (neighbor_disable_connected_check,
neighbor_disable_connected_check_cmd,
NEIGHBOR_CMD2 "disable-connected-check",
return peer_flag_set_vty (vty, argv[1]->arg, PEER_FLAG_DISABLE_CONNECTED_CHECK);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "enforce-multihop",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Enforce EBGP neighbors perform multihop\n"
+ *
+ */
DEFUN (no_neighbor_disable_connected_check,
no_neighbor_disable_connected_check_cmd,
NO_NEIGHBOR_CMD2 "disable-connected-check",
}
/* Enforce multihop. */
-ALIAS (neighbor_disable_connected_check,
- neighbor_enforce_multihop_cmd,
- NEIGHBOR_CMD2 "enforce-multihop",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Enforce EBGP neighbors perform multihop\n")
/* Enforce multihop. */
-ALIAS (no_neighbor_disable_connected_check,
- no_neighbor_enforce_multihop_cmd,
- NO_NEIGHBOR_CMD2 "enforce-multihop",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Enforce EBGP neighbors perform multihop\n")
DEFUN (neighbor_description,
neighbor_description_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "description .LINE",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Neighbor specific description\n"
+ * "Up to 80 characters describing this neighbor\n"
+ *
+ */
DEFUN (no_neighbor_description,
no_neighbor_description_cmd,
NO_NEIGHBOR_CMD2 "description",
return CMD_SUCCESS;
}
-ALIAS (no_neighbor_description,
- no_neighbor_description_val_cmd,
- NO_NEIGHBOR_CMD2 "description .LINE",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Neighbor specific description\n"
- "Up to 80 characters describing this neighbor\n")
/* Neighbor update-source. */
static int
bgp_node_safi (vty), argv[4]->arg, 1);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "default-originate route-map WORD",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Originate default route to this neighbor\n"
+ * "Route-map to specify criteria to originate default\n"
+ * "route-map name\n"
+ *
+ */
DEFUN (no_neighbor_default_originate,
no_neighbor_default_originate_cmd,
NO_NEIGHBOR_CMD2 "default-originate",
bgp_node_safi (vty), NULL, 0);
}
-ALIAS (no_neighbor_default_originate,
- no_neighbor_default_originate_rmap_cmd,
- NO_NEIGHBOR_CMD2 "default-originate route-map WORD",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Originate default route to this neighbor\n"
- "Route-map to specify criteria to originate default\n"
- "route-map name\n")
/* Set neighbor's BGP port. */
static int
return peer_port_vty (vty, argv[1]->arg, AFI_IP, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD "port <0-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR
+ * "Neighbor's BGP port\n"
+ * "TCP port number\n"
+ *
+ */
DEFUN (no_neighbor_port,
no_neighbor_port_cmd,
NO_NEIGHBOR_CMD "port",
return peer_port_vty (vty, argv[2]->arg, AFI_IP, NULL);
}
-ALIAS (no_neighbor_port,
- no_neighbor_port_val_cmd,
- NO_NEIGHBOR_CMD "port <0-65535>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR
- "Neighbor's BGP port\n"
- "TCP port number\n")
/* neighbor weight. */
static int
return peer_weight_set_vty (vty, argv[1]->arg, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "weight <0-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Set default weight for routes from this neighbor\n"
+ * "default weight\n"
+ *
+ */
DEFUN (no_neighbor_weight,
no_neighbor_weight_cmd,
NO_NEIGHBOR_CMD2 "weight",
return peer_weight_unset_vty (vty, argv[2]->arg);
}
-ALIAS (no_neighbor_weight,
- no_neighbor_weight_val_cmd,
- NO_NEIGHBOR_CMD2 "weight <0-65535>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Set default weight for routes from this neighbor\n"
- "default weight\n")
/* Override capability negotiation. */
DEFUN (neighbor_override_capability,
return peer_timers_set_vty (vty, argv[1]->arg, argv[3]->arg, argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "timers <0-65535> <0-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP per neighbor timers\n"
+ * "Keepalive interval\n"
+ * "Holdtime\n"
+ *
+ */
DEFUN (no_neighbor_timers,
no_neighbor_timers_cmd,
NO_NEIGHBOR_CMD2 "timers",
return peer_timers_unset_vty (vty, argv[2]->arg);
}
-ALIAS (no_neighbor_timers,
- no_neighbor_timers_val_cmd,
- NO_NEIGHBOR_CMD2 "timers <0-65535> <0-65535>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP per neighbor timers\n"
- "Keepalive interval\n"
- "Holdtime\n")
static int
peer_timers_connect_set_vty (struct vty *vty, const char *ip_str,
return peer_timers_connect_set_vty (vty, argv[1]->arg, argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "timers connect <1-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "BGP per neighbor timers\n"
+ * "BGP connect timer\n"
+ * "Connect timer\n"
+ *
+ */
DEFUN (no_neighbor_timers_connect,
no_neighbor_timers_connect_cmd,
NO_NEIGHBOR_CMD2 "timers connect",
return peer_timers_connect_unset_vty (vty, argv[2]->arg);
}
-ALIAS (no_neighbor_timers_connect,
- no_neighbor_timers_connect_val_cmd,
- NO_NEIGHBOR_CMD2 "timers connect <1-65535>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "BGP per neighbor timers\n"
- "BGP connect timer\n"
- "Connect timer\n")
static int
peer_advertise_interval_vty (struct vty *vty, const char *ip_str,
return peer_advertise_interval_vty (vty, argv[1]->arg, argv[3]->arg, 1);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "advertisement-interval <0-600>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Minimum interval between sending BGP routing updates\n"
+ * "time in seconds\n"
+ *
+ */
DEFUN (no_neighbor_advertise_interval,
no_neighbor_advertise_interval_cmd,
NO_NEIGHBOR_CMD2 "advertisement-interval",
return peer_advertise_interval_vty (vty, argv[2]->arg, NULL, 0);
}
-ALIAS (no_neighbor_advertise_interval,
- no_neighbor_advertise_interval_val_cmd,
- NO_NEIGHBOR_CMD2 "advertisement-interval <0-600>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Minimum interval between sending BGP routing updates\n"
- "time in seconds\n")
/* Time to wait before processing route-map updates */
DEFUN (bgp_set_route_map_delay_timer,
return CMD_WARNING;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bgp route-map delay-timer <0-600>",
+ * NO_STR
+ * "Default BGP route-map delay timer\n"
+ * "Reset to default time to wait for processing route-map changes\n"
+ * "0 disables the timer, no route updates happen when route-maps change\n"
+ *
+ */
DEFUN (no_bgp_set_route_map_delay_timer,
no_bgp_set_route_map_delay_timer_cmd,
"no bgp route-map delay-timer",
return CMD_SUCCESS;
}
-ALIAS (no_bgp_set_route_map_delay_timer,
- no_bgp_set_route_map_delay_timer_val_cmd,
- "no bgp route-map delay-timer <0-600>",
- NO_STR
- "Default BGP route-map delay timer\n"
- "Reset to default time to wait for processing route-map changes\n"
- "0 disables the timer, no route updates happen when route-maps change\n")
/* neighbor interface */
static int
bgp_node_safi (vty), argv[3]->arg, argv[4]->arg, 0, argv[6]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Maximum number of prefix accept from this peer\n"
+ * "maximum no. of prefix limit\n"
+ *
+ * NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> <1-100> restart <1-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Maximum number of prefix accept from this peer\n"
+ * "maximum no. of prefix limit\n"
+ * "Threshold value (%) at which to generate a warning msg\n"
+ * "Restart bgp connection after limit is exceeded\n"
+ * "Restart interval in minutes"
+ *
+ * NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> warning-only",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Maximum number of prefix accept from this peer\n"
+ * "maximum no. of prefix limit\n"
+ * "Only give warning message when limit is exceeded\n"
+ *
+ * NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> restart <1-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Maximum number of prefix accept from this peer\n"
+ * "maximum no. of prefix limit\n"
+ * "Restart bgp connection after limit is exceeded\n"
+ * "Restart interval in minutes"
+ *
+ * NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> <1-100> warning-only",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Maximum number of prefix accept from this peer\n"
+ * "maximum no. of prefix limit\n"
+ * "Threshold value (%) at which to generate a warning msg\n"
+ * "Only give warning message when limit is exceeded\n"
+ *
+ * NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> <1-100>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Maximum number of prefix accept from this peer\n"
+ * "maximum no. of prefix limit\n"
+ * "Threshold value (%) at which to generate a warning msg\n"
+ *
+ */
DEFUN (no_neighbor_maximum_prefix,
no_neighbor_maximum_prefix_cmd,
NO_NEIGHBOR_CMD2 "maximum-prefix",
bgp_node_safi (vty));
}
-ALIAS (no_neighbor_maximum_prefix,
- no_neighbor_maximum_prefix_val_cmd,
- NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Maximum number of prefix accept from this peer\n"
- "maximum no. of prefix limit\n")
-ALIAS (no_neighbor_maximum_prefix,
- no_neighbor_maximum_prefix_threshold_cmd,
- NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> <1-100>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Maximum number of prefix accept from this peer\n"
- "maximum no. of prefix limit\n"
- "Threshold value (%) at which to generate a warning msg\n")
-ALIAS (no_neighbor_maximum_prefix,
- no_neighbor_maximum_prefix_warning_cmd,
- NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> warning-only",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Maximum number of prefix accept from this peer\n"
- "maximum no. of prefix limit\n"
- "Only give warning message when limit is exceeded\n")
-ALIAS (no_neighbor_maximum_prefix,
- no_neighbor_maximum_prefix_threshold_warning_cmd,
- NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> <1-100> warning-only",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Maximum number of prefix accept from this peer\n"
- "maximum no. of prefix limit\n"
- "Threshold value (%) at which to generate a warning msg\n"
- "Only give warning message when limit is exceeded\n")
-ALIAS (no_neighbor_maximum_prefix,
- no_neighbor_maximum_prefix_restart_cmd,
- NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> restart <1-65535>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Maximum number of prefix accept from this peer\n"
- "maximum no. of prefix limit\n"
- "Restart bgp connection after limit is exceeded\n"
- "Restart interval in minutes")
-ALIAS (no_neighbor_maximum_prefix,
- no_neighbor_maximum_prefix_threshold_restart_cmd,
- NO_NEIGHBOR_CMD2 "maximum-prefix <1-4294967295> <1-100> restart <1-65535>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Maximum number of prefix accept from this peer\n"
- "maximum no. of prefix limit\n"
- "Threshold value (%) at which to generate a warning msg\n"
- "Restart bgp connection after limit is exceeded\n"
- "Restart interval in minutes")
/* "neighbor allowas-in" */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NEIGHBOR_CMD2 "allowas-in <1-10>",
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "Accept as-path with my AS present in it\n"
+ * "Number of occurances of AS number\n"
+ *
+ */
DEFUN (neighbor_allowas_in,
neighbor_allowas_in_cmd,
NEIGHBOR_CMD2 "allowas-in",
return bgp_vty_return (vty, ret);
}
-ALIAS (neighbor_allowas_in,
- neighbor_allowas_in_arg_cmd,
- NEIGHBOR_CMD2 "allowas-in <1-10>",
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "Accept as-path with my AS present in it\n"
- "Number of occurances of AS number\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * NO_NEIGHBOR_CMD2 "allowas-in <1-10>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * NEIGHBOR_ADDR_STR2
+ * "allow local ASN appears in aspath attribute\n"
+ * "Number of occurances of AS number\n"
+ *
+ */
DEFUN (no_neighbor_allowas_in,
no_neighbor_allowas_in_cmd,
NO_NEIGHBOR_CMD2 "allowas-in",
return bgp_vty_return (vty, ret);
}
-ALIAS (no_neighbor_allowas_in,
- no_neighbor_allowas_in_val_cmd,
- NO_NEIGHBOR_CMD2 "allowas-in <1-10>",
- NO_STR
- NEIGHBOR_STR
- NEIGHBOR_ADDR_STR2
- "allow local ASN appears in aspath attribute\n"
- "Number of occurances of AS number\n")
DEFUN (neighbor_ttl_security,
neighbor_ttl_security_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "address-family vpnv4 unicast",
+ * "Enter Address Family command mode\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ *
+ */
DEFUN (address_family_vpnv4,
address_family_vpnv4_cmd,
"address-family vpnv4",
return CMD_SUCCESS;
}
-ALIAS (address_family_vpnv4,
- address_family_vpnv4_unicast_cmd,
- "address-family vpnv4 unicast",
- "Enter Address Family command mode\n"
- "Address family\n"
- "Address Family Modifier\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "address-family vpnv6 unicast",
+ * "Enter Address Family command mode\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ *
+ */
DEFUN (address_family_vpnv6,
address_family_vpnv6_cmd,
"address-family vpnv6",
return CMD_SUCCESS;
}
-ALIAS (address_family_vpnv6,
- address_family_vpnv6_unicast_cmd,
- "address-family vpnv6 unicast",
- "Enter Address Family command mode\n"
- "Address family\n"
- "Address Family Modifier\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "address-family encapv4",
+ * "Enter Address Family command mode\n"
+ * "Address family\n"
+ *
+ */
DEFUN (address_family_encap,
address_family_encap_cmd,
"address-family encap",
return CMD_SUCCESS;
}
-ALIAS (address_family_encap,
- address_family_encapv4_cmd,
- "address-family encapv4",
- "Enter Address Family command mode\n"
- "Address family\n")
DEFUN (address_family_encapv6,
address_family_encapv6_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp *",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 *",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " *",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ *
+ * "clear bgp ipv6 *",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " *",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ *
+ */
DEFUN (clear_ip_bgp_all,
clear_ip_bgp_all_cmd,
"clear ip bgp *",
return bgp_clear_vty (vty, argv[4]->arg, 0, 0, clear_all, BGP_CLEAR_SOFT_NONE, NULL);
}
-ALIAS (clear_ip_bgp_all,
- clear_ip_bgp_instance_all_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " *",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n")
-ALIAS (clear_ip_bgp_all,
- clear_bgp_all_cmd,
- "clear bgp *",
- CLEAR_STR
- BGP_STR
- "Clear all peers\n")
-ALIAS (clear_ip_bgp_all,
- clear_bgp_instance_all_cmd,
- "clear bgp " BGP_INSTANCE_CMD " *",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n")
-ALIAS (clear_ip_bgp_all,
- clear_bgp_ipv6_all_cmd,
- "clear bgp ipv6 *",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all peers\n")
-ALIAS (clear_ip_bgp_all,
- clear_bgp_instance_ipv6_all_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 *",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all peers\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD)",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor IP address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ *
+ * "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD)",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD)",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "BGP neighbor IP address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ *
+ * "clear bgp (A.B.C.D|X:X::X:X|WORD)",
+ * CLEAR_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD)",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor IP address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ *
+ */
DEFUN (clear_ip_bgp_peer,
- clear_ip_bgp_peer_cmd,
+ clear_ip_bgp_peer_cmd,
"clear ip bgp (A.B.C.D|X:X::X:X|WORD)",
CLEAR_STR
IP_STR
return bgp_clear_vty (vty, NULL, 0, 0, clear_peer, BGP_CLEAR_SOFT_NONE, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_peer,
- clear_ip_bgp_instance_peer_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD)",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor IP address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n")
-ALIAS (clear_ip_bgp_peer,
- clear_bgp_peer_cmd,
- "clear bgp (A.B.C.D|X:X::X:X|WORD)",
- CLEAR_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n")
-ALIAS (clear_ip_bgp_peer,
- clear_bgp_instance_peer_cmd,
- "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD)",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor IP address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n")
-ALIAS (clear_ip_bgp_peer,
- clear_bgp_ipv6_peer_cmd,
- "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD)",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n")
-ALIAS (clear_ip_bgp_peer,
- clear_bgp_instance_ipv6_peer_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD)",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "BGP neighbor IP address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp peer-group WORD",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ *
+ * "clear bgp ipv6 peer-group WORD",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ *
+ */
DEFUN (clear_ip_bgp_peer_group,
- clear_ip_bgp_peer_group_cmd,
+ clear_ip_bgp_peer_group_cmd,
"clear ip bgp peer-group WORD",
CLEAR_STR
IP_STR
return bgp_clear_vty (vty, NULL, 0, 0, clear_group, BGP_CLEAR_SOFT_NONE, argv[4]->arg);
}
-ALIAS (clear_ip_bgp_peer_group,
- clear_ip_bgp_instance_peer_group_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n")
-ALIAS (clear_ip_bgp_peer_group,
- clear_bgp_peer_group_cmd,
- "clear bgp peer-group WORD",
- CLEAR_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n")
-ALIAS (clear_ip_bgp_peer_group,
- clear_bgp_instance_peer_group_cmd,
- "clear bgp " BGP_INSTANCE_CMD " peer-group WORD",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n")
-ALIAS (clear_ip_bgp_peer_group,
- clear_bgp_ipv6_peer_group_cmd,
- "clear bgp ipv6 peer-group WORD",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n")
-ALIAS (clear_ip_bgp_peer_group,
- clear_bgp_instance_ipv6_peer_group_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 external",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " external",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ *
+ * "clear bgp external",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all external peers\n"
+ *
+ * "clear bgp ipv6 external",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " external",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ *
+ */
DEFUN (clear_ip_bgp_external,
clear_ip_bgp_external_cmd,
"clear ip bgp external",
return bgp_clear_vty (vty, NULL, 0, 0, clear_external, BGP_CLEAR_SOFT_NONE, NULL);
}
-ALIAS (clear_ip_bgp_external,
- clear_ip_bgp_instance_external_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n")
-ALIAS (clear_ip_bgp_external,
- clear_bgp_external_cmd,
- "clear bgp external",
- CLEAR_STR
- BGP_STR
- "Clear all external peers\n")
-ALIAS (clear_ip_bgp_external,
- clear_bgp_instance_external_cmd,
- "clear bgp " BGP_INSTANCE_CMD " external",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n")
-ALIAS (clear_ip_bgp_external,
- clear_bgp_ipv6_external_cmd,
- "clear bgp ipv6 external",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all external peers\n")
-ALIAS (clear_ip_bgp_external,
- clear_bgp_instance_ipv6_external_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 external",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all external peers\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " prefix A.B.C.D/M",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear bestpath and re-advertise\n"
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " prefix A.B.C.D/M",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear bestpath and re-advertise\n"
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ *
+ * "clear bgp prefix A.B.C.D/M",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear bestpath and re-advertise\n"
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ *
+ */
DEFUN (clear_ip_bgp_prefix,
clear_ip_bgp_prefix_cmd,
"clear ip bgp prefix A.B.C.D/M",
return bgp_clear_prefix (vty, NULL, argv[4]->arg, AFI_IP, SAFI_UNICAST, NULL);
}
-ALIAS (clear_ip_bgp_prefix,
- clear_ip_bgp_instance_prefix_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " prefix A.B.C.D/M",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear bestpath and re-advertise\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
-ALIAS (clear_ip_bgp_prefix,
- clear_bgp_prefix_cmd,
- "clear bgp prefix A.B.C.D/M",
- CLEAR_STR
- BGP_STR
- "Clear bestpath and re-advertise\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
-ALIAS (clear_ip_bgp_prefix,
- clear_bgp_instance_prefix_cmd,
- "clear bgp " BGP_INSTANCE_CMD " prefix A.B.C.D/M",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear bestpath and re-advertise\n"
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE,
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE,
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ *
+ * "clear bgp ipv6 " CMD_AS_RANGE,
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE,
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ *
+ * "clear bgp " CMD_AS_RANGE,
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ *
+ */
DEFUN (clear_ip_bgp_as,
clear_ip_bgp_as_cmd,
"clear ip bgp " CMD_AS_RANGE,
return bgp_clear_vty (vty, NULL, 0, 0, clear_as, BGP_CLEAR_SOFT_NONE, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as,
- clear_ip_bgp_instance_as_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE,
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n")
-ALIAS (clear_ip_bgp_as,
- clear_bgp_as_cmd,
- "clear bgp " CMD_AS_RANGE,
- CLEAR_STR
- BGP_STR
- "Clear peers with the AS number\n")
-ALIAS (clear_ip_bgp_as,
- clear_bgp_instance_as_cmd,
- "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE,
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n")
-ALIAS (clear_ip_bgp_as,
- clear_bgp_ipv6_as_cmd,
- "clear bgp ipv6 " CMD_AS_RANGE,
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear peers with the AS number\n")
-ALIAS (clear_ip_bgp_as,
- clear_bgp_instance_ipv6_as_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE,
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear peers with the AS number\n")
/* Outbound soft-reconfiguration */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " * out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " * soft out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp * out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_all_soft_out,
clear_ip_bgp_all_soft_out_cmd,
"clear ip bgp * soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_ip_bgp_all_soft_out,
- clear_ip_bgp_instance_all_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * soft out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_all_soft_out,
- clear_ip_bgp_all_out_cmd,
- "clear ip bgp * out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_all_soft_out,
- clear_ip_bgp_instance_all_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp * ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_all_ipv4_soft_out,
clear_ip_bgp_all_ipv4_soft_out_cmd,
"clear ip bgp * ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " * ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_all_ipv4_soft_out,
clear_ip_bgp_instance_all_ipv4_soft_out_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " * ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_ip_bgp_all_ipv4_soft_out,
- clear_ip_bgp_all_ipv4_out_cmd,
- "clear ip bgp * ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_instance_all_ipv4_soft_out,
- clear_ip_bgp_instance_all_ipv4_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp * vpnv4 unicast out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_all_vpnv4_soft_out,
clear_ip_bgp_all_vpnv4_soft_out_cmd,
"clear ip bgp * vpnv4 unicast soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_ip_bgp_all_vpnv4_soft_out,
- clear_ip_bgp_all_vpnv4_out_cmd,
- "clear ip bgp * vpnv4 unicast out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family Modifier\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp * encap unicast out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * "Soft reconfig outbound update\n"
+ *
+ */
DEFUN (clear_ip_bgp_all_encap_soft_out,
clear_ip_bgp_all_encap_soft_out_cmd,
"clear ip bgp * encap unicast soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_ip_bgp_all_encap_soft_out,
- clear_ip_bgp_all_encap_out_cmd,
- "clear ip bgp * encap unicast out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family Modifier\n"
- "Soft reconfig outbound update\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 * soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 * soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " * soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 * out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp * out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " * out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 * out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_bgp_all_soft_out,
clear_bgp_all_soft_out_cmd,
"clear bgp * soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_bgp_all_soft_out,
- clear_bgp_instance_all_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " * soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_all_soft_out,
- clear_bgp_all_out_cmd,
- "clear bgp * out",
- CLEAR_STR
- BGP_STR
- "Clear all peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_all_soft_out,
- clear_bgp_instance_all_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " * out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_all_soft_out,
- clear_bgp_ipv6_all_soft_out_cmd,
- "clear bgp ipv6 * soft out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_all_soft_out,
- clear_bgp_instance_ipv6_all_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 * soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_all_soft_out,
- clear_bgp_ipv6_all_out_cmd,
- "clear bgp ipv6 * out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_all_soft_out,
- clear_bgp_instance_ipv6_all_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 * out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_OUT_STR)
DEFUN (clear_bgp_ipv6_safi_prefix,
clear_bgp_ipv6_safi_prefix_cmd,
return bgp_clear_prefix (vty, argv[3]->arg, argv[7]->arg, AFI_IP6, SAFI_UNICAST, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) soft out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp (A.B.C.D|WORD) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_soft_out,
clear_ip_bgp_peer_soft_out_cmd,
"clear ip bgp (A.B.C.D|WORD) soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_peer_soft_out,
- clear_ip_bgp_instance_peer_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) soft out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_peer_soft_out,
- clear_ip_bgp_peer_out_cmd,
- "clear ip bgp (A.B.C.D|WORD) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_peer_soft_out,
- clear_ip_bgp_instance_peer_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp (A.B.C.D|WORD) ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_ipv4_soft_out,
clear_ip_bgp_peer_ipv4_soft_out_cmd,
"clear ip bgp (A.B.C.D|WORD) ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_peer_ipv4_soft_out,
clear_ip_bgp_instance_peer_ipv4_soft_out_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, argv[5]->arg);
}
-ALIAS (clear_ip_bgp_peer_ipv4_soft_out,
- clear_ip_bgp_peer_ipv4_out_cmd,
- "clear ip bgp (A.B.C.D|WORD) ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_instance_peer_ipv4_soft_out,
- clear_ip_bgp_instance_peer_ipv4_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
/* NOTE: WORD peers have not been tested for vpnv4 */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp (A.B.C.D|WORD) vpnv4 unicast out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_vpnv4_soft_out,
clear_ip_bgp_peer_vpnv4_soft_out_cmd,
"clear ip bgp (A.B.C.D|WORD) vpnv4 unicast soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_peer_vpnv4_soft_out,
- clear_ip_bgp_peer_vpnv4_out_cmd,
- "clear ip bgp (A.B.C.D|WORD) vpnv4 unicast out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- "Address family\n"
- "Address Family Modifier\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp A.B.C.D encap unicast out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * "Soft reconfig outbound update\n"
+ *
+ */
DEFUN (clear_ip_bgp_peer_encap_soft_out,
clear_ip_bgp_peer_encap_soft_out_cmd,
"clear ip bgp A.B.C.D encap unicast soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_peer_encap_soft_out,
- clear_ip_bgp_peer_encap_out_cmd,
- "clear ip bgp A.B.C.D encap unicast out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "Address family\n"
- "Address Family Modifier\n"
- "Soft reconfig outbound update\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp (A.B.C.D|X:X::X:X|WORD) out",
+ * CLEAR_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_bgp_peer_soft_out,
clear_bgp_peer_soft_out_cmd,
"clear bgp (A.B.C.D|X:X::X:X|WORD) soft out",
BGP_CLEAR_SOFT_OUT, argv[2]->arg);
}
-ALIAS (clear_bgp_peer_soft_out,
- clear_bgp_instance_peer_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_peer_soft_out,
- clear_bgp_ipv6_peer_soft_out_cmd,
- "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) soft out",
+
+
+
+
+
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp peer-group WORD out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
+DEFUN (clear_ip_bgp_peer_group_soft_out,
+ clear_ip_bgp_peer_group_soft_out_cmd,
+ "clear ip bgp peer-group WORD soft out",
CLEAR_STR
+ IP_STR
BGP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
+ "Clear all members of peer-group\n"
+ "BGP peer-group name\n"
BGP_SOFT_STR
BGP_SOFT_OUT_STR)
-
-ALIAS (clear_bgp_peer_soft_out,
- clear_bgp_instance_ipv6_peer_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-
-ALIAS (clear_bgp_peer_soft_out,
- clear_bgp_peer_out_cmd,
- "clear bgp (A.B.C.D|X:X::X:X|WORD) out",
- CLEAR_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_OUT_STR)
-
-ALIAS (clear_bgp_peer_soft_out,
- clear_bgp_instance_peer_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_OUT_STR)
-
-ALIAS (clear_bgp_peer_soft_out,
- clear_bgp_ipv6_peer_out_cmd,
- "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_OUT_STR)
-
-ALIAS (clear_bgp_peer_soft_out,
- clear_bgp_instance_ipv6_peer_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_OUT_STR)
-
-DEFUN (clear_ip_bgp_peer_group_soft_out,
- clear_ip_bgp_peer_group_soft_out_cmd,
- "clear ip bgp peer-group WORD soft out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-{
- if (argc == 3)
- return bgp_clear_vty (vty, argv[1], AFI_IP, SAFI_UNICAST, clear_group,
- BGP_CLEAR_SOFT_OUT, argv[2]);
+{
+ if (argc == 3)
+ return bgp_clear_vty (vty, argv[1], AFI_IP, SAFI_UNICAST, clear_group,
+ BGP_CLEAR_SOFT_OUT, argv[2]);
return bgp_clear_vty (vty, NULL, AFI_IP, SAFI_UNICAST, clear_group,
BGP_CLEAR_SOFT_OUT, argv[4]->arg);
}
-ALIAS (clear_ip_bgp_peer_group_soft_out,
- clear_ip_bgp_instance_peer_group_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_peer_group_soft_out,
- clear_ip_bgp_peer_group_out_cmd,
- "clear ip bgp peer-group WORD out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_peer_group_soft_out,
- clear_ip_bgp_instance_peer_group_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp peer-group WORD ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_group_ipv4_soft_out,
clear_ip_bgp_peer_group_ipv4_soft_out_cmd,
"clear ip bgp peer-group WORD ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_peer_group_ipv4_soft_out,
clear_ip_bgp_instance_peer_group_ipv4_soft_out_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, argv[6]->arg);
}
-ALIAS (clear_ip_bgp_peer_group_ipv4_soft_out,
- clear_ip_bgp_peer_group_ipv4_out_cmd,
- "clear ip bgp peer-group WORD ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_instance_peer_group_ipv4_soft_out,
- clear_ip_bgp_instance_peer_group_ipv4_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 peer-group WORD soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp peer-group WORD out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 peer-group WORD out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_bgp_peer_group_soft_out,
clear_bgp_peer_group_soft_out_cmd,
"clear bgp peer-group WORD soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
-ALIAS (clear_bgp_peer_group_soft_out,
- clear_bgp_instance_peer_group_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_peer_group_soft_out,
- clear_bgp_ipv6_peer_group_soft_out_cmd,
- "clear bgp ipv6 peer-group WORD soft out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_peer_group_soft_out,
- clear_bgp_instance_ipv6_peer_group_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_peer_group_soft_out,
- clear_bgp_peer_group_out_cmd,
- "clear bgp peer-group WORD out",
- CLEAR_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_peer_group_soft_out,
- clear_bgp_instance_peer_group_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " peer-group WORD out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_peer_group_soft_out,
- clear_bgp_ipv6_peer_group_out_cmd,
- "clear bgp ipv6 peer-group WORD out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_peer_group_soft_out,
- clear_bgp_instance_ipv6_peer_group_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " external soft out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " external out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp external out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_external_soft_out,
- clear_ip_bgp_external_soft_out_cmd,
+ clear_ip_bgp_external_soft_out_cmd,
"clear ip bgp external soft out",
CLEAR_STR
IP_STR
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_ip_bgp_external_soft_out,
- clear_ip_bgp_instance_external_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external soft out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_external_soft_out,
- clear_ip_bgp_external_out_cmd,
- "clear ip bgp external out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all external peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_external_soft_out,
- clear_ip_bgp_instance_external_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp external ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all external peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_external_ipv4_soft_out,
clear_ip_bgp_external_ipv4_soft_out_cmd,
"clear ip bgp external ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " external ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_external_ipv4_soft_out,
clear_ip_bgp_instance_external_ipv4_soft_out_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " external ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_ip_bgp_external_ipv4_soft_out,
- clear_ip_bgp_external_ipv4_out_cmd,
- "clear ip bgp external ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all external peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_instance_external_ipv4_soft_out,
- clear_ip_bgp_instance_external_ipv4_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 external WORD out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " external soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " external out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 external WORD out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 external soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp external out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_bgp_external_soft_out,
clear_bgp_external_soft_out_cmd,
"clear bgp external soft out",
BGP_CLEAR_SOFT_OUT, NULL);
}
-ALIAS (clear_bgp_external_soft_out,
- clear_bgp_instance_external_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " external soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_external_soft_out,
- clear_bgp_ipv6_external_soft_out_cmd,
- "clear bgp ipv6 external soft out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_external_soft_out,
- clear_bgp_instance_ipv6_external_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_external_soft_out,
- clear_bgp_external_out_cmd,
- "clear bgp external out",
- CLEAR_STR
- BGP_STR
- "Clear all external peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_external_soft_out,
- clear_bgp_instance_external_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " external out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_external_soft_out,
- clear_bgp_ipv6_external_out_cmd,
- "clear bgp ipv6 external WORD out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_external_soft_out,
- clear_bgp_instance_ipv6_external_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 external WORD out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp " CMD_AS_RANGE " out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_as_soft_out,
clear_ip_bgp_as_soft_out_cmd,
"clear ip bgp " CMD_AS_RANGE " soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as_soft_out,
- clear_ip_bgp_instance_as_soft_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_as_soft_out,
- clear_ip_bgp_as_out_cmd,
- "clear ip bgp " CMD_AS_RANGE " out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_as_soft_out,
- clear_ip_bgp_instance_as_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " CMD_AS_RANGE " ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_as_ipv4_soft_out,
clear_ip_bgp_as_ipv4_soft_out_cmd,
"clear ip bgp " CMD_AS_RANGE " ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 (unicast|multicast) out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_as_ipv4_soft_out,
clear_ip_bgp_instance_as_ipv4_soft_out_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 (unicast|multicast) soft out",
BGP_CLEAR_SOFT_OUT, argv[5]->arg);
}
-ALIAS (clear_ip_bgp_as_ipv4_soft_out,
- clear_ip_bgp_as_ipv4_out_cmd,
- "clear ip bgp " CMD_AS_RANGE " ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_ip_bgp_instance_as_ipv4_soft_out,
- clear_ip_bgp_instance_as_ipv4_out_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 (unicast|multicast) out",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " CMD_AS_RANGE " vpnv4 unicast out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_ip_bgp_as_vpnv4_soft_out,
clear_ip_bgp_as_vpnv4_soft_out_cmd,
"clear ip bgp " CMD_AS_RANGE " vpnv4 unicast soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as_vpnv4_soft_out,
- clear_ip_bgp_as_vpnv4_out_cmd,
- "clear ip bgp " CMD_AS_RANGE " vpnv4 unicast out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- BGP_SOFT_OUT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " CMD_AS_RANGE " encap unicast out",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Soft reconfig outbound update\n"
+ *
+ */
DEFUN (clear_ip_bgp_as_encap_soft_out,
clear_ip_bgp_as_encap_soft_out_cmd,
"clear ip bgp " CMD_AS_RANGE " encap unicast soft out",
BGP_CLEAR_SOFT_OUT, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as_encap_soft_out,
- clear_ip_bgp_as_encap_out_cmd,
- "clear ip bgp " CMD_AS_RANGE " encap unicast out",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- "Soft reconfig outbound update\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 " CMD_AS_RANGE " soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " CMD_AS_RANGE " out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp ipv6 " CMD_AS_RANGE " out",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_OUT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft out",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_OUT_STR
+ *
+ */
DEFUN (clear_bgp_as_soft_out,
clear_bgp_as_soft_out_cmd,
"clear bgp " CMD_AS_RANGE " soft out",
BGP_CLEAR_SOFT_OUT, argv[2]->arg);
}
-ALIAS (clear_bgp_as_soft_out,
- clear_bgp_instance_as_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_as_soft_out,
- clear_bgp_ipv6_as_soft_out_cmd,
- "clear bgp ipv6 " CMD_AS_RANGE " soft out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_as_soft_out,
- clear_bgp_instance_ipv6_as_soft_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_as_soft_out,
- clear_bgp_as_out_cmd,
- "clear bgp " CMD_AS_RANGE " out",
- CLEAR_STR
- BGP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_as_soft_out,
- clear_bgp_instance_as_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_as_soft_out,
- clear_bgp_ipv6_as_out_cmd,
- "clear bgp ipv6 " CMD_AS_RANGE " out",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_OUT_STR)
-ALIAS (clear_bgp_as_soft_out,
- clear_bgp_instance_ipv6_as_out_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " out",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_OUT_STR)
/* Inbound soft-reconfiguration */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " * in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " * soft in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp * in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_all_soft_in,
clear_ip_bgp_all_soft_in_cmd,
"clear ip bgp * soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_ip_bgp_all_soft_in,
- clear_ip_bgp_instance_all_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * soft in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_all_soft_in,
- clear_ip_bgp_all_in_cmd,
- "clear ip bgp * in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_all_soft_in,
- clear_ip_bgp_instance_all_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_all_in_prefix_filter,
clear_ip_bgp_all_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp * ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_all_ipv4_soft_in,
clear_ip_bgp_all_ipv4_soft_in_cmd,
"clear ip bgp * ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " * ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_all_ipv4_soft_in,
clear_ip_bgp_instance_all_ipv4_soft_in_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " * ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_ip_bgp_all_ipv4_soft_in,
- clear_ip_bgp_all_ipv4_in_cmd,
- "clear ip bgp * ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_instance_all_ipv4_soft_in,
- clear_ip_bgp_instance_all_ipv4_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_all_ipv4_in_prefix_filter,
clear_ip_bgp_all_ipv4_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp * vpnv4 unicast in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_all_vpnv4_soft_in,
clear_ip_bgp_all_vpnv4_soft_in_cmd,
"clear ip bgp * vpnv4 unicast soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_ip_bgp_all_vpnv4_soft_in,
- clear_ip_bgp_all_vpnv4_in_cmd,
- "clear ip bgp * vpnv4 unicast in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family Modifier\n"
- BGP_SOFT_IN_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp * encap unicast in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * "Soft reconfig inbound update\n"
+ *
+ */
DEFUN (clear_ip_bgp_all_encap_soft_in,
clear_ip_bgp_all_encap_soft_in_cmd,
"clear ip bgp * encap unicast soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_ip_bgp_all_encap_soft_in,
- clear_ip_bgp_all_encap_in_cmd,
- "clear ip bgp * encap unicast in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all peers\n"
- "Address family\n"
- "Address Family Modifier\n"
- "Soft reconfig inbound update\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 * soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 * in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp * in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " * in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 * soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp ipv6 * in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " * soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_bgp_all_soft_in,
clear_bgp_all_soft_in_cmd,
"clear bgp * soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_bgp_all_soft_in,
- clear_bgp_instance_all_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " * soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_all_soft_in,
- clear_bgp_ipv6_all_soft_in_cmd,
- "clear bgp ipv6 * soft in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_all_soft_in,
- clear_bgp_instance_ipv6_all_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 * soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_all_soft_in,
- clear_bgp_all_in_cmd,
- "clear bgp * in",
- CLEAR_STR
- BGP_STR
- "Clear all peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_all_soft_in,
- clear_bgp_instance_all_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " * in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_all_soft_in,
- clear_bgp_ipv6_all_in_cmd,
- "clear bgp ipv6 * in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_all_soft_in,
- clear_bgp_instance_ipv6_all_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 * in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_IN_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 * in prefix-filter",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_IN_STR
+ * "Push out prefix-list ORF and do inbound soft reconfig\n"
+ *
+ */
DEFUN (clear_bgp_all_in_prefix_filter,
clear_bgp_all_in_prefix_filter_cmd,
"clear bgp * in prefix-filter",
BGP_CLEAR_SOFT_IN_ORF_PREFIX, NULL);
}
-ALIAS (clear_bgp_all_in_prefix_filter,
- clear_bgp_ipv6_all_in_prefix_filter_cmd,
- "clear bgp ipv6 * in prefix-filter",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_IN_STR
- "Push out prefix-list ORF and do inbound soft reconfig\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) soft in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp (A.B.C.D|WORD) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_soft_in,
clear_ip_bgp_peer_soft_in_cmd,
"clear ip bgp (A.B.C.D|WORD) soft in",
BGP_CLEAR_SOFT_IN, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_peer_soft_in,
- clear_ip_bgp_instance_peer_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) soft in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_peer_soft_in,
- clear_ip_bgp_peer_in_cmd,
- "clear ip bgp (A.B.C.D|WORD) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_peer_soft_in,
- clear_ip_bgp_instance_peer_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_peer_in_prefix_filter,
clear_ip_bgp_peer_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp (A.B.C.D|WORD) ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_ipv4_soft_in,
clear_ip_bgp_peer_ipv4_soft_in_cmd,
"clear ip bgp (A.B.C.D|WORD) ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_peer_ipv4_soft_in,
clear_ip_bgp_instance_peer_ipv4_soft_in_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, argv[5]->arg);
}
-ALIAS (clear_ip_bgp_peer_ipv4_soft_in,
- clear_ip_bgp_peer_ipv4_in_cmd,
- "clear ip bgp (A.B.C.D|WORD) ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_instance_peer_ipv4_soft_in,
- clear_ip_bgp_instance_peer_ipv4_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_peer_ipv4_in_prefix_filter,
clear_ip_bgp_peer_ipv4_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp (A.B.C.D|WORD) vpnv4 unicast in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_vpnv4_soft_in,
clear_ip_bgp_peer_vpnv4_soft_in_cmd,
"clear ip bgp (A.B.C.D|WORD) vpnv4 unicast soft in",
"BGP neighbor on interface to clear\n"
"Address family\n"
"Address Family Modifier\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-{
- return bgp_clear_vty (vty, NULL, AFI_IP, SAFI_MPLS_VPN, clear_peer,
- BGP_CLEAR_SOFT_IN, argv[3]->arg);
-}
-
-ALIAS (clear_ip_bgp_peer_vpnv4_soft_in,
- clear_ip_bgp_peer_vpnv4_in_cmd,
- "clear ip bgp (A.B.C.D|WORD) vpnv4 unicast in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- "Address family\n"
- "Address Family Modifier\n"
- BGP_SOFT_IN_STR)
-
-DEFUN (clear_ip_bgp_peer_encap_soft_in,
- clear_ip_bgp_peer_encap_soft_in_cmd,
- "clear ip bgp A.B.C.D encap unicast soft in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "Address family\n"
- "Address Family Modifier\n"
- "Soft reconfig\n"
- "Soft reconfig inbound update\n")
-{
- return bgp_clear_vty (vty, NULL, AFI_IP, SAFI_ENCAP, clear_peer,
- BGP_CLEAR_SOFT_IN, argv[3]->arg);
-}
-
-ALIAS (clear_ip_bgp_peer_encap_soft_in,
- clear_ip_bgp_peer_encap_in_cmd,
- "clear ip bgp A.B.C.D encap unicast in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "Address family\n"
- "Address Family Modifier\n"
- "Soft reconfig inbound update\n")
-
-DEFUN (clear_bgp_peer_soft_in,
- clear_bgp_peer_soft_in_cmd,
- "clear bgp (A.B.C.D|X:X::X:X|WORD) soft in",
- CLEAR_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-{
- if (argc == 3)
- return bgp_clear_vty (vty, argv[1], AFI_IP6, SAFI_UNICAST, clear_peer,
- BGP_CLEAR_SOFT_IN, argv[2]);
-
- return bgp_clear_vty (vty, NULL, AFI_IP6, SAFI_UNICAST, clear_peer,
- BGP_CLEAR_SOFT_IN, argv[2]->arg);
-}
-
-ALIAS (clear_bgp_peer_soft_in,
- clear_bgp_instance_peer_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-
-ALIAS (clear_bgp_peer_soft_in,
- clear_bgp_ipv6_peer_soft_in_cmd,
- "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) soft in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-
-ALIAS (clear_bgp_peer_soft_in,
- clear_bgp_instance_ipv6_peer_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-
-ALIAS (clear_bgp_peer_soft_in,
- clear_bgp_peer_in_cmd,
- "clear bgp (A.B.C.D|X:X::X:X|WORD) in",
- CLEAR_STR
- BGP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_IN_STR)
-
-ALIAS (clear_bgp_peer_soft_in,
- clear_bgp_instance_peer_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
+ BGP_SOFT_STR
BGP_SOFT_IN_STR)
+{
+ return bgp_clear_vty (vty, NULL, AFI_IP, SAFI_MPLS_VPN, clear_peer,
+ BGP_CLEAR_SOFT_IN, argv[3]->arg);
+}
+
-ALIAS (clear_bgp_peer_soft_in,
- clear_bgp_ipv6_peer_in_cmd,
- "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) in",
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp A.B.C.D encap unicast in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "Address family\n"
+ * "Address Family Modifier\n"
+ * "Soft reconfig inbound update\n"
+ *
+ */
+DEFUN (clear_ip_bgp_peer_encap_soft_in,
+ clear_ip_bgp_peer_encap_soft_in_cmd,
+ "clear ip bgp A.B.C.D encap unicast soft in",
CLEAR_STR
+ IP_STR
BGP_STR
- "Address family\n"
"BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_IN_STR)
+ "Address family\n"
+ "Address Family Modifier\n"
+ "Soft reconfig\n"
+ "Soft reconfig inbound update\n")
+{
+ return bgp_clear_vty (vty, NULL, AFI_IP, SAFI_ENCAP, clear_peer,
+ BGP_CLEAR_SOFT_IN, argv[3]->arg);
+}
-ALIAS (clear_bgp_peer_soft_in,
- clear_bgp_instance_ipv6_peer_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) in",
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp (A.B.C.D|X:X::X:X|WORD) in",
+ * CLEAR_STR
+ * BGP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
+DEFUN (clear_bgp_peer_soft_in,
+ clear_bgp_peer_soft_in_cmd,
+ "clear bgp (A.B.C.D|X:X::X:X|WORD) soft in",
CLEAR_STR
BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
"BGP neighbor address to clear\n"
"BGP IPv6 neighbor to clear\n"
"BGP neighbor on interface to clear\n"
+ BGP_SOFT_STR
BGP_SOFT_IN_STR)
+{
+ if (argc == 3)
+ return bgp_clear_vty (vty, argv[1], AFI_IP6, SAFI_UNICAST, clear_peer,
+ BGP_CLEAR_SOFT_IN, argv[2]);
+
+ return bgp_clear_vty (vty, NULL, AFI_IP6, SAFI_UNICAST, clear_peer,
+ BGP_CLEAR_SOFT_IN, argv[2]->arg);
+}
+
+
+
+
+
+
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) in prefix-filter",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_IN_STR
+ * "Push out the existing ORF prefix-list\n"
+ *
+ */
DEFUN (clear_bgp_peer_in_prefix_filter,
clear_bgp_peer_in_prefix_filter_cmd,
"clear bgp (A.B.C.D|X:X::X:X|WORD) in prefix-filter",
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[2]->arg);
}
-ALIAS (clear_bgp_peer_in_prefix_filter,
- clear_bgp_ipv6_peer_in_prefix_filter_cmd,
- "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) in prefix-filter",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_IN_STR
- "Push out the existing ORF prefix-list\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp peer-group WORD in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_group_soft_in,
clear_ip_bgp_peer_group_soft_in_cmd,
"clear ip bgp peer-group WORD soft in",
BGP_CLEAR_SOFT_IN, argv[4]->arg);
}
-ALIAS (clear_ip_bgp_peer_group_soft_in,
- clear_ip_bgp_instance_peer_group_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_peer_group_soft_in,
- clear_ip_bgp_peer_group_in_cmd,
- "clear ip bgp peer-group WORD in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_peer_group_soft_in,
- clear_ip_bgp_instance_peer_group_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_peer_group_in_prefix_filter,
clear_ip_bgp_peer_group_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp peer-group WORD ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_group_ipv4_soft_in,
clear_ip_bgp_peer_group_ipv4_soft_in_cmd,
"clear ip bgp peer-group WORD ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_peer_group_ipv4_soft_in,
clear_ip_bgp_instance_peer_group_ipv4_soft_in_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, argv[6]->arg);
}
-ALIAS (clear_ip_bgp_peer_group_ipv4_soft_in,
- clear_ip_bgp_peer_group_ipv4_in_cmd,
- "clear ip bgp peer-group WORD ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_instance_peer_group_ipv4_soft_in,
- clear_ip_bgp_instance_peer_group_ipv4_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_peer_group_ipv4_in_prefix_filter,
clear_ip_bgp_peer_group_ipv4_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 peer-group WORD in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp peer-group WORD in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp ipv6 peer-group WORD soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_bgp_peer_group_soft_in,
clear_bgp_peer_group_soft_in_cmd,
"clear bgp peer-group WORD soft in",
BGP_CLEAR_SOFT_IN, argv[3]->arg);
}
-ALIAS (clear_bgp_peer_group_soft_in,
- clear_bgp_instance_peer_group_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_peer_group_soft_in,
- clear_bgp_ipv6_peer_group_soft_in_cmd,
- "clear bgp ipv6 peer-group WORD soft in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_peer_group_soft_in,
- clear_bgp_instance_ipv6_peer_group_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_peer_group_soft_in,
- clear_bgp_peer_group_in_cmd,
- "clear bgp peer-group WORD in",
- CLEAR_STR
- BGP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_peer_group_soft_in,
- clear_bgp_instance_peer_group_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " peer-group WORD in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_peer_group_soft_in,
- clear_bgp_ipv6_peer_group_in_cmd,
- "clear bgp ipv6 peer-group WORD in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_peer_group_soft_in,
- clear_bgp_instance_ipv6_peer_group_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_IN_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 peer-group WORD in prefix-filter",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_IN_STR
+ * "Push out prefix-list ORF and do inbound soft reconfig\n"
+ *
+ */
DEFUN (clear_bgp_peer_group_in_prefix_filter,
clear_bgp_peer_group_in_prefix_filter_cmd,
"clear bgp peer-group WORD in prefix-filter",
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[3]->arg);
}
-ALIAS (clear_bgp_peer_group_in_prefix_filter,
- clear_bgp_ipv6_peer_group_in_prefix_filter_cmd,
- "clear bgp ipv6 peer-group WORD in prefix-filter",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_IN_STR
- "Push out prefix-list ORF and do inbound soft reconfig\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp external in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " external in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " external soft in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_external_soft_in,
clear_ip_bgp_external_soft_in_cmd,
"clear ip bgp external soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_ip_bgp_external_soft_in,
- clear_ip_bgp_instance_external_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external soft in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_external_soft_in,
- clear_ip_bgp_external_in_cmd,
- "clear ip bgp external in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all external peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_external_soft_in,
- clear_ip_bgp_instance_external_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_external_in_prefix_filter,
clear_ip_bgp_external_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp external ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear all external peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_external_ipv4_soft_in,
clear_ip_bgp_external_ipv4_soft_in_cmd,
"clear ip bgp external ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " external ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_external_ipv4_soft_in,
clear_ip_bgp_instance_external_ipv4_soft_in_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " external ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_ip_bgp_external_ipv4_soft_in,
- clear_ip_bgp_external_ipv4_in_cmd,
- "clear ip bgp external ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear all external peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_instance_external_ipv4_soft_in,
- clear_ip_bgp_instance_external_ipv4_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_external_ipv4_in_prefix_filter,
clear_ip_bgp_external_ipv4_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " external in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " external soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 external WORD in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp ipv6 external soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp ipv6 external WORD in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp external in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_bgp_external_soft_in,
clear_bgp_external_soft_in_cmd,
"clear bgp external soft in",
BGP_CLEAR_SOFT_IN, NULL);
}
-ALIAS (clear_bgp_external_soft_in,
- clear_bgp_instance_external_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " external soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_external_soft_in,
- clear_bgp_ipv6_external_soft_in_cmd,
- "clear bgp ipv6 external soft in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_external_soft_in,
- clear_bgp_instance_ipv6_external_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_external_soft_in,
- clear_bgp_external_in_cmd,
- "clear bgp external in",
- CLEAR_STR
- BGP_STR
- "Clear all external peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_external_soft_in,
- clear_bgp_instance_external_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " external in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_external_soft_in,
- clear_bgp_ipv6_external_in_cmd,
- "clear bgp ipv6 external WORD in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_external_soft_in,
- clear_bgp_instance_ipv6_external_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 external WORD in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_IN_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 external in prefix-filter",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_IN_STR
+ * "Push out prefix-list ORF and do inbound soft reconfig\n"
+ *
+ */
DEFUN (clear_bgp_external_in_prefix_filter,
clear_bgp_external_in_prefix_filter_cmd,
"clear bgp external in prefix-filter",
"Clear all external peers\n"
BGP_SOFT_IN_STR
"Push out prefix-list ORF and do inbound soft reconfig\n")
-{
- return bgp_clear_vty (vty, NULL, AFI_IP6, SAFI_UNICAST, clear_external,
- BGP_CLEAR_SOFT_IN_ORF_PREFIX, NULL);
-}
-
-ALIAS (clear_bgp_external_in_prefix_filter,
- clear_bgp_ipv6_external_in_prefix_filter_cmd,
- "clear bgp ipv6 external in prefix-filter",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_IN_STR
- "Push out prefix-list ORF and do inbound soft reconfig\n")
+{
+ return bgp_clear_vty (vty, NULL, AFI_IP6, SAFI_UNICAST, clear_external,
+ BGP_CLEAR_SOFT_IN_ORF_PREFIX, NULL);
+}
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " CMD_AS_RANGE " in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_as_soft_in,
clear_ip_bgp_as_soft_in_cmd,
"clear ip bgp " CMD_AS_RANGE " soft in",
BGP_CLEAR_SOFT_IN, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as_soft_in,
- clear_ip_bgp_instance_as_soft_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_as_soft_in,
- clear_ip_bgp_as_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_as_soft_in,
- clear_ip_bgp_instance_as_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_as_in_prefix_filter,
clear_ip_bgp_as_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " CMD_AS_RANGE " ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_as_ipv4_soft_in,
clear_ip_bgp_as_ipv4_soft_in_cmd,
"clear ip bgp " CMD_AS_RANGE " ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 (unicast|multicast) in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_instance_as_ipv4_soft_in,
clear_ip_bgp_instance_as_ipv4_soft_in_cmd,
"clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 (unicast|multicast) soft in",
BGP_CLEAR_SOFT_IN, argv[5]->arg);
}
-ALIAS (clear_ip_bgp_as_ipv4_soft_in,
- clear_ip_bgp_as_ipv4_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_ip_bgp_instance_as_ipv4_soft_in,
- clear_ip_bgp_instance_as_ipv4_in_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " ipv4 (unicast|multicast) in",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
DEFUN (clear_ip_bgp_as_ipv4_in_prefix_filter,
clear_ip_bgp_as_ipv4_in_prefix_filter_cmd,
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " CMD_AS_RANGE " vpnv4 unicast in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_ip_bgp_as_vpnv4_soft_in,
clear_ip_bgp_as_vpnv4_soft_in_cmd,
"clear ip bgp " CMD_AS_RANGE " vpnv4 unicast soft in",
BGP_CLEAR_SOFT_IN, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as_vpnv4_soft_in,
- clear_ip_bgp_as_vpnv4_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " vpnv4 unicast in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- BGP_SOFT_IN_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " CMD_AS_RANGE " encap unicast in",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * "Address family\n"
+ * "Address Family modifier\n"
+ * "Soft reconfig inbound update\n"
+ *
+ */
DEFUN (clear_ip_bgp_as_encap_soft_in,
clear_ip_bgp_as_encap_soft_in_cmd,
"clear ip bgp " CMD_AS_RANGE " encap unicast soft in",
BGP_CLEAR_SOFT_IN, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as_encap_soft_in,
- clear_ip_bgp_as_encap_in_cmd,
- "clear ip bgp " CMD_AS_RANGE " encap unicast in",
- CLEAR_STR
- IP_STR
- BGP_STR
- "Clear peers with the AS number\n"
- "Address family\n"
- "Address Family modifier\n"
- "Soft reconfig inbound update\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 " CMD_AS_RANGE " in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp ipv6 " CMD_AS_RANGE " soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " CMD_AS_RANGE " in",
+ * CLEAR_STR
+ * BGP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_IN_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft in",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ * BGP_SOFT_IN_STR
+ *
+ */
DEFUN (clear_bgp_as_soft_in,
clear_bgp_as_soft_in_cmd,
"clear bgp " CMD_AS_RANGE " soft in",
BGP_CLEAR_SOFT_IN, argv[2]->arg);
}
-ALIAS (clear_bgp_as_soft_in,
- clear_bgp_instance_as_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_as_soft_in,
- clear_bgp_ipv6_as_soft_in_cmd,
- "clear bgp ipv6 " CMD_AS_RANGE " soft in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_as_soft_in,
- clear_bgp_instance_ipv6_as_soft_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_STR
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_as_soft_in,
- clear_bgp_as_in_cmd,
- "clear bgp " CMD_AS_RANGE " in",
- CLEAR_STR
- BGP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_as_soft_in,
- clear_bgp_instance_as_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_as_soft_in,
- clear_bgp_ipv6_as_in_cmd,
- "clear bgp ipv6 " CMD_AS_RANGE " in",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_IN_STR)
-ALIAS (clear_bgp_as_soft_in,
- clear_bgp_instance_ipv6_as_in_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " in",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_IN_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 " CMD_AS_RANGE " in prefix-filter",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_IN_STR
+ * "Push out prefix-list ORF and do inbound soft reconfig\n"
+ *
+ */
DEFUN (clear_bgp_as_in_prefix_filter,
clear_bgp_as_in_prefix_filter_cmd,
"clear bgp " CMD_AS_RANGE " in prefix-filter",
BGP_CLEAR_SOFT_IN_ORF_PREFIX, argv[2]->arg);
}
-ALIAS (clear_bgp_as_in_prefix_filter,
- clear_bgp_ipv6_as_in_prefix_filter_cmd,
- "clear bgp ipv6 " CMD_AS_RANGE " in prefix-filter",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_IN_STR
- "Push out prefix-list ORF and do inbound soft reconfig\n")
/* Both soft-reconfiguration */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " * soft",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_ip_bgp_all_soft,
clear_ip_bgp_all_soft_cmd,
"clear ip bgp * soft",
BGP_CLEAR_SOFT_BOTH, NULL);
}
-ALIAS (clear_ip_bgp_all_soft,
- clear_ip_bgp_instance_all_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " * soft",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_STR)
DEFUN (clear_ip_bgp_all_ipv4_soft,
BGP_CLEAR_SOFT_BOTH, argv[0]);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 * soft",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " * soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 * soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all peers\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_bgp_all_soft,
clear_bgp_all_soft_cmd,
"clear bgp * soft",
BGP_CLEAR_SOFT_BOTH, NULL);
}
-ALIAS (clear_bgp_all_soft,
- clear_bgp_instance_all_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " * soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all peers\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_all_soft,
- clear_bgp_ipv6_all_soft_cmd,
- "clear bgp ipv6 * soft",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_all_soft,
- clear_bgp_instance_ipv6_all_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 * soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all peers\n"
- BGP_SOFT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) soft",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_soft,
clear_ip_bgp_peer_soft_cmd,
"clear ip bgp (A.B.C.D|WORD) soft",
BGP_CLEAR_SOFT_BOTH, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_peer_soft,
- clear_ip_bgp_instance_peer_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " (A.B.C.D|WORD) soft",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR)
DEFUN (clear_ip_bgp_peer_ipv4_soft,
clear_ip_bgp_peer_ipv4_soft_cmd,
BGP_CLEAR_SOFT_BOTH, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) soft",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "BGP neighbor address to clear\n"
+ * "BGP IPv6 neighbor to clear\n"
+ * "BGP neighbor on interface to clear\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_bgp_peer_soft,
clear_bgp_peer_soft_cmd,
"clear bgp (A.B.C.D|X:X::X:X|WORD) soft",
BGP_CLEAR_SOFT_BOTH, argv[2]->arg);
}
-ALIAS (clear_bgp_peer_soft,
- clear_bgp_instance_peer_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " (A.B.C.D|X:X::X:X|WORD) soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_peer_soft,
- clear_bgp_ipv6_peer_soft_cmd,
- "clear bgp ipv6 (A.B.C.D|X:X::X:X|WORD) soft",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_peer_soft,
- clear_bgp_instance_ipv6_peer_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 (A.B.C.D|X:X::X:X|WORD) soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "BGP neighbor address to clear\n"
- "BGP IPv6 neighbor to clear\n"
- "BGP neighbor on interface to clear\n"
- BGP_SOFT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_ip_bgp_peer_group_soft,
clear_ip_bgp_peer_group_soft_cmd,
"clear ip bgp peer-group WORD soft",
BGP_CLEAR_SOFT_BOTH, argv[4]->arg);
}
-ALIAS (clear_ip_bgp_peer_group_soft,
- clear_ip_bgp_instance_peer_group_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " peer-group WORD soft",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR)
DEFUN (clear_ip_bgp_peer_group_ipv4_soft,
clear_ip_bgp_peer_group_ipv4_soft_cmd,
BGP_CLEAR_SOFT_BOTH, argv[6]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp ipv6 peer-group WORD soft",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all members of peer-group\n"
+ * "BGP peer-group name\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_bgp_peer_group_soft,
clear_bgp_peer_group_soft_cmd,
"clear bgp peer-group WORD soft",
BGP_CLEAR_SOFT_BOTH, argv[3]->arg);
}
-ALIAS (clear_bgp_peer_group_soft,
- clear_bgp_instance_peer_group_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " peer-group WORD soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_peer_group_soft,
- clear_bgp_ipv6_peer_group_soft_cmd,
- "clear bgp ipv6 peer-group WORD soft",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_peer_group_soft,
- clear_bgp_instance_ipv6_peer_group_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 peer-group WORD soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all members of peer-group\n"
- "BGP peer-group name\n"
- BGP_SOFT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " external soft",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_ip_bgp_external_soft,
clear_ip_bgp_external_soft_cmd,
"clear ip bgp external soft",
BGP_CLEAR_SOFT_BOTH, NULL);
}
-ALIAS (clear_ip_bgp_external_soft,
- clear_ip_bgp_instance_external_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " external soft",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_STR)
DEFUN (clear_ip_bgp_external_ipv4_soft,
clear_ip_bgp_external_ipv4_soft_cmd,
BGP_CLEAR_SOFT_BOTH, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp " BGP_INSTANCE_CMD " external soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp ipv6 external soft",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear all external peers\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_bgp_external_soft,
clear_bgp_external_soft_cmd,
"clear bgp external soft",
BGP_CLEAR_SOFT_BOTH, NULL);
}
-ALIAS (clear_bgp_external_soft,
- clear_bgp_instance_external_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " external soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear all external peers\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_external_soft,
- clear_bgp_ipv6_external_soft_cmd,
- "clear bgp ipv6 external soft",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_STR)
-ALIAS (clear_bgp_external_soft,
- clear_bgp_instance_ipv6_external_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 external soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear all external peers\n"
- BGP_SOFT_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft",
+ * CLEAR_STR
+ * IP_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_ip_bgp_as_soft,
clear_ip_bgp_as_soft_cmd,
"clear ip bgp " CMD_AS_RANGE " soft",
BGP_CLEAR_SOFT_BOTH, argv[3]->arg);
}
-ALIAS (clear_ip_bgp_as_soft,
- clear_ip_bgp_instance_as_soft_cmd,
- "clear ip bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft",
- CLEAR_STR
- IP_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_STR)
DEFUN (clear_ip_bgp_as_ipv4_soft,
clear_ip_bgp_as_ipv4_soft_cmd,
BGP_CLEAR_SOFT_BOTH, argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "clear bgp ipv6 " CMD_AS_RANGE " soft",
+ * CLEAR_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ *
+ * "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft",
+ * CLEAR_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Clear peers with the AS number\n"
+ * BGP_SOFT_STR
+ *
+ */
DEFUN (clear_bgp_as_soft,
clear_bgp_as_soft_cmd,
"clear bgp " CMD_AS_RANGE " soft",
BGP_CLEAR_SOFT_BOTH, argv[2]->arg);
}
-ALIAS (clear_bgp_as_soft,
- clear_bgp_instance_as_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " " CMD_AS_RANGE " soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Clear peers with the AS number\n"
- BGP_SOFT_STR)
-
-ALIAS (clear_bgp_as_soft,
- clear_bgp_ipv6_as_soft_cmd,
- "clear bgp ipv6 " CMD_AS_RANGE " soft",
- CLEAR_STR
- BGP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_STR)
-
-ALIAS (clear_bgp_as_soft,
- clear_bgp_instance_ipv6_as_soft_cmd,
- "clear bgp " BGP_INSTANCE_CMD " ipv6 " CMD_AS_RANGE " soft",
- CLEAR_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Clear peers with the AS number\n"
- BGP_SOFT_STR)
+
+
DEFUN (show_bgp_views,
show_bgp_views_cmd,
return CMD_SUCCESS;
}
-DEFUN (show_bgp_memory,
+DEFUN (show_bgp_memory,
show_bgp_memory_cmd,
"show bgp memory",
SHOW_STR
return CMD_SUCCESS;
}
-DEFUN (show_ip_bgp_ipv4_summary,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv4 (unicast|multicast) summary {json}",
+ * 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_ipv4_summary,
show_ip_bgp_ipv4_summary_cmd,
"show ip bgp ipv4 (unicast|multicast) summary {json}",
SHOW_STR
return bgp_show_summary_vty (vty, NULL, AFI_IP, SAFI_UNICAST, uj);
}
-ALIAS (show_ip_bgp_ipv4_summary,
- show_bgp_ipv4_safi_summary_cmd,
- "show bgp ipv4 (unicast|multicast) summary {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "Summary of BGP neighbor status\n")
DEFUN (show_bgp_ipv4_vpn_summary,
show_bgp_ipv4_vpn_summary_cmd,
return bgp_show_summary_vty (vty, NULL, AFI_IP6, SAFI_MPLS_VPN, use_json (argc, argv));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp view WORD ipv4 (unicast|multicast) summary {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "BGP view\n"
+ * "View name\n"
+ * "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 {json}",
return bgp_show_summary_vty (vty, argv[4]->arg, AFI_IP, SAFI_UNICAST, uj);
}
-ALIAS (show_ip_bgp_instance_ipv4_summary,
- show_bgp_instance_ipv4_safi_summary_cmd,
- "show bgp view WORD ipv4 (unicast|multicast) summary {json}",
- SHOW_STR
- BGP_STR
- "BGP view\n"
- "View name\n"
- "Address family\n"
- "Address Family modifier\n"
- "Address Family modifier\n"
- "Summary of BGP neighbor status\n")
DEFUN (show_ip_bgp_vpnv4_all_summary,
show_ip_bgp_vpnv4_all_summary_cmd,
}
#ifdef HAVE_IPV6
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp ipv6 summary {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Summary of BGP neighbor status\n"
+ *
+ */
DEFUN (show_bgp_summary,
show_bgp_summary_cmd,
"show bgp summary {json}",
return bgp_show_summary_vty (vty, NULL, AFI_IP6, SAFI_UNICAST, use_json(argc, argv));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 summary {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Summary of BGP neighbor status\n"
+ *
+ */
DEFUN (show_bgp_instance_summary,
show_bgp_instance_summary_cmd,
"show bgp " BGP_INSTANCE_CMD " summary {json}",
return CMD_SUCCESS;
}
-ALIAS (show_bgp_summary,
- show_bgp_ipv6_summary_cmd,
- "show bgp ipv6 summary {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Summary of BGP neighbor status\n")
-ALIAS (show_bgp_instance_summary,
- show_bgp_instance_ipv6_summary_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 summary {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Summary of BGP neighbor status\n")
DEFUN (show_bgp_ipv6_safi_summary,
show_bgp_ipv6_safi_summary_cmd,
}
/* old command */
-DEFUN (show_ipv6_bgp_summary,
+DEFUN (show_ipv6_bgp_summary,
show_ipv6_bgp_summary_cmd,
"show ipv6 bgp summary {json}",
SHOW_STR
}
/* old command */
-DEFUN (show_ipv6_mbgp_summary,
+DEFUN (show_ipv6_mbgp_summary,
show_ipv6_mbgp_summary_cmd,
"show ipv6 mbgp summary {json}",
SHOW_STR
}
/* "show ip bgp neighbors" commands. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors {json}",
+ * SHOW_STR
+ * IP_STR
+ * BGP_STR
+ * "Display VPNv4 NLRI specific information\n"
+ * "Display information for a route distinguisher\n"
+ * "VPN Route Distinguisher\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp neighbors {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show ip bgp vpnv4 all neighbors {json}",
+ * SHOW_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"
+ * "JavaScript Object Notation\n"
+ *
+ * "show ip bgp ipv4 (unicast|multicast) neighbors {json}",
+ * 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"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp ipv6 neighbors {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_neighbors,
show_ip_bgp_neighbors_cmd,
"show ip bgp neighbors {json}",
return bgp_show_neighbor_vty (vty, NULL, show_all, NULL, uj, NULL);
}
-ALIAS (show_ip_bgp_neighbors,
- show_ip_bgp_ipv4_neighbors_cmd,
- "show ip bgp ipv4 (unicast|multicast) neighbors {json}",
- 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"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_neighbors,
- show_ip_bgp_vpnv4_all_neighbors_cmd,
- "show ip bgp vpnv4 all neighbors {json}",
- 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"
- "JavaScript Object Notation\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 {json}",
- SHOW_STR
- IP_STR
- BGP_STR
- "Display VPNv4 NLRI specific information\n"
- "Display information for a route distinguisher\n"
- "VPN Route Distinguisher\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_neighbors,
- show_bgp_neighbors_cmd,
- "show bgp neighbors {json}",
- SHOW_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_neighbors,
- show_bgp_ipv6_neighbors_cmd,
- "show bgp ipv6 neighbors {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * SHOW_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"
+ * "Neighbor on bgp configured interface\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn neighbors A.B.C.D {json}",
+ * SHOW_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"
+ * "JavaScript Object Notation\n"
+ *
+ * "show ip bgp vpnv4 all neighbors A.B.C.D {json}",
+ * 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"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_neighbors_peer,
show_ip_bgp_neighbors_peer_cmd,
"show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
return bgp_show_neighbor_vty (vty, NULL, show_peer, argv[argc - 2], uj, NULL);
}
-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|WORD) {json}",
- 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"
- "Neighbor on bgp configured interface\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_neighbors_peer,
- show_ip_bgp_vpnv4_all_neighbors_peer_cmd,
- "show ip bgp vpnv4 all neighbors A.B.C.D {json}",
- 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"
- "JavaScript Object Notation\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 {json}",
- 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"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_neighbors_peer,
- show_bgp_neighbors_peer_cmd,
- "show bgp neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
- SHOW_STR
- BGP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_neighbors_peer,
- show_bgp_ipv6_neighbors_peer_cmd,
- "show bgp ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
- SHOW_STR
- BGP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " neighbors {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_instance_neighbors,
show_ip_bgp_instance_neighbors_cmd,
"show ip bgp " BGP_INSTANCE_CMD " neighbors {json}",
return CMD_SUCCESS;
}
-ALIAS (show_ip_bgp_instance_neighbors,
- show_bgp_instance_neighbors_cmd,
- "show bgp " BGP_INSTANCE_CMD " neighbors {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_instance_neighbors,
- show_bgp_instance_ipv6_neighbors_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "JavaScript Object Notation\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Address family\n"
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "JavaScript Object Notation\n"
+ *
+ * "show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
+ * SHOW_STR
+ * BGP_STR
+ * BGP_INSTANCE_HELP_STR
+ * "Detailed information on TCP and BGP neighbor connections\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor to display information about\n"
+ * "Neighbor on bgp configured interface\n"
+ * "JavaScript Object Notation\n"
+ *
+ */
DEFUN (show_ip_bgp_instance_neighbors_peer,
show_ip_bgp_instance_neighbors_peer_cmd,
"show ip bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
return bgp_show_neighbor_vty (vty, argv[4]->arg, show_peer, argv[6]->arg, uj, NULL);
}
-ALIAS (show_ip_bgp_instance_neighbors_peer,
- show_bgp_instance_neighbors_peer_cmd,
- "show bgp " BGP_INSTANCE_CMD " neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "JavaScript Object Notation\n")
-ALIAS (show_ip_bgp_instance_neighbors_peer,
- show_bgp_instance_ipv6_neighbors_peer_cmd,
- "show bgp " BGP_INSTANCE_CMD " ipv6 neighbors (A.B.C.D|X:X::X:X|WORD) {json}",
- SHOW_STR
- BGP_STR
- BGP_INSTANCE_HELP_STR
- "Address family\n"
- "Detailed information on TCP and BGP neighbor connections\n"
- "Neighbor to display information about\n"
- "Neighbor to display information about\n"
- "Neighbor on bgp configured interface\n"
- "JavaScript Object Notation\n")
/* Show BGP's AS paths internal data. There are both `show ip bgp
paths' and `show ip mbgp paths'. Those functions results are the
same.*/
-DEFUN (show_ip_bgp_paths,
+DEFUN (show_ip_bgp_paths,
show_ip_bgp_paths_cmd,
"show ip bgp paths",
SHOW_STR
return CMD_SUCCESS;
}
-DEFUN (show_ip_bgp_ipv4_paths,
+DEFUN (show_ip_bgp_ipv4_paths,
show_ip_bgp_ipv4_paths_cmd,
"show ip bgp ipv4 (unicast|multicast) paths",
SHOW_STR
}
/* Show BGP's community internal data. */
-DEFUN (show_ip_bgp_community_info,
+DEFUN (show_ip_bgp_community_info,
show_ip_bgp_community_info_cmd,
"show ip bgp community-info",
SHOW_STR
return CMD_SUCCESS;
}
-DEFUN (show_ip_bgp_attr_info,
+DEFUN (show_ip_bgp_attr_info,
show_ip_bgp_attr_info_cmd,
"show ip bgp attribute-info",
SHOW_STR
return bgp_redistribute_set (vty->index, AFI_IP, protocol, instance);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no redistribute (ospf|table) <1-65535> route-map WORD",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * "Open Shortest Path First (OSPFv2)\n"
+ * "Non-main Kernel Routing Table\n"
+ * "Instance ID/Table ID\n"
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ * "no redistribute (ospf|table) <1-65535> metric <0-4294967295>",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * "Open Shortest Path First (OSPFv2)\n"
+ * "Non-main Kernel Routing Table\n"
+ * "Instance ID/Table ID\n"
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ *
+ * "no redistribute (ospf|table) <1-65535> route-map WORD metric <0-4294967295>",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * "Open Shortest Path First (OSPFv2)\n"
+ * "Non-main Kernel Routing Table\n"
+ * "Instance ID/Table ID\n"
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ *
+ * "no redistribute (ospf|table) <1-65535> metric <0-4294967295> route-map WORD",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * "Open Shortest Path First (OSPFv2)\n"
+ * "Non-main Kernel Routing Table\n"
+ * "Instance ID/Table ID\n"
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ */
DEFUN (no_bgp_redistribute_ipv4_ospf,
no_bgp_redistribute_ipv4_ospf_cmd,
"no redistribute (ospf|table) <1-65535>",
return bgp_redistribute_unset (vty->index, AFI_IP, protocol, instance);
}
-ALIAS (no_bgp_redistribute_ipv4_ospf,
- no_bgp_redistribute_ipv4_ospf_rmap_cmd,
- "no redistribute (ospf|table) <1-65535> route-map WORD",
- NO_STR
- "Redistribute information from another routing protocol\n"
- "Open Shortest Path First (OSPFv2)\n"
- "Non-main Kernel Routing Table\n"
- "Instance ID/Table ID\n"
- "Route map reference\n"
- "Pointer to route-map entries\n")
-ALIAS (no_bgp_redistribute_ipv4_ospf,
- no_bgp_redistribute_ipv4_ospf_metric_cmd,
- "no redistribute (ospf|table) <1-65535> metric <0-4294967295>",
- NO_STR
- "Redistribute information from another routing protocol\n"
- "Open Shortest Path First (OSPFv2)\n"
- "Non-main Kernel Routing Table\n"
- "Instance ID/Table ID\n"
- "Metric for redistributed routes\n"
- "Default metric\n")
-ALIAS (no_bgp_redistribute_ipv4_ospf,
- no_bgp_redistribute_ipv4_ospf_rmap_metric_cmd,
- "no redistribute (ospf|table) <1-65535> route-map WORD metric <0-4294967295>",
- NO_STR
- "Redistribute information from another routing protocol\n"
- "Open Shortest Path First (OSPFv2)\n"
- "Non-main Kernel Routing Table\n"
- "Instance ID/Table ID\n"
- "Route map reference\n"
- "Pointer to route-map entries\n"
- "Metric for redistributed routes\n"
- "Default metric\n")
-ALIAS (no_bgp_redistribute_ipv4_ospf,
- no_bgp_redistribute_ipv4_ospf_metric_rmap_cmd,
- "no redistribute (ospf|table) <1-65535> metric <0-4294967295> route-map WORD",
- NO_STR
- "Redistribute information from another routing protocol\n"
- "Open Shortest Path First (OSPFv2)\n"
- "Non-main Kernel Routing Table\n"
- "Instance ID/Table ID\n"
- "Metric for redistributed routes\n"
- "Default metric\n"
- "Route map reference\n"
- "Pointer to route-map entries\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric <0-4294967295> route-map WORD",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP_REDIST_HELP_STR_BGPD
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP_REDIST_HELP_STR_BGPD
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD metric <0-4294967295>",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP_REDIST_HELP_STR_BGPD
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ *
+ * "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric <0-4294967295>",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP_REDIST_HELP_STR_BGPD
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ *
+ */
DEFUN (no_bgp_redistribute_ipv4,
no_bgp_redistribute_ipv4_cmd,
"no redistribute " QUAGGA_IP_REDIST_STR_BGPD,
return bgp_redistribute_unset (vty->index, AFI_IP, type, 0);
}
-ALIAS (no_bgp_redistribute_ipv4,
- no_bgp_redistribute_ipv4_rmap_cmd,
- "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP_REDIST_HELP_STR_BGPD
- "Route map reference\n"
- "Pointer to route-map entries\n")
-ALIAS (no_bgp_redistribute_ipv4,
- no_bgp_redistribute_ipv4_metric_cmd,
- "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric <0-4294967295>",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP_REDIST_HELP_STR_BGPD
- "Metric for redistributed routes\n"
- "Default metric\n")
-ALIAS (no_bgp_redistribute_ipv4,
- no_bgp_redistribute_ipv4_rmap_metric_cmd,
- "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " route-map WORD metric <0-4294967295>",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP_REDIST_HELP_STR_BGPD
- "Route map reference\n"
- "Pointer to route-map entries\n"
- "Metric for redistributed routes\n"
- "Default metric\n")
-ALIAS (no_bgp_redistribute_ipv4,
- no_bgp_redistribute_ipv4_metric_rmap_cmd,
- "no redistribute " QUAGGA_IP_REDIST_STR_BGPD " metric <0-4294967295> route-map WORD",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP_REDIST_HELP_STR_BGPD
- "Metric for redistributed routes\n"
- "Default metric\n"
- "Route map reference\n"
- "Pointer to route-map entries\n")
#ifdef HAVE_IPV6
DEFUN (bgp_redistribute_ipv6,
return bgp_redistribute_set (vty->index, AFI_IP6, type, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP6_REDIST_HELP_STR_BGPD
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD metric <0-4294967295>",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP6_REDIST_HELP_STR_BGPD
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ *
+ * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric <0-4294967295> route-map WORD",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP6_REDIST_HELP_STR_BGPD
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ * "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric <0-4294967295>",
+ * NO_STR
+ * "Redistribute information from another routing protocol\n"
+ * QUAGGA_IP6_REDIST_HELP_STR_BGPD
+ * "Metric for redistributed routes\n"
+ * "Default metric\n"
+ *
+ */
DEFUN (no_bgp_redistribute_ipv6,
no_bgp_redistribute_ipv6_cmd,
"no redistribute " QUAGGA_IP6_REDIST_STR_BGPD,
return bgp_redistribute_unset (vty->index, AFI_IP6, type, 0);
}
-ALIAS (no_bgp_redistribute_ipv6,
- no_bgp_redistribute_ipv6_rmap_cmd,
- "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP6_REDIST_HELP_STR_BGPD
- "Route map reference\n"
- "Pointer to route-map entries\n")
-ALIAS (no_bgp_redistribute_ipv6,
- no_bgp_redistribute_ipv6_metric_cmd,
- "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric <0-4294967295>",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP6_REDIST_HELP_STR_BGPD
- "Metric for redistributed routes\n"
- "Default metric\n")
-ALIAS (no_bgp_redistribute_ipv6,
- no_bgp_redistribute_ipv6_rmap_metric_cmd,
- "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " route-map WORD metric <0-4294967295>",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP6_REDIST_HELP_STR_BGPD
- "Route map reference\n"
- "Pointer to route-map entries\n"
- "Metric for redistributed routes\n"
- "Default metric\n")
-ALIAS (no_bgp_redistribute_ipv6,
- no_bgp_redistribute_ipv6_metric_rmap_cmd,
- "no redistribute " QUAGGA_IP6_REDIST_STR_BGPD " metric <0-4294967295> route-map WORD",
- NO_STR
- "Redistribute information from another routing protocol\n"
- QUAGGA_IP6_REDIST_HELP_STR_BGPD
- "Metric for redistributed routes\n"
- "Default metric\n"
- "Route map reference\n"
- "Pointer to route-map entries\n")
#endif /* HAVE_IPV6 */
int
/* "bgp config-type" commands. */
install_element (CONFIG_NODE, &bgp_config_type_cmd);
- install_element (CONFIG_NODE, &no_bgp_config_type_val_cmd);
/* bgp route-map delay-timer commands. */
install_element (CONFIG_NODE, &bgp_set_route_map_delay_timer_cmd);
install_element (CONFIG_NODE, &no_bgp_set_route_map_delay_timer_cmd);
- install_element (CONFIG_NODE, &no_bgp_set_route_map_delay_timer_val_cmd);
/* Dummy commands (Currently not supported) */
install_element (BGP_NODE, &no_synchronization_cmd);
/* "router bgp" commands. */
install_element (CONFIG_NODE, &router_bgp_cmd);
- install_element (CONFIG_NODE, &router_bgp_instance_cmd);
- install_element (CONFIG_NODE, &router_bgp_noasn_cmd);
/* "no router bgp" commands. */
install_element (CONFIG_NODE, &no_router_bgp_cmd);
- install_element (CONFIG_NODE, &no_router_bgp_instance_cmd);
- install_element (CONFIG_NODE, &no_router_bgp_noasn_cmd);
/* "bgp router-id" commands. */
install_element (BGP_NODE, &bgp_router_id_cmd);
install_element (BGP_NODE, &no_bgp_router_id_cmd);
- install_element (BGP_NODE, &no_bgp_router_id_val_cmd);
/* "bgp cluster-id" commands. */
install_element (BGP_NODE, &bgp_cluster_id_cmd);
- install_element (BGP_NODE, &bgp_cluster_id32_cmd);
install_element (BGP_NODE, &no_bgp_cluster_id_cmd);
- install_element (BGP_NODE, &no_bgp_cluster_id_ip_cmd);
- install_element (BGP_NODE, &no_bgp_cluster_id_decimal_cmd);
/* "bgp confederation" commands. */
install_element (BGP_NODE, &bgp_confederation_identifier_cmd);
install_element (BGP_NODE, &no_bgp_confederation_identifier_cmd);
- install_element (BGP_NODE, &no_bgp_confederation_identifier_arg_cmd);
/* "bgp confederation peers" commands. */
install_element (BGP_NODE, &bgp_confederation_peers_cmd);
install_element (BGP_NODE, &bgp_maxmed_admin_cmd);
install_element (BGP_NODE, &no_bgp_maxmed_admin_cmd);
install_element (BGP_NODE, &bgp_maxmed_admin_medv_cmd);
- install_element (BGP_NODE, &no_bgp_maxmed_admin_medv_cmd);
install_element (BGP_NODE, &bgp_maxmed_onstartup_cmd);
install_element (BGP_NODE, &no_bgp_maxmed_onstartup_cmd);
- install_element (BGP_NODE, &no_bgp_maxmed_onstartup_period_cmd);
install_element (BGP_NODE, &bgp_maxmed_onstartup_medv_cmd);
- install_element (BGP_NODE, &no_bgp_maxmed_onstartup_period_medv_cmd);
/* bgp disable-ebgp-connected-nh-check */
install_element (BGP_NODE, &bgp_disable_connected_route_check_cmd);
install_element (BGP_NODE, &bgp_update_delay_cmd);
install_element (BGP_NODE, &no_bgp_update_delay_cmd);
install_element (BGP_NODE, &bgp_update_delay_establish_wait_cmd);
- install_element (BGP_NODE, &no_bgp_update_delay_establish_wait_cmd);
install_element (BGP_NODE, &bgp_wpkt_quanta_cmd);
install_element (BGP_NODE, &no_bgp_wpkt_quanta_cmd);
/* "maximum-paths" commands. */
install_element (BGP_NODE, &bgp_maxpaths_cmd);
install_element (BGP_NODE, &no_bgp_maxpaths_cmd);
- install_element (BGP_NODE, &no_bgp_maxpaths_arg_cmd);
install_element (BGP_IPV4_NODE, &bgp_maxpaths_cmd);
install_element (BGP_IPV4_NODE, &no_bgp_maxpaths_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_maxpaths_arg_cmd);
install_element (BGP_IPV6_NODE, &bgp_maxpaths_cmd);
install_element (BGP_IPV6_NODE, &no_bgp_maxpaths_cmd);
- install_element (BGP_IPV6_NODE, &no_bgp_maxpaths_arg_cmd);
install_element (BGP_NODE, &bgp_maxpaths_ibgp_cmd);
install_element(BGP_NODE, &bgp_maxpaths_ibgp_cluster_cmd);
install_element (BGP_NODE, &no_bgp_maxpaths_ibgp_cmd);
- install_element (BGP_NODE, &no_bgp_maxpaths_ibgp_arg_cmd);
- install_element (BGP_NODE, &no_bgp_maxpaths_ibgp_cluster_cmd);
install_element (BGP_IPV4_NODE, &bgp_maxpaths_ibgp_cmd);
install_element(BGP_IPV4_NODE, &bgp_maxpaths_ibgp_cluster_cmd);
install_element (BGP_IPV4_NODE, &no_bgp_maxpaths_ibgp_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_maxpaths_ibgp_cluster_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_maxpaths_ibgp_arg_cmd);
install_element (BGP_IPV6_NODE, &bgp_maxpaths_ibgp_cmd);
install_element(BGP_IPV6_NODE, &bgp_maxpaths_ibgp_cluster_cmd);
install_element (BGP_IPV6_NODE, &no_bgp_maxpaths_ibgp_cmd);
- install_element (BGP_IPV6_NODE, &no_bgp_maxpaths_ibgp_arg_cmd);
- install_element (BGP_IPV6_NODE, &no_bgp_maxpaths_ibgp_cluster_cmd);
/* "timers bgp" commands. */
install_element (BGP_NODE, &bgp_timers_cmd);
install_element (BGP_NODE, &no_bgp_timers_cmd);
- install_element (BGP_NODE, &no_bgp_timers_arg_cmd);
/* route-map delay-timer commands - per instance for backwards compat. */
install_element (BGP_NODE, &bgp_set_route_map_delay_timer_cmd);
install_element (BGP_NODE, &no_bgp_set_route_map_delay_timer_cmd);
- install_element (BGP_NODE, &no_bgp_set_route_map_delay_timer_val_cmd);
/* "bgp client-to-client reflection" commands */
install_element (BGP_NODE, &no_bgp_client_to_client_reflection_cmd);
install_element (BGP_NODE, &no_bgp_graceful_restart_cmd);
install_element (BGP_NODE, &bgp_graceful_restart_stalepath_time_cmd);
install_element (BGP_NODE, &no_bgp_graceful_restart_stalepath_time_cmd);
- install_element (BGP_NODE, &no_bgp_graceful_restart_stalepath_time_val_cmd);
install_element (BGP_NODE, &bgp_graceful_restart_restart_time_cmd);
install_element (BGP_NODE, &no_bgp_graceful_restart_restart_time_cmd);
- install_element (BGP_NODE, &no_bgp_graceful_restart_restart_time_val_cmd);
/* "bgp fast-external-failover" commands */
install_element (BGP_NODE, &bgp_fast_external_failover_cmd);
/* "bgp bestpath med" commands */
install_element (BGP_NODE, &bgp_bestpath_med_cmd);
install_element (BGP_NODE, &bgp_bestpath_med2_cmd);
- install_element (BGP_NODE, &bgp_bestpath_med3_cmd);
install_element (BGP_NODE, &no_bgp_bestpath_med_cmd);
install_element (BGP_NODE, &no_bgp_bestpath_med2_cmd);
- install_element (BGP_NODE, &no_bgp_bestpath_med3_cmd);
/* "no bgp default ipv4-unicast" commands. */
install_element (BGP_NODE, &no_bgp_default_ipv4_unicast_cmd);
/* "bgp default local-preference" commands. */
install_element (BGP_NODE, &bgp_default_local_preference_cmd);
install_element (BGP_NODE, &no_bgp_default_local_preference_cmd);
- install_element (BGP_NODE, &no_bgp_default_local_preference_val_cmd);
/* bgp default show-hostname */
install_element (BGP_NODE, &bgp_default_show_hostname_cmd);
/* "bgp default subgroup-pkt-queue-max" commands. */
install_element (BGP_NODE, &bgp_default_subgroup_pkt_queue_max_cmd);
install_element (BGP_NODE, &no_bgp_default_subgroup_pkt_queue_max_cmd);
- install_element (BGP_NODE, &no_bgp_default_subgroup_pkt_queue_max_val_cmd);
/* bgp ibgp-allow-policy-mods command */
install_element (BGP_NODE, &bgp_rr_allow_outbound_policy_cmd);
/* "bgp listen limit" commands. */
install_element (BGP_NODE, &bgp_listen_limit_cmd);
install_element (BGP_NODE, &no_bgp_listen_limit_cmd);
- install_element (BGP_NODE, &no_bgp_listen_limit_val_cmd);
/* "bgp listen range" commands. */
install_element (BGP_NODE, &bgp_listen_range_cmd);
install_element (BGP_NODE, &neighbor_remote_as_cmd);
install_element (BGP_NODE, &neighbor_interface_config_cmd);
install_element (BGP_NODE, &neighbor_interface_config_v6only_cmd);
- install_element (BGP_NODE, &neighbor_interface_config_peergroup_cmd);
- install_element (BGP_NODE, &neighbor_interface_config_v6only_peergroup_cmd);
install_element (BGP_NODE, &neighbor_interface_config_remote_as_cmd);
install_element (BGP_NODE, &neighbor_interface_v6only_config_remote_as_cmd);
install_element (BGP_NODE, &no_neighbor_cmd);
- install_element (BGP_NODE, &no_neighbor_remote_as_cmd);
install_element (BGP_NODE, &no_neighbor_interface_config_cmd);
- install_element (BGP_NODE, &no_neighbor_interface_config_v6only_cmd);
- install_element (BGP_NODE, &no_neighbor_interface_config_peergroup_cmd);
- install_element (BGP_NODE, &no_neighbor_interface_config_v6only_peergroup_cmd);
- install_element (BGP_NODE, &no_neighbor_interface_config_remote_as_cmd);
- install_element (BGP_NODE, &no_neighbor_interface_config_v6only_remote_as_cmd);
/* "neighbor peer-group" commands. */
install_element (BGP_NODE, &neighbor_peer_group_cmd);
install_element (BGP_NODE, &neighbor_local_as_no_prepend_cmd);
install_element (BGP_NODE, &neighbor_local_as_no_prepend_replace_as_cmd);
install_element (BGP_NODE, &no_neighbor_local_as_cmd);
- install_element (BGP_NODE, &no_neighbor_local_as_val_cmd);
- install_element (BGP_NODE, &no_neighbor_local_as_val2_cmd);
- install_element (BGP_NODE, &no_neighbor_local_as_val3_cmd);
/* "neighbor solo" commands. */
install_element (BGP_NODE, &neighbor_solo_cmd);
/* "neighbor password" commands. */
install_element (BGP_NODE, &neighbor_password_cmd);
install_element (BGP_NODE, &no_neighbor_password_cmd);
- install_element (BGP_NODE, &no_neighbor_password_val_cmd);
/* "neighbor activate" commands. */
install_element (BGP_NODE, &neighbor_activate_cmd);
install_element (BGP_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV4_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV4M_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV6_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV6M_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_VPNV4_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_VPNV6_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_ENCAP_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_attr_unchanged10_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged1_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged2_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged3_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged4_cmd);
- install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged5_cmd);
- install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged6_cmd);
- install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged7_cmd);
- install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged8_cmd);
- install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged9_cmd);
- install_element (BGP_ENCAPV6_NODE, &neighbor_attr_unchanged10_cmd);
install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged_cmd);
install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged1_cmd);
install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged2_cmd);
install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged3_cmd);
install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged4_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged5_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged6_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged7_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged8_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged9_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_attr_unchanged10_cmd);
/* "nexthop-local unchanged" commands */
install_element (BGP_IPV6_NODE, &neighbor_nexthop_local_unchanged_cmd);
install_element (BGP_NODE, &neighbor_ebgp_multihop_cmd);
install_element (BGP_NODE, &neighbor_ebgp_multihop_ttl_cmd);
install_element (BGP_NODE, &no_neighbor_ebgp_multihop_cmd);
- install_element (BGP_NODE, &no_neighbor_ebgp_multihop_ttl_cmd);
/* "neighbor disable-connected-check" commands. */
install_element (BGP_NODE, &neighbor_disable_connected_check_cmd);
install_element (BGP_NODE, &no_neighbor_disable_connected_check_cmd);
- install_element (BGP_NODE, &neighbor_enforce_multihop_cmd);
- install_element (BGP_NODE, &no_neighbor_enforce_multihop_cmd);
/* "neighbor description" commands. */
install_element (BGP_NODE, &neighbor_description_cmd);
install_element (BGP_NODE, &no_neighbor_description_cmd);
- install_element (BGP_NODE, &no_neighbor_description_val_cmd);
/* "neighbor update-source" commands. "*/
install_element (BGP_NODE, &neighbor_update_source_cmd);
install_element (BGP_NODE, &neighbor_default_originate_cmd);
install_element (BGP_NODE, &neighbor_default_originate_rmap_cmd);
install_element (BGP_NODE, &no_neighbor_default_originate_cmd);
- install_element (BGP_NODE, &no_neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV4_NODE, &neighbor_default_originate_cmd);
install_element (BGP_IPV4_NODE, &neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_default_originate_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_default_originate_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_default_originate_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV6_NODE, &neighbor_default_originate_cmd);
install_element (BGP_IPV6_NODE, &neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_default_originate_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_default_originate_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_default_originate_rmap_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_default_originate_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_default_originate_rmap_cmd);
/* "neighbor port" commands. */
install_element (BGP_NODE, &neighbor_port_cmd);
install_element (BGP_NODE, &no_neighbor_port_cmd);
- install_element (BGP_NODE, &no_neighbor_port_val_cmd);
/* "neighbor weight" commands. */
install_element (BGP_NODE, &neighbor_weight_cmd);
install_element (BGP_NODE, &no_neighbor_weight_cmd);
- install_element (BGP_NODE, &no_neighbor_weight_val_cmd);
/* "neighbor override-capability" commands. */
install_element (BGP_NODE, &neighbor_override_capability_cmd);
/* "neighbor timers" commands. */
install_element (BGP_NODE, &neighbor_timers_cmd);
install_element (BGP_NODE, &no_neighbor_timers_cmd);
- install_element (BGP_NODE, &no_neighbor_timers_val_cmd);
/* "neighbor timers connect" commands. */
install_element (BGP_NODE, &neighbor_timers_connect_cmd);
install_element (BGP_NODE, &no_neighbor_timers_connect_cmd);
- install_element (BGP_NODE, &no_neighbor_timers_connect_val_cmd);
/* "neighbor advertisement-interval" commands. */
install_element (BGP_NODE, &neighbor_advertise_interval_cmd);
install_element (BGP_NODE, &no_neighbor_advertise_interval_cmd);
- install_element (BGP_NODE, &no_neighbor_advertise_interval_val_cmd);
/* "neighbor interface" commands. */
install_element (BGP_NODE, &neighbor_interface_cmd);
install_element (BGP_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV4_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_IPV4_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_IPV4_NODE, &neighbor_maximum_prefix_warning_cmd);
install_element (BGP_IPV4_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_IPV4_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_maximum_prefix_warning_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV6_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_IPV6_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_IPV6_NODE, &neighbor_maximum_prefix_warning_cmd);
install_element (BGP_IPV6_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_IPV6_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_maximum_prefix_warning_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_maximum_prefix_warning_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_VPNV4_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_maximum_prefix_warning_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_VPNV6_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_ENCAP_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_ENCAP_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_maximum_prefix_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_maximum_prefix_threshold_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_maximum_prefix_restart_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_maximum_prefix_threshold_restart_cmd);
install_element (BGP_ENCAPV6_NODE, &no_neighbor_maximum_prefix_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_maximum_prefix_val_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_maximum_prefix_threshold_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_maximum_prefix_warning_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_maximum_prefix_threshold_warning_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_maximum_prefix_restart_cmd);
- install_element (BGP_ENCAPV6_NODE, &no_neighbor_maximum_prefix_threshold_restart_cmd);
/* "neighbor allowas-in" */
install_element (BGP_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_NODE, &no_neighbor_allowas_in_cmd);
- install_element (BGP_NODE, &no_neighbor_allowas_in_val_cmd);
install_element (BGP_IPV4_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_IPV4_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_IPV4_NODE, &no_neighbor_allowas_in_cmd);
- install_element (BGP_IPV4_NODE, &no_neighbor_allowas_in_val_cmd);
install_element (BGP_IPV4M_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_IPV4M_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_IPV4M_NODE, &no_neighbor_allowas_in_cmd);
- install_element (BGP_IPV4M_NODE, &no_neighbor_allowas_in_val_cmd);
install_element (BGP_IPV6_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_IPV6_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_IPV6_NODE, &no_neighbor_allowas_in_cmd);
- install_element (BGP_IPV6_NODE, &no_neighbor_allowas_in_val_cmd);
install_element (BGP_IPV6M_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_IPV6M_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_IPV6M_NODE, &no_neighbor_allowas_in_cmd);
- install_element (BGP_IPV6M_NODE, &no_neighbor_allowas_in_val_cmd);
install_element (BGP_VPNV4_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_VPNV4_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_VPNV4_NODE, &no_neighbor_allowas_in_cmd);
- install_element (BGP_VPNV4_NODE, &no_neighbor_allowas_in_val_cmd);
install_element (BGP_VPNV6_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_VPNV6_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_VPNV6_NODE, &no_neighbor_allowas_in_cmd);
- install_element (BGP_VPNV6_NODE, &no_neighbor_allowas_in_val_cmd);
install_element (BGP_ENCAP_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_ENCAP_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_ENCAP_NODE, &no_neighbor_allowas_in_cmd);
install_element (BGP_ENCAPV6_NODE, &neighbor_allowas_in_cmd);
- install_element (BGP_ENCAPV6_NODE, &neighbor_allowas_in_arg_cmd);
install_element (BGP_ENCAPV6_NODE, &no_neighbor_allowas_in_cmd);
/* address-family commands. */
install_element (BGP_NODE, &address_family_ipv6_safi_cmd);
#endif /* HAVE_IPV6 */
install_element (BGP_NODE, &address_family_vpnv4_cmd);
- install_element (BGP_NODE, &address_family_vpnv4_unicast_cmd);
install_element (BGP_NODE, &address_family_vpnv6_cmd);
- install_element (BGP_NODE, &address_family_vpnv6_unicast_cmd);
install_element (BGP_NODE, &address_family_encap_cmd);
- install_element (BGP_NODE, &address_family_encapv4_cmd);
#ifdef HAVE_IPV6
install_element (BGP_NODE, &address_family_encapv6_cmd);
#endif
/* "clear ip bgp commands" */
install_element (ENABLE_NODE, &clear_ip_bgp_all_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_cmd);
-
- install_element (ENABLE_NODE, &clear_bgp_all_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_all_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_all_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_all_cmd);
- install_element (ENABLE_NODE, &clear_bgp_peer_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_cmd);
- install_element (ENABLE_NODE, &clear_bgp_peer_group_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_group_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_group_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_group_cmd);
- install_element (ENABLE_NODE, &clear_bgp_external_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_external_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_external_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_external_cmd);
- install_element (ENABLE_NODE, &clear_bgp_as_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_as_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_as_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_as_cmd);
+
/* "clear ip bgp neighbor soft in" */
install_element (ENABLE_NODE, &clear_ip_bgp_all_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_external_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_ipv4_soft_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_ipv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_ipv4_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_ipv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_ipv4_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_ipv4_soft_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_ipv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_ipv4_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_ipv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_ipv4_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_ipv4_soft_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_ipv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_ipv4_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_ipv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_ipv4_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_ipv4_soft_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_ipv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_external_ipv4_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_ipv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_ipv4_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_ipv4_soft_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_ipv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_ipv4_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_ipv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_ipv4_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_vpnv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_vpnv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_vpnv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_vpnv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_vpnv4_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_vpnv4_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_encap_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_encap_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_encap_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_encap_in_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_encap_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_encap_in_cmd);
install_element (ENABLE_NODE, &clear_bgp_all_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_all_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_all_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_all_in_cmd);
install_element (ENABLE_NODE, &clear_bgp_all_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_peer_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_in_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_group_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_group_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_peer_group_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_group_in_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_group_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_bgp_external_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_external_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_external_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_external_in_cmd);
install_element (ENABLE_NODE, &clear_bgp_external_in_prefix_filter_cmd);
install_element (ENABLE_NODE, &clear_bgp_as_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_as_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_as_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_as_in_cmd);
install_element (ENABLE_NODE, &clear_bgp_as_in_prefix_filter_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_all_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_all_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_all_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_all_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_all_in_prefix_filter_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_in_prefix_filter_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_group_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_group_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_group_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_group_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_group_in_prefix_filter_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_external_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_external_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_external_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_external_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_external_in_prefix_filter_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_as_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_as_soft_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_as_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_as_in_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_as_in_prefix_filter_cmd);
/* clear ip bgp prefix */
install_element (ENABLE_NODE, &clear_ip_bgp_prefix_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_prefix_cmd);
install_element (ENABLE_NODE, &clear_bgp_ipv6_safi_prefix_cmd);
install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_safi_prefix_cmd);
/* "clear ip bgp neighbor soft out" */
install_element (ENABLE_NODE, &clear_ip_bgp_all_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_external_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_ipv4_soft_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_ipv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_ipv4_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_ipv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_ipv4_soft_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_ipv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_ipv4_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_ipv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_ipv4_soft_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_ipv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_ipv4_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_ipv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_ipv4_soft_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_ipv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_external_ipv4_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_ipv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_ipv4_soft_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_ipv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_ipv4_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_ipv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_vpnv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_vpnv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_vpnv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_vpnv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_vpnv4_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_vpnv4_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_encap_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_all_encap_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_encap_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_peer_encap_out_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_encap_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_as_encap_out_cmd);
install_element (ENABLE_NODE, &clear_bgp_all_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_all_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_all_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_all_out_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_peer_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_out_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_group_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_group_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_peer_group_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_group_out_cmd);
install_element (ENABLE_NODE, &clear_bgp_external_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_external_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_external_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_external_out_cmd);
install_element (ENABLE_NODE, &clear_bgp_as_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_as_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_as_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_as_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_all_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_all_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_all_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_all_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_group_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_group_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_group_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_group_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_external_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_external_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_external_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_external_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_as_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_as_soft_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_as_out_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_as_out_cmd);
/* "clear ip bgp neighbor soft" */
install_element (ENABLE_NODE, &clear_ip_bgp_all_soft_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_soft_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_group_soft_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_peer_group_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_external_soft_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_external_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_soft_cmd);
- install_element (ENABLE_NODE, &clear_ip_bgp_instance_as_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_all_ipv4_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_instance_all_ipv4_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_ipv4_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_peer_encap_soft_cmd);
install_element (ENABLE_NODE, &clear_ip_bgp_as_encap_soft_cmd);
install_element (ENABLE_NODE, &clear_bgp_all_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_all_soft_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_soft_cmd);
install_element (ENABLE_NODE, &clear_bgp_peer_group_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_peer_group_soft_cmd);
install_element (ENABLE_NODE, &clear_bgp_external_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_external_soft_cmd);
install_element (ENABLE_NODE, &clear_bgp_as_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_as_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_all_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_all_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_peer_group_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_peer_group_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_external_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_external_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_ipv6_as_soft_cmd);
- install_element (ENABLE_NODE, &clear_bgp_instance_ipv6_as_soft_cmd);
/* "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_instance_all_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_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_instance_all_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_instance_all_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_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_instance_all_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_instance_all_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_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_instance_all_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_all_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_all_neighbors_cmd);
install_element (ENABLE_NODE, &show_ip_bgp_instance_neighbors_peer_cmd);
#ifdef HAVE_IPV6
- install_element (VIEW_NODE, &show_bgp_neighbors_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_neighbors_cmd);
- install_element (VIEW_NODE, &show_bgp_neighbors_peer_cmd);
- install_element (VIEW_NODE, &show_bgp_ipv6_neighbors_peer_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_neighbors_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbors_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_neighbors_peer_cmd);
- install_element (VIEW_NODE, &show_bgp_instance_ipv6_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_ipv6_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_neighbors_peer_cmd);
- install_element (RESTRICTED_NODE, &show_bgp_instance_ipv6_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_bgp_neighbors_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_neighbors_cmd);
- install_element (ENABLE_NODE, &show_bgp_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_neighbors_peer_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_neighbors_cmd);
- install_element (ENABLE_NODE, &show_bgp_instance_ipv6_neighbors_cmd);
- 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 (BGP_NODE, &bgp_redistribute_ipv4_cmd);
install_element (BGP_NODE, &no_bgp_redistribute_ipv4_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_rmap_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_rmap_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_metric_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_metric_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_rmap_metric_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_metric_rmap_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_rmap_metric_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_metric_rmap_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_ospf_cmd);
install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_ospf_rmap_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_ospf_metric_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_metric_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_ospf_rmap_metric_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_metric_cmd);
install_element (BGP_NODE, &bgp_redistribute_ipv4_ospf_metric_rmap_cmd);
- install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_metric_rmap_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_cmd);
install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_rmap_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_rmap_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_metric_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_metric_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_rmap_metric_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_metric_rmap_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_rmap_metric_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_metric_rmap_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_cmd);
install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_rmap_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_metric_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_metric_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_rmap_metric_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_metric_cmd);
install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_metric_rmap_cmd);
- install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_metric_rmap_cmd);
#ifdef HAVE_IPV6
install_element (BGP_IPV6_NODE, &bgp_redistribute_ipv6_cmd);
install_element (BGP_IPV6_NODE, &no_bgp_redistribute_ipv6_cmd);
install_element (BGP_IPV6_NODE, &bgp_redistribute_ipv6_rmap_cmd);
- install_element (BGP_IPV6_NODE, &no_bgp_redistribute_ipv6_rmap_cmd);
install_element (BGP_IPV6_NODE, &bgp_redistribute_ipv6_metric_cmd);
- install_element (BGP_IPV6_NODE, &no_bgp_redistribute_ipv6_metric_cmd);
install_element (BGP_IPV6_NODE, &bgp_redistribute_ipv6_rmap_metric_cmd);
install_element (BGP_IPV6_NODE, &bgp_redistribute_ipv6_metric_rmap_cmd);
- install_element (BGP_IPV6_NODE, &no_bgp_redistribute_ipv6_rmap_metric_cmd);
- install_element (BGP_IPV6_NODE, &no_bgp_redistribute_ipv6_metric_rmap_cmd);
#endif /* HAVE_IPV6 */
/* ttl_security commands */
/* "community-list" keyword help string. */
#define COMMUNITY_LIST_STR "Add a community list entry\n"
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip community-list <1-99> (deny|permit)",
+ * IP_STR
+ * COMMUNITY_LIST_STR
+ * "Community list number (standard)\n"
+ * "Specify community to reject\n"
+ * "Specify community to accept\n"
+ *
+ */
DEFUN (ip_community_list_standard,
ip_community_list_standard_cmd,
"ip community-list <1-99> (deny|permit) .AA:NN",
return community_list_set_vty (vty, argc, argv, COMMUNITY_LIST_STANDARD, 0);
}
-ALIAS (ip_community_list_standard,
- ip_community_list_standard2_cmd,
- "ip community-list <1-99> (deny|permit)",
- IP_STR
- COMMUNITY_LIST_STR
- "Community list number (standard)\n"
- "Specify community to reject\n"
- "Specify community to accept\n")
DEFUN (ip_community_list_expanded,
ip_community_list_expanded_cmd,
return community_list_set_vty (vty, argc, argv, COMMUNITY_LIST_EXPANDED, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip community-list standard WORD (deny|permit)",
+ * IP_STR
+ * COMMUNITY_LIST_STR
+ * "Add a standard community-list entry\n"
+ * "Community list name\n"
+ * "Specify community to reject\n"
+ * "Specify community to accept\n"
+ *
+ */
DEFUN (ip_community_list_name_standard,
ip_community_list_name_standard_cmd,
"ip community-list standard WORD (deny|permit) .AA:NN",
return community_list_set_vty (vty, argc, argv, COMMUNITY_LIST_STANDARD, 1);
}
-ALIAS (ip_community_list_name_standard,
- ip_community_list_name_standard2_cmd,
- "ip community-list standard WORD (deny|permit)",
- IP_STR
- COMMUNITY_LIST_STR
- "Add a standard community-list entry\n"
- "Community list name\n"
- "Specify community to reject\n"
- "Specify community to accept\n")
DEFUN (ip_community_list_name_expanded,
ip_community_list_name_expanded_cmd,
#define EXTCOMMUNITY_LIST_STR "Add a extended community list entry\n"
#define EXTCOMMUNITY_VAL_STR "Extended community attribute in 'rt aa:nn_or_IPaddr:nn' OR 'soo aa:nn_or_IPaddr:nn' format\n"
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip extcommunity-list <1-99> (deny|permit)",
+ * IP_STR
+ * EXTCOMMUNITY_LIST_STR
+ * "Extended Community list number (standard)\n"
+ * "Specify community to reject\n"
+ * "Specify community to accept\n"
+ *
+ */
DEFUN (ip_extcommunity_list_standard,
ip_extcommunity_list_standard_cmd,
"ip extcommunity-list <1-99> (deny|permit) .AA:NN",
return extcommunity_list_set_vty (vty, argc, argv, EXTCOMMUNITY_LIST_STANDARD, 0);
}
-ALIAS (ip_extcommunity_list_standard,
- ip_extcommunity_list_standard2_cmd,
- "ip extcommunity-list <1-99> (deny|permit)",
- IP_STR
- EXTCOMMUNITY_LIST_STR
- "Extended Community list number (standard)\n"
- "Specify community to reject\n"
- "Specify community to accept\n")
DEFUN (ip_extcommunity_list_expanded,
ip_extcommunity_list_expanded_cmd,
return extcommunity_list_set_vty (vty, argc, argv, EXTCOMMUNITY_LIST_EXPANDED, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip extcommunity-list standard WORD (deny|permit)",
+ * IP_STR
+ * EXTCOMMUNITY_LIST_STR
+ * "Specify standard extcommunity-list\n"
+ * "Extended Community list name\n"
+ * "Specify community to reject\n"
+ * "Specify community to accept\n"
+ *
+ */
DEFUN (ip_extcommunity_list_name_standard,
ip_extcommunity_list_name_standard_cmd,
"ip extcommunity-list standard WORD (deny|permit) .AA:NN",
return extcommunity_list_set_vty (vty, argc, argv, EXTCOMMUNITY_LIST_STANDARD, 1);
}
-ALIAS (ip_extcommunity_list_name_standard,
- ip_extcommunity_list_name_standard2_cmd,
- "ip extcommunity-list standard WORD (deny|permit)",
- IP_STR
- EXTCOMMUNITY_LIST_STR
- "Specify standard extcommunity-list\n"
- "Extended Community list name\n"
- "Specify community to reject\n"
- "Specify community to accept\n")
DEFUN (ip_extcommunity_list_name_expanded,
ip_extcommunity_list_name_expanded_cmd,
/* Community-list. */
install_element (CONFIG_NODE, &ip_community_list_standard_cmd);
- install_element (CONFIG_NODE, &ip_community_list_standard2_cmd);
install_element (CONFIG_NODE, &ip_community_list_expanded_cmd);
install_element (CONFIG_NODE, &ip_community_list_name_standard_cmd);
- install_element (CONFIG_NODE, &ip_community_list_name_standard2_cmd);
install_element (CONFIG_NODE, &ip_community_list_name_expanded_cmd);
install_element (CONFIG_NODE, &no_ip_community_list_standard_all_cmd);
install_element (CONFIG_NODE, &no_ip_community_list_standard_direction_cmd);
/* Extcommunity-list. */
install_element (CONFIG_NODE, &ip_extcommunity_list_standard_cmd);
- install_element (CONFIG_NODE, &ip_extcommunity_list_standard2_cmd);
install_element (CONFIG_NODE, &ip_extcommunity_list_expanded_cmd);
install_element (CONFIG_NODE, &ip_extcommunity_list_name_standard_cmd);
- install_element (CONFIG_NODE, &ip_extcommunity_list_name_standard2_cmd);
install_element (CONFIG_NODE, &ip_extcommunity_list_name_expanded_cmd);
install_element (CONFIG_NODE, &no_ip_extcommunity_list_standard_all_cmd);
install_element (CONFIG_NODE, &no_ip_extcommunity_list_standard_direction_cmd);
return isis_route_match_add(vty, vty->index, "ip address", argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ *
+ */
DEFUN (no_match_ip_address,
no_match_ip_address_val_cmd,
"no match ip address (<1-199>|<1300-2699>|WORD)",
return isis_route_match_delete(vty, vty->index, "ip address", argv[4]->arg);
}
-ALIAS (no_match_ip_address,
- no_match_ip_address_cmd,
- "no match ip address",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n")
/* ------------------------------------------------------------*/
return isis_route_match_add(vty, vty->index, "ip address prefix-list", argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_address_prefix_list,
no_match_ip_address_prefix_list_cmd,
"no match ip address prefix-list",
return isis_route_match_delete (vty, vty->index, "ip address prefix-list", argv[0]);
}
-ALIAS (no_match_ip_address_prefix_list,
- no_match_ip_address_prefix_list_val_cmd,
- "no match ip address prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
/* ------------------------------------------------------------*/
return isis_route_match_add(vty, vty->index, "ipv6 address", argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ipv6 address",
+ * NO_STR
+ * MATCH_STR
+ * IPV6_STR
+ * "Match IPv6 address of route\n"
+ *
+ */
DEFUN (no_match_ipv6_address,
no_match_ipv6_address_val_cmd,
"no match ipv6 address WORD",
return isis_route_match_delete(vty, vty->index, "ipv6 address", argv[4]->arg);
}
-ALIAS (no_match_ipv6_address,
- no_match_ipv6_address_cmd,
- "no match ipv6 address",
- NO_STR
- MATCH_STR
- IPV6_STR
- "Match IPv6 address of route\n")
/* ------------------------------------------------------------*/
return isis_route_match_add(vty, vty->index, "ipv6 address prefix-list", argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ipv6 address prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IPV6_STR
+ * "Match address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ipv6_address_prefix_list,
no_match_ipv6_address_prefix_list_cmd,
"no match ipv6 address prefix-list",
return isis_route_match_delete (vty, vty->index, "ipv6 address prefix-list", argv[0]);
}
-ALIAS (no_match_ipv6_address_prefix_list,
- no_match_ipv6_address_prefix_list_val_cmd,
- "no match ipv6 address prefix-list WORD",
- NO_STR
- MATCH_STR
- IPV6_STR
- "Match address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
/* ------------------------------------------------------------*/
* commands at the same node, therefore add set metric with the same 32-bit range as ospf and
* verify that the input is a valid isis metric */
DEFUN (set_metric,
- set_metric_cmd,
+ set_metric_cmd,
"set metric <0-4294967295>",
SET_STR
"Metric vale for destination routing protocol\n"
return isis_route_set_add(vty, vty->index, "metric", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set metric",
+ * NO_STR
+ * SET_STR
+ * "Metric vale for destination routing protocol\n");
+ *
+ * void
+ * isis_route_map_init(void
+ *
+ */
DEFUN (no_set_metric,
- no_set_metric_val_cmd,
+ no_set_metric_val_cmd,
"no set metric <0-4294967295>",
NO_STR
SET_STR
return isis_route_set_delete(vty, vty->index, "metric", argv[3]->arg);
}
-ALIAS (no_set_metric,
- no_set_metric_cmd,
- "no set metric",
- NO_STR
- SET_STR
- "Metric vale for destination routing protocol\n");
-
-void
-isis_route_map_init(void)
{
route_map_init();
route_map_init_vty();
route_map_install_match(&route_match_ip_address_cmd);
install_element(RMAP_NODE, &match_ip_address_cmd);
install_element(RMAP_NODE, &no_match_ip_address_val_cmd);
- install_element(RMAP_NODE, &no_match_ip_address_cmd);
route_map_install_match(&route_match_ip_address_prefix_list_cmd);
install_element(RMAP_NODE, &match_ip_address_prefix_list_cmd);
- install_element(RMAP_NODE, &no_match_ip_address_prefix_list_val_cmd);
install_element(RMAP_NODE, &no_match_ip_address_prefix_list_cmd);
route_map_install_match(&route_match_ipv6_address_cmd);
install_element(RMAP_NODE, &match_ipv6_address_cmd);
install_element(RMAP_NODE, &no_match_ipv6_address_val_cmd);
- install_element(RMAP_NODE, &no_match_ipv6_address_cmd);
route_map_install_match(&route_match_ipv6_address_prefix_list_cmd);
install_element(RMAP_NODE, &match_ipv6_address_prefix_list_cmd);
- install_element(RMAP_NODE, &no_match_ipv6_address_prefix_list_val_cmd);
install_element(RMAP_NODE, &no_match_ipv6_address_prefix_list_cmd);
route_map_install_set(&route_set_metric_cmd);
install_element(RMAP_NODE, &set_metric_cmd);
install_element(RMAP_NODE, &no_set_metric_val_cmd);
- install_element(RMAP_NODE, &no_set_metric_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis password (md5|clear) WORD",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Configure the authentication password for a circuit\n"
+ * "HMAC-MD5 authentication\n"
+ * "Cleartext password\n"
+ * "Circuit password\n"
+ *
+ */
DEFUN (no_isis_passwd,
no_isis_passwd_cmd,
"no isis password",
return CMD_SUCCESS;
}
-ALIAS (no_isis_passwd,
- no_isis_passwd_arg_cmd,
- "no isis password (md5|clear) WORD",
- NO_STR
- "IS-IS commands\n"
- "Configure the authentication password for a circuit\n"
- "HMAC-MD5 authentication\n"
- "Cleartext password\n"
- "Circuit password\n")
DEFUN (isis_priority,
isis_priority_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis priority <0-127>",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set priority for Designated Router election\n"
+ * "Priority value\n"
+ *
+ */
DEFUN (no_isis_priority,
no_isis_priority_cmd,
"no isis priority",
return CMD_SUCCESS;
}
-ALIAS (no_isis_priority,
- no_isis_priority_arg_cmd,
- "no isis priority <0-127>",
- NO_STR
- "IS-IS commands\n"
- "Set priority for Designated Router election\n"
- "Priority value\n")
DEFUN (isis_priority_l1,
isis_priority_l1_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis priority <0-127> level-1",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set priority for Designated Router election\n"
+ * "Priority value\n"
+ * "Specify priority for level-1 routing\n"
+ *
+ */
DEFUN (no_isis_priority_l1,
no_isis_priority_l1_cmd,
"no isis priority level-1",
return CMD_SUCCESS;
}
-ALIAS (no_isis_priority_l1,
- no_isis_priority_l1_arg_cmd,
- "no isis priority <0-127> level-1",
- NO_STR
- "IS-IS commands\n"
- "Set priority for Designated Router election\n"
- "Priority value\n"
- "Specify priority for level-1 routing\n")
DEFUN (isis_priority_l2,
isis_priority_l2_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis priority <0-127> level-2",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set priority for Designated Router election\n"
+ * "Priority value\n"
+ * "Specify priority for level-2 routing\n"
+ *
+ */
DEFUN (no_isis_priority_l2,
no_isis_priority_l2_cmd,
"no isis priority level-2",
return CMD_SUCCESS;
}
-ALIAS (no_isis_priority_l2,
- no_isis_priority_l2_arg_cmd,
- "no isis priority <0-127> level-2",
- NO_STR
- "IS-IS commands\n"
- "Set priority for Designated Router election\n"
- "Priority value\n"
- "Specify priority for level-2 routing\n")
/* Metric command */
DEFUN (isis_metric,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis metric <0-16777215>",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set default metric for circuit\n"
+ * "Default metric value\n"
+ *
+ */
DEFUN (no_isis_metric,
no_isis_metric_cmd,
"no isis metric",
return CMD_SUCCESS;
}
-ALIAS (no_isis_metric,
- no_isis_metric_arg_cmd,
- "no isis metric <0-16777215>",
- NO_STR
- "IS-IS commands\n"
- "Set default metric for circuit\n"
- "Default metric value\n")
DEFUN (isis_metric_l1,
isis_metric_l1_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis metric <0-16777215> level-1",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set default metric for circuit\n"
+ * "Default metric value\n"
+ * "Specify metric for level-1 routing\n"
+ *
+ */
DEFUN (no_isis_metric_l1,
no_isis_metric_l1_cmd,
"no isis metric level-1",
return CMD_SUCCESS;
}
-ALIAS (no_isis_metric_l1,
- no_isis_metric_l1_arg_cmd,
- "no isis metric <0-16777215> level-1",
- NO_STR
- "IS-IS commands\n"
- "Set default metric for circuit\n"
- "Default metric value\n"
- "Specify metric for level-1 routing\n")
DEFUN (isis_metric_l2,
isis_metric_l2_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis metric <0-16777215> level-2",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set default metric for circuit\n"
+ * "Default metric value\n"
+ * "Specify metric for level-2 routing\n"
+ *
+ */
DEFUN (no_isis_metric_l2,
no_isis_metric_l2_cmd,
"no isis metric level-2",
return CMD_SUCCESS;
}
-ALIAS (no_isis_metric_l2,
- no_isis_metric_l2_arg_cmd,
- "no isis metric <0-16777215> level-2",
- NO_STR
- "IS-IS commands\n"
- "Set default metric for circuit\n"
- "Default metric value\n"
- "Specify metric for level-2 routing\n")
/* end of metrics */
DEFUN (isis_hello_interval,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis hello-interval <1-600>",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set Hello interval\n"
+ * "Hello interval value\n"
+ * "Holdtime 1 second, interval depends on multiplier\n"
+ *
+ */
DEFUN (no_isis_hello_interval,
no_isis_hello_interval_cmd,
"no isis hello-interval",
return CMD_SUCCESS;
}
-ALIAS (no_isis_hello_interval,
- no_isis_hello_interval_arg_cmd,
- "no isis hello-interval <1-600>",
- NO_STR
- "IS-IS commands\n"
- "Set Hello interval\n"
- "Hello interval value\n"
- "Holdtime 1 second, interval depends on multiplier\n")
DEFUN (isis_hello_interval_l1,
isis_hello_interval_l1_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis hello-interval <1-600> level-1",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set Hello interval\n"
+ * "Hello interval value\n"
+ * "Holdtime 1 second, interval depends on multiplier\n"
+ * "Specify hello-interval for level-1 IIHs\n"
+ *
+ */
DEFUN (no_isis_hello_interval_l1,
no_isis_hello_interval_l1_cmd,
"no isis hello-interval level-1",
return CMD_SUCCESS;
}
-ALIAS (no_isis_hello_interval_l1,
- no_isis_hello_interval_l1_arg_cmd,
- "no isis hello-interval <1-600> level-1",
- NO_STR
- "IS-IS commands\n"
- "Set Hello interval\n"
- "Hello interval value\n"
- "Holdtime 1 second, interval depends on multiplier\n"
- "Specify hello-interval for level-1 IIHs\n")
DEFUN (isis_hello_interval_l2,
isis_hello_interval_l2_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis hello-interval <1-600> level-2",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set Hello interval\n"
+ * "Hello interval value\n"
+ * "Holdtime 1 second, interval depends on multiplier\n"
+ * "Specify hello-interval for level-2 IIHs\n"
+ *
+ */
DEFUN (no_isis_hello_interval_l2,
no_isis_hello_interval_l2_cmd,
"no isis hello-interval level-2",
return CMD_SUCCESS;
}
-ALIAS (no_isis_hello_interval_l2,
- no_isis_hello_interval_l2_arg_cmd,
- "no isis hello-interval <1-600> level-2",
- NO_STR
- "IS-IS commands\n"
- "Set Hello interval\n"
- "Hello interval value\n"
- "Holdtime 1 second, interval depends on multiplier\n"
- "Specify hello-interval for level-2 IIHs\n")
DEFUN (isis_hello_multiplier,
isis_hello_multiplier_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis hello-multiplier <2-100>",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set multiplier for Hello holding time\n"
+ * "Hello multiplier value\n"
+ *
+ */
DEFUN (no_isis_hello_multiplier,
no_isis_hello_multiplier_cmd,
"no isis hello-multiplier",
return CMD_SUCCESS;
}
-ALIAS (no_isis_hello_multiplier,
- no_isis_hello_multiplier_arg_cmd,
- "no isis hello-multiplier <2-100>",
- NO_STR
- "IS-IS commands\n"
- "Set multiplier for Hello holding time\n"
- "Hello multiplier value\n")
DEFUN (isis_hello_multiplier_l1,
isis_hello_multiplier_l1_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis hello-multiplier <2-100> level-1",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set multiplier for Hello holding time\n"
+ * "Hello multiplier value\n"
+ * "Specify hello multiplier for level-1 IIHs\n"
+ *
+ */
DEFUN (no_isis_hello_multiplier_l1,
no_isis_hello_multiplier_l1_cmd,
"no isis hello-multiplier level-1",
return CMD_SUCCESS;
}
-ALIAS (no_isis_hello_multiplier_l1,
- no_isis_hello_multiplier_l1_arg_cmd,
- "no isis hello-multiplier <2-100> level-1",
- NO_STR
- "IS-IS commands\n"
- "Set multiplier for Hello holding time\n"
- "Hello multiplier value\n"
- "Specify hello multiplier for level-1 IIHs\n")
DEFUN (isis_hello_multiplier_l2,
isis_hello_multiplier_l2_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis hello-multiplier <2-100> level-2",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set multiplier for Hello holding time\n"
+ * "Hello multiplier value\n"
+ * "Specify hello multiplier for level-2 IIHs\n"
+ *
+ */
DEFUN (no_isis_hello_multiplier_l2,
no_isis_hello_multiplier_l2_cmd,
"no isis hello-multiplier level-2",
return CMD_SUCCESS;
}
-ALIAS (no_isis_hello_multiplier_l2,
- no_isis_hello_multiplier_l2_arg_cmd,
- "no isis hello-multiplier <2-100> level-2",
- NO_STR
- "IS-IS commands\n"
- "Set multiplier for Hello holding time\n"
- "Hello multiplier value\n"
- "Specify hello multiplier for level-2 IIHs\n")
DEFUN (isis_hello_padding,
isis_hello_padding_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis csnp-interval <1-600>",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set CSNP interval in seconds\n"
+ * "CSNP interval value\n"
+ *
+ */
DEFUN (no_csnp_interval,
no_csnp_interval_cmd,
"no isis csnp-interval",
return CMD_SUCCESS;
}
-ALIAS (no_csnp_interval,
- no_csnp_interval_arg_cmd,
- "no isis csnp-interval <1-600>",
- NO_STR
- "IS-IS commands\n"
- "Set CSNP interval in seconds\n"
- "CSNP interval value\n")
DEFUN (csnp_interval_l1,
csnp_interval_l1_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis csnp-interval <1-600> level-1",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set CSNP interval in seconds\n"
+ * "CSNP interval value\n"
+ * "Specify interval for level-1 CSNPs\n"
+ *
+ */
DEFUN (no_csnp_interval_l1,
no_csnp_interval_l1_cmd,
"no isis csnp-interval level-1",
return CMD_SUCCESS;
}
-ALIAS (no_csnp_interval_l1,
- no_csnp_interval_l1_arg_cmd,
- "no isis csnp-interval <1-600> level-1",
- NO_STR
- "IS-IS commands\n"
- "Set CSNP interval in seconds\n"
- "CSNP interval value\n"
- "Specify interval for level-1 CSNPs\n")
DEFUN (csnp_interval_l2,
csnp_interval_l2_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis csnp-interval <1-600> level-2",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set CSNP interval in seconds\n"
+ * "CSNP interval value\n"
+ * "Specify interval for level-2 CSNPs\n"
+ *
+ */
DEFUN (no_csnp_interval_l2,
no_csnp_interval_l2_cmd,
"no isis csnp-interval level-2",
return CMD_SUCCESS;
}
-ALIAS (no_csnp_interval_l2,
- no_csnp_interval_l2_arg_cmd,
- "no isis csnp-interval <1-600> level-2",
- NO_STR
- "IS-IS commands\n"
- "Set CSNP interval in seconds\n"
- "CSNP interval value\n"
- "Specify interval for level-2 CSNPs\n")
DEFUN (psnp_interval,
psnp_interval_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis psnp-interval <1-120>",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set PSNP interval in seconds\n"
+ * "PSNP interval value\n"
+ *
+ */
DEFUN (no_psnp_interval,
no_psnp_interval_cmd,
"no isis psnp-interval",
return CMD_SUCCESS;
}
-ALIAS (no_psnp_interval,
- no_psnp_interval_arg_cmd,
- "no isis psnp-interval <1-120>",
- NO_STR
- "IS-IS commands\n"
- "Set PSNP interval in seconds\n"
- "PSNP interval value\n")
DEFUN (psnp_interval_l1,
psnp_interval_l1_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis psnp-interval <1-120> level-1",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set PSNP interval in seconds\n"
+ * "PSNP interval value\n"
+ * "Specify interval for level-1 PSNPs\n"
+ *
+ */
DEFUN (no_psnp_interval_l1,
no_psnp_interval_l1_cmd,
"no isis psnp-interval level-1",
return CMD_SUCCESS;
}
-ALIAS (no_psnp_interval_l1,
- no_psnp_interval_l1_arg_cmd,
- "no isis psnp-interval <1-120> level-1",
- NO_STR
- "IS-IS commands\n"
- "Set PSNP interval in seconds\n"
- "PSNP interval value\n"
- "Specify interval for level-1 PSNPs\n")
DEFUN (psnp_interval_l2,
psnp_interval_l2_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no isis psnp-interval <1-120> level-2",
+ * NO_STR
+ * "IS-IS commands\n"
+ * "Set PSNP interval in seconds\n"
+ * "PSNP interval value\n"
+ * "Specify interval for level-2 PSNPs\n"
+ *
+ */
DEFUN (no_psnp_interval_l2,
no_psnp_interval_l2_cmd,
"no isis psnp-interval level-2",
return CMD_SUCCESS;
}
-ALIAS (no_psnp_interval_l2,
- no_psnp_interval_l2_arg_cmd,
- "no isis psnp-interval <1-120> level-2",
- NO_STR
- "IS-IS commands\n"
- "Set PSNP interval in seconds\n"
- "PSNP interval value\n"
- "Specify interval for level-2 PSNPs\n")
static int
validate_metric_style_narrow (struct vty *vty, struct isis_area *area)
return area_lsp_mtu_set(vty, lsp_mtu);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no lsp-mtu <128-4352>",
+ * NO_STR
+ * "Configure the maximum size of generated LSPs\n"
+ * "Maximum size of generated LSPs\n"
+ *
+ */
DEFUN (no_area_lsp_mtu,
no_area_lsp_mtu_cmd,
"no lsp-mtu",
return area_lsp_mtu_set(vty, DEFAULT_LSP_MTU);
}
-ALIAS (no_area_lsp_mtu,
- no_area_lsp_mtu_arg_cmd,
- "no lsp-mtu <128-4352>",
- NO_STR
- "Configure the maximum size of generated LSPs\n"
- "Maximum size of generated LSPs\n");
DEFUN (is_type,
is_type_cmd,
return set_lsp_gen_interval (vty, area, interval, level);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no lsp-gen-interval <1-120>",
+ * NO_STR
+ * "Minimum interval between regenerating same LSP\n"
+ * "Minimum interval in seconds\n"
+ *
+ */
DEFUN (no_lsp_gen_interval,
no_lsp_gen_interval_cmd,
"no lsp-gen-interval",
return set_lsp_gen_interval (vty, area, interval, level);
}
-ALIAS (no_lsp_gen_interval,
- no_lsp_gen_interval_arg_cmd,
- "no lsp-gen-interval <1-120>",
- NO_STR
- "Minimum interval between regenerating same LSP\n"
- "Minimum interval in seconds\n")
DEFUN (lsp_gen_interval_l1,
lsp_gen_interval_l1_cmd,
return set_lsp_gen_interval (vty, area, interval, level);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no lsp-gen-interval level-1 <1-120>",
+ * NO_STR
+ * "Minimum interval between regenerating same LSP\n"
+ * "Set interval for level 1 only\n"
+ * "Minimum interval in seconds\n"
+ *
+ */
DEFUN (no_lsp_gen_interval_l1,
no_lsp_gen_interval_l1_cmd,
"no lsp-gen-interval level-1",
return set_lsp_gen_interval (vty, area, interval, level);
}
-ALIAS (no_lsp_gen_interval_l1,
- no_lsp_gen_interval_l1_arg_cmd,
- "no lsp-gen-interval level-1 <1-120>",
- NO_STR
- "Minimum interval between regenerating same LSP\n"
- "Set interval for level 1 only\n"
- "Minimum interval in seconds\n")
DEFUN (lsp_gen_interval_l2,
lsp_gen_interval_l2_cmd,
return set_lsp_gen_interval (vty, area, interval, level);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no lsp-gen-interval level-2 <1-120>",
+ * NO_STR
+ * "Minimum interval between regenerating same LSP\n"
+ * "Set interval for level 2 only\n"
+ * "Minimum interval in seconds\n"
+ *
+ */
DEFUN (no_lsp_gen_interval_l2,
no_lsp_gen_interval_l2_cmd,
"no lsp-gen-interval level-2",
return set_lsp_gen_interval (vty, area, interval, level);
}
-ALIAS (no_lsp_gen_interval_l2,
- no_lsp_gen_interval_l2_arg_cmd,
- "no lsp-gen-interval level-2 <1-120>",
- NO_STR
- "Minimum interval between regenerating same LSP\n"
- "Set interval for level 2 only\n"
- "Minimum interval in seconds\n")
DEFUN (spf_interval,
spf_interval_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no spf-interval level-2 <1-120>",
+ * NO_STR
+ * "Minimum interval between SPF calculations\n"
+ * "Set interval for level 2 only\n"
+ * "Minimum interval between consecutive SPFs in seconds\n"
+ *
+ * "no spf-interval <1-120>",
+ * NO_STR
+ * "Minimum interval between SPF calculations\n"
+ * "Minimum interval between consecutive SPFs in seconds\n"
+ *
+ * "no spf-interval level-1 <1-120>",
+ * NO_STR
+ * "Minimum interval between SPF calculations\n"
+ * "Set interval for level 1 only\n"
+ * "Minimum interval between consecutive SPFs in seconds\n"
+ *
+ */
DEFUN (no_spf_interval,
no_spf_interval_cmd,
"no spf-interval",
return CMD_SUCCESS;
}
-ALIAS (no_spf_interval,
- no_spf_interval_arg_cmd,
- "no spf-interval <1-120>",
- NO_STR
- "Minimum interval between SPF calculations\n"
- "Minimum interval between consecutive SPFs in seconds\n")
DEFUN (spf_interval_l1,
spf_interval_l1_cmd,
return CMD_SUCCESS;
}
-ALIAS (no_spf_interval,
- no_spf_interval_l1_arg_cmd,
- "no spf-interval level-1 <1-120>",
- NO_STR
- "Minimum interval between SPF calculations\n"
- "Set interval for level 1 only\n"
- "Minimum interval between consecutive SPFs in seconds\n")
DEFUN (spf_interval_l2,
spf_interval_l2_cmd,
return CMD_SUCCESS;
}
-ALIAS (no_spf_interval,
- no_spf_interval_l2_arg_cmd,
- "no spf-interval level-2 <1-120>",
- NO_STR
- "Minimum interval between SPF calculations\n"
- "Set interval for level 2 only\n"
- "Minimum interval between consecutive SPFs in seconds\n")
static int
area_max_lsp_lifetime_set(struct vty *vty, int level,
return area_max_lsp_lifetime_set(vty, IS_LEVEL_1_AND_2, atoi(argv[1]->arg));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no max-lsp-lifetime <350-65535>",
+ * NO_STR
+ * "Maximum LSP lifetime\n"
+ * "LSP lifetime in seconds\n"
+ *
+ */
DEFUN (no_max_lsp_lifetime,
no_max_lsp_lifetime_cmd,
"no max-lsp-lifetime",
DEFAULT_LSP_LIFETIME);
}
-ALIAS (no_max_lsp_lifetime,
- no_max_lsp_lifetime_arg_cmd,
- "no max-lsp-lifetime <350-65535>",
- NO_STR
- "Maximum LSP lifetime\n"
- "LSP lifetime in seconds\n")
DEFUN (max_lsp_lifetime_l1,
max_lsp_lifetime_l1_cmd,
return area_max_lsp_lifetime_set(vty, IS_LEVEL_1, atoi(argv[2]->arg));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no max-lsp-lifetime level-1 <350-65535>",
+ * NO_STR
+ * "Maximum LSP lifetime for Level 1 only\n"
+ * "LSP lifetime for Level 1 only in seconds\n"
+ *
+ */
DEFUN (no_max_lsp_lifetime_l1,
no_max_lsp_lifetime_l1_cmd,
"no max-lsp-lifetime level-1",
return area_max_lsp_lifetime_set(vty, IS_LEVEL_1, DEFAULT_LSP_LIFETIME);
}
-ALIAS (no_max_lsp_lifetime_l1,
- no_max_lsp_lifetime_l1_arg_cmd,
- "no max-lsp-lifetime level-1 <350-65535>",
- NO_STR
- "Maximum LSP lifetime for Level 1 only\n"
- "LSP lifetime for Level 1 only in seconds\n")
DEFUN (max_lsp_lifetime_l2,
max_lsp_lifetime_l2_cmd,
return area_max_lsp_lifetime_set(vty, IS_LEVEL_2, atoi(argv[2]->arg));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no max-lsp-lifetime level-2 <350-65535>",
+ * NO_STR
+ * "Maximum LSP lifetime for Level 2 only\n"
+ * "LSP lifetime for Level 2 only in seconds\n"
+ *
+ */
DEFUN (no_max_lsp_lifetime_l2,
no_max_lsp_lifetime_l2_cmd,
"no max-lsp-lifetime level-2",
return area_max_lsp_lifetime_set(vty, IS_LEVEL_2, DEFAULT_LSP_LIFETIME);
}
-ALIAS (no_max_lsp_lifetime_l2,
- no_max_lsp_lifetime_l2_arg_cmd,
- "no max-lsp-lifetime level-2 <350-65535>",
- NO_STR
- "Maximum LSP lifetime for Level 2 only\n"
- "LSP lifetime for Level 2 only in seconds\n")
static int
area_lsp_refresh_interval_set(struct vty *vty, int level, uint16_t interval)
return area_lsp_refresh_interval_set(vty, IS_LEVEL_1_AND_2, atoi(argv[1]->arg));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no lsp-refresh-interval <1-65235>",
+ * NO_STR
+ * "LSP refresh interval\n"
+ * "LSP refresh interval in seconds\n"
+ *
+ */
DEFUN (no_lsp_refresh_interval,
no_lsp_refresh_interval_cmd,
"no lsp-refresh-interval",
DEFAULT_MAX_LSP_GEN_INTERVAL);
}
-ALIAS (no_lsp_refresh_interval,
- no_lsp_refresh_interval_arg_cmd,
- "no lsp-refresh-interval <1-65235>",
- NO_STR
- "LSP refresh interval\n"
- "LSP refresh interval in seconds\n")
DEFUN (lsp_refresh_interval_l1,
lsp_refresh_interval_l1_cmd,
return area_lsp_refresh_interval_set(vty, IS_LEVEL_1, atoi(argv[2]->arg));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no lsp-refresh-interval level-1 <1-65235>",
+ * NO_STR
+ * "LSP refresh interval for Level 1 only\n"
+ * "LSP refresh interval for Level 1 only in seconds\n"
+ *
+ */
DEFUN (no_lsp_refresh_interval_l1,
no_lsp_refresh_interval_l1_cmd,
"no lsp-refresh-interval level-1",
DEFAULT_MAX_LSP_GEN_INTERVAL);
}
-ALIAS (no_lsp_refresh_interval_l1,
- no_lsp_refresh_interval_l1_arg_cmd,
- "no lsp-refresh-interval level-1 <1-65235>",
- NO_STR
- "LSP refresh interval for Level 1 only\n"
- "LSP refresh interval for Level 1 only in seconds\n")
DEFUN (lsp_refresh_interval_l2,
lsp_refresh_interval_l2_cmd,
return area_lsp_refresh_interval_set(vty, IS_LEVEL_2, atoi(argv[2]->arg));
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no lsp-refresh-interval level-2 <1-65235>",
+ * NO_STR
+ * "LSP refresh interval for Level 2 only\n"
+ * "LSP refresh interval for Level 2 only in seconds\n"
+ *
+ */
DEFUN (no_lsp_refresh_interval_l2,
no_lsp_refresh_interval_l2_cmd,
"no lsp-refresh-interval level-2",
DEFAULT_MAX_LSP_GEN_INTERVAL);
}
-ALIAS (no_lsp_refresh_interval_l2,
- no_lsp_refresh_interval_l2_arg_cmd,
- "no lsp-refresh-interval level-2 <1-65235>",
- NO_STR
- "LSP refresh interval for Level 2 only\n"
- "LSP refresh interval for Level 2 only in seconds\n")
static int
area_passwd_set(struct vty *vty, int level,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "(area-password|domain-password) md5 WORD authenticate snp (send-only|validate)",
+ * "Configure the authentication password for an area\n"
+ * "Set the authentication password for a routing domain\n"
+ * "Authentication type\n"
+ * "Level-wide password\n"
+ * "Authentication\n"
+ * "SNP PDUs\n"
+ * "Send but do not check PDUs on receiving\n"
+ * "Send and check PDUs on receiving\n"
+ *
+ */
DEFUN (area_passwd_md5,
area_passwd_md5_cmd,
"(area-password|domain-password) md5 WORD",
argv[2]->arg, snp_auth);
}
-ALIAS (area_passwd_md5,
- area_passwd_md5_snpauth_cmd,
- "(area-password|domain-password) md5 WORD authenticate snp (send-only|validate)",
- "Configure the authentication password for an area\n"
- "Set the authentication password for a routing domain\n"
- "Authentication type\n"
- "Level-wide password\n"
- "Authentication\n"
- "SNP PDUs\n"
- "Send but do not check PDUs on receiving\n"
- "Send and check PDUs on receiving\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "(area-password|domain-password) clear WORD authenticate snp (send-only|validate)",
+ * "Configure the authentication password for an area\n"
+ * "Set the authentication password for a routing domain\n"
+ * "Authentication type\n"
+ * "Area password\n"
+ * "Authentication\n"
+ * "SNP PDUs\n"
+ * "Send but do not check PDUs on receiving\n"
+ * "Send and check PDUs on receiving\n"
+ *
+ */
DEFUN (area_passwd_clear,
area_passwd_clear_cmd,
"(area-password|domain-password) clear WORD",
argv[2]->arg, snp_auth);
}
-ALIAS (area_passwd_clear,
- area_passwd_clear_snpauth_cmd,
- "(area-password|domain-password) clear WORD authenticate snp (send-only|validate)",
- "Configure the authentication password for an area\n"
- "Set the authentication password for a routing domain\n"
- "Authentication type\n"
- "Area password\n"
- "Authentication\n"
- "SNP PDUs\n"
- "Send but do not check PDUs on receiving\n"
- "Send and check PDUs on receiving\n")
DEFUN (no_area_passwd,
no_area_passwd_cmd,
install_element (INTERFACE_NODE, &isis_passwd_cmd);
install_element (INTERFACE_NODE, &no_isis_passwd_cmd);
- install_element (INTERFACE_NODE, &no_isis_passwd_arg_cmd);
install_element (INTERFACE_NODE, &isis_priority_cmd);
install_element (INTERFACE_NODE, &no_isis_priority_cmd);
- install_element (INTERFACE_NODE, &no_isis_priority_arg_cmd);
install_element (INTERFACE_NODE, &isis_priority_l1_cmd);
install_element (INTERFACE_NODE, &no_isis_priority_l1_cmd);
- install_element (INTERFACE_NODE, &no_isis_priority_l1_arg_cmd);
install_element (INTERFACE_NODE, &isis_priority_l2_cmd);
install_element (INTERFACE_NODE, &no_isis_priority_l2_cmd);
- install_element (INTERFACE_NODE, &no_isis_priority_l2_arg_cmd);
install_element (INTERFACE_NODE, &isis_metric_cmd);
install_element (INTERFACE_NODE, &no_isis_metric_cmd);
- install_element (INTERFACE_NODE, &no_isis_metric_arg_cmd);
install_element (INTERFACE_NODE, &isis_metric_l1_cmd);
install_element (INTERFACE_NODE, &no_isis_metric_l1_cmd);
- install_element (INTERFACE_NODE, &no_isis_metric_l1_arg_cmd);
install_element (INTERFACE_NODE, &isis_metric_l2_cmd);
install_element (INTERFACE_NODE, &no_isis_metric_l2_cmd);
- install_element (INTERFACE_NODE, &no_isis_metric_l2_arg_cmd);
install_element (INTERFACE_NODE, &isis_hello_interval_cmd);
install_element (INTERFACE_NODE, &no_isis_hello_interval_cmd);
- install_element (INTERFACE_NODE, &no_isis_hello_interval_arg_cmd);
install_element (INTERFACE_NODE, &isis_hello_interval_l1_cmd);
install_element (INTERFACE_NODE, &no_isis_hello_interval_l1_cmd);
- install_element (INTERFACE_NODE, &no_isis_hello_interval_l1_arg_cmd);
install_element (INTERFACE_NODE, &isis_hello_interval_l2_cmd);
install_element (INTERFACE_NODE, &no_isis_hello_interval_l2_cmd);
- install_element (INTERFACE_NODE, &no_isis_hello_interval_l2_arg_cmd);
install_element (INTERFACE_NODE, &isis_hello_multiplier_cmd);
install_element (INTERFACE_NODE, &no_isis_hello_multiplier_cmd);
- install_element (INTERFACE_NODE, &no_isis_hello_multiplier_arg_cmd);
install_element (INTERFACE_NODE, &isis_hello_multiplier_l1_cmd);
install_element (INTERFACE_NODE, &no_isis_hello_multiplier_l1_cmd);
- install_element (INTERFACE_NODE, &no_isis_hello_multiplier_l1_arg_cmd);
install_element (INTERFACE_NODE, &isis_hello_multiplier_l2_cmd);
install_element (INTERFACE_NODE, &no_isis_hello_multiplier_l2_cmd);
- install_element (INTERFACE_NODE, &no_isis_hello_multiplier_l2_arg_cmd);
install_element (INTERFACE_NODE, &isis_hello_padding_cmd);
install_element (INTERFACE_NODE, &no_isis_hello_padding_cmd);
install_element (INTERFACE_NODE, &csnp_interval_cmd);
install_element (INTERFACE_NODE, &no_csnp_interval_cmd);
- install_element (INTERFACE_NODE, &no_csnp_interval_arg_cmd);
install_element (INTERFACE_NODE, &csnp_interval_l1_cmd);
install_element (INTERFACE_NODE, &no_csnp_interval_l1_cmd);
- install_element (INTERFACE_NODE, &no_csnp_interval_l1_arg_cmd);
install_element (INTERFACE_NODE, &csnp_interval_l2_cmd);
install_element (INTERFACE_NODE, &no_csnp_interval_l2_cmd);
- install_element (INTERFACE_NODE, &no_csnp_interval_l2_arg_cmd);
install_element (INTERFACE_NODE, &psnp_interval_cmd);
install_element (INTERFACE_NODE, &no_psnp_interval_cmd);
- install_element (INTERFACE_NODE, &no_psnp_interval_arg_cmd);
install_element (INTERFACE_NODE, &psnp_interval_l1_cmd);
install_element (INTERFACE_NODE, &no_psnp_interval_l1_cmd);
- install_element (INTERFACE_NODE, &no_psnp_interval_l1_arg_cmd);
install_element (INTERFACE_NODE, &psnp_interval_l2_cmd);
install_element (INTERFACE_NODE, &no_psnp_interval_l2_cmd);
- install_element (INTERFACE_NODE, &no_psnp_interval_l2_arg_cmd);
install_element (ISIS_NODE, &metric_style_cmd);
install_element (ISIS_NODE, &no_metric_style_cmd);
install_element (ISIS_NODE, &area_lsp_mtu_cmd);
install_element (ISIS_NODE, &no_area_lsp_mtu_cmd);
- install_element (ISIS_NODE, &no_area_lsp_mtu_arg_cmd);
install_element (ISIS_NODE, &is_type_cmd);
install_element (ISIS_NODE, &no_is_type_cmd);
install_element (ISIS_NODE, &lsp_gen_interval_cmd);
install_element (ISIS_NODE, &no_lsp_gen_interval_cmd);
- install_element (ISIS_NODE, &no_lsp_gen_interval_arg_cmd);
install_element (ISIS_NODE, &lsp_gen_interval_l1_cmd);
install_element (ISIS_NODE, &no_lsp_gen_interval_l1_cmd);
- install_element (ISIS_NODE, &no_lsp_gen_interval_l1_arg_cmd);
install_element (ISIS_NODE, &lsp_gen_interval_l2_cmd);
install_element (ISIS_NODE, &no_lsp_gen_interval_l2_cmd);
- install_element (ISIS_NODE, &no_lsp_gen_interval_l2_arg_cmd);
install_element (ISIS_NODE, &spf_interval_cmd);
install_element (ISIS_NODE, &no_spf_interval_cmd);
- install_element (ISIS_NODE, &no_spf_interval_arg_cmd);
install_element (ISIS_NODE, &spf_interval_l1_cmd);
install_element (ISIS_NODE, &no_spf_interval_l1_cmd);
- install_element (ISIS_NODE, &no_spf_interval_l1_arg_cmd);
install_element (ISIS_NODE, &spf_interval_l2_cmd);
install_element (ISIS_NODE, &no_spf_interval_l2_cmd);
- install_element (ISIS_NODE, &no_spf_interval_l2_arg_cmd);
install_element (ISIS_NODE, &max_lsp_lifetime_cmd);
install_element (ISIS_NODE, &no_max_lsp_lifetime_cmd);
- install_element (ISIS_NODE, &no_max_lsp_lifetime_arg_cmd);
install_element (ISIS_NODE, &max_lsp_lifetime_l1_cmd);
install_element (ISIS_NODE, &no_max_lsp_lifetime_l1_cmd);
- install_element (ISIS_NODE, &no_max_lsp_lifetime_l1_arg_cmd);
install_element (ISIS_NODE, &max_lsp_lifetime_l2_cmd);
install_element (ISIS_NODE, &no_max_lsp_lifetime_l2_cmd);
- install_element (ISIS_NODE, &no_max_lsp_lifetime_l2_arg_cmd);
install_element (ISIS_NODE, &lsp_refresh_interval_cmd);
install_element (ISIS_NODE, &no_lsp_refresh_interval_cmd);
- install_element (ISIS_NODE, &no_lsp_refresh_interval_arg_cmd);
install_element (ISIS_NODE, &lsp_refresh_interval_l1_cmd);
install_element (ISIS_NODE, &no_lsp_refresh_interval_l1_cmd);
- install_element (ISIS_NODE, &no_lsp_refresh_interval_l1_arg_cmd);
install_element (ISIS_NODE, &lsp_refresh_interval_l2_cmd);
install_element (ISIS_NODE, &no_lsp_refresh_interval_l2_cmd);
- install_element (ISIS_NODE, &no_lsp_refresh_interval_l2_arg_cmd);
install_element (ISIS_NODE, &area_passwd_md5_cmd);
- install_element (ISIS_NODE, &area_passwd_md5_snpauth_cmd);
install_element (ISIS_NODE, &area_passwd_clear_cmd);
- install_element (ISIS_NODE, &area_passwd_clear_snpauth_cmd);
install_element (ISIS_NODE, &no_area_passwd_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no topology base-is",
+ * NO_STR
+ * "Topology generation for IS-IS\n"
+ * "A Network IS Base for this topology\n"
+ *
+ */
DEFUN (no_topology_baseis,
no_topology_baseis_cmd,
"no topology base-is WORD",
return CMD_SUCCESS;
}
-ALIAS (no_topology_baseis,
- no_topology_baseis_noid_cmd,
- "no topology base-is",
- NO_STR
- "Topology generation for IS-IS\n"
- "A Network IS Base for this topology\n")
DEFUN (topology_basedynh,
topology_basedynh_cmd,
install_element (ISIS_NODE, &topology_baseis_cmd);
install_element (ISIS_NODE, &topology_basedynh_cmd);
install_element (ISIS_NODE, &no_topology_baseis_cmd);
- install_element (ISIS_NODE, &no_topology_baseis_noid_cmd);
install_element (VIEW_NODE, &show_isis_generated_topology_cmd);
install_element (ENABLE_NODE, &show_isis_generated_topology_cmd);
#endif /* TOPOLOGY_GENERATE */
}
/* Down vty node level. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "quit",
+ * "Exit current mode and down to previous mode\n"
+ *
+ */
DEFUN (config_exit,
config_exit_cmd,
"exit",
}
/* quit is alias of exit. */
-ALIAS (config_exit,
- config_quit_cmd,
- "quit",
- "Exit current mode and down to previous mode\n")
/* End of configuration. */
DEFUN (config_end,
}
/* Write current configuration into file. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "copy running-config startup-config",
+ * "Copy configuration\n"
+ * "Copy running config to... \n"
+ * "Copy running config to startup config (same as write file)\n"
+ *
+ * "show running-config",
+ * SHOW_STR
+ * "running configuration\n"
+ *
+ */
DEFUN (config_write,
config_write_cmd,
"write [<file|memory|terminal>]",
return ret;
}
-ALIAS (config_write,
- copy_runningconfig_startupconfig_cmd,
- "copy running-config startup-config",
- "Copy configuration\n"
- "Copy running config to... \n"
- "Copy running config to startup config (same as write file)\n")
/* Write current configuration into the terminal. */
-ALIAS (config_write,
- show_running_config_cmd,
- "show running-config",
- SHOW_STR
- "running configuration\n")
/* Write startup configuration into the terminal. */
DEFUN (show_startup_config,
}
/* VTY interface password set. */
-DEFUN (config_password, password_cmd,
+DEFUN (config_password,
+ password_cmd,
"password [8] WORD",
"Assign the terminal connection password\n"
"Specifies a HIDDEN password will follow\n"
}
/* VTY enable password set. */
-DEFUN (config_enable_password, enable_password_cmd,
+DEFUN (config_enable_password,
+ enable_password_cmd,
"enable password [8] WORD",
"Modify enable password parameters\n"
"Assign the privileged level password\n"
}
/* VTY enable password delete. */
-DEFUN (no_config_enable_password, no_enable_password_cmd,
+DEFUN (no_config_enable_password,
+ no_enable_password_cmd,
"no enable password",
NO_STR
"Modify enable password parameters\n"
return CMD_SUCCESS;
}
-DEFUN (config_terminal_length, config_terminal_length_cmd,
+DEFUN (config_terminal_length,
+ config_terminal_length_cmd,
"terminal length (0-512)",
"Set terminal line parameters\n"
"Set number of lines on a screen\n"
return CMD_SUCCESS;
}
-DEFUN (config_terminal_no_length, config_terminal_no_length_cmd,
+DEFUN (config_terminal_no_length,
+ config_terminal_no_length_cmd,
"terminal no length",
"Set terminal line parameters\n"
NO_STR
return CMD_SUCCESS;
}
-DEFUN (service_terminal_length, service_terminal_length_cmd,
+DEFUN (service_terminal_length,
+ service_terminal_length_cmd,
"service terminal-length (0-512)",
"Set up miscellaneous service\n"
"System wide terminal length configuration\n"
return CMD_SUCCESS;
}
-DEFUN (no_service_terminal_length, no_service_terminal_length_cmd,
+DEFUN (no_service_terminal_length,
+ no_service_terminal_length_cmd,
"no service terminal-length [(0-512)]",
NO_STR
"Set up miscellaneous service\n"
install_default (enum node_type node)
{
install_element (node, &config_exit_cmd);
- install_element (node, &config_quit_cmd);
install_element (node, &config_end_cmd);
install_element (node, &config_help_cmd);
install_element (node, &config_list_cmd);
install_element (node, &config_write_cmd);
- install_element (node, &show_running_config_cmd);
}
/* Initialize command interface. Install basic nodes and commands. */
{
install_element (VIEW_NODE, &config_list_cmd);
install_element (VIEW_NODE, &config_exit_cmd);
- install_element (VIEW_NODE, &config_quit_cmd);
install_element (VIEW_NODE, &config_help_cmd);
install_element (VIEW_NODE, &config_enable_cmd);
install_element (VIEW_NODE, &config_terminal_length_cmd);
install_element (RESTRICTED_NODE, &config_list_cmd);
install_element (RESTRICTED_NODE, &config_exit_cmd);
- install_element (RESTRICTED_NODE, &config_quit_cmd);
install_element (RESTRICTED_NODE, &config_help_cmd);
install_element (RESTRICTED_NODE, &config_enable_cmd);
install_element (RESTRICTED_NODE, &config_terminal_length_cmd);
install_default (ENABLE_NODE);
install_element (ENABLE_NODE, &config_disable_cmd);
install_element (ENABLE_NODE, &config_terminal_cmd);
- install_element (ENABLE_NODE, ©_runningconfig_startupconfig_cmd);
}
install_element (ENABLE_NODE, &show_startup_config_cmd);
install_element (ENABLE_NODE, &show_version_cmd);
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no access-list (<1-99>|<100-199>|<1300-1999>|<2000-2699>|WORD) remark .LINE",
+ * NO_STR
+ * "Add an access list entry\n"
+ * "IP standard access list\n"
+ * "IP extended access list\n"
+ * "IP standard access list (expanded range)\n"
+ * "IP extended access list (expanded range)\n"
+ * "IP zebra access-list\n"
+ * "Access list entry comment\n"
+ * "Comment up to 100 characters\n"
+ *
+ */
DEFUN (no_access_list_remark,
no_access_list_remark_cmd,
"no access-list (<1-99>|<100-199>|<1300-1999>|<2000-2699>|WORD) remark",
return vty_access_list_remark_unset (vty, AFI_IP, argv[2]->arg);
}
-ALIAS (no_access_list_remark,
- no_access_list_remark_arg_cmd,
- "no access-list (<1-99>|<100-199>|<1300-1999>|<2000-2699>|WORD) remark .LINE",
- NO_STR
- "Add an access list entry\n"
- "IP standard access list\n"
- "IP extended access list\n"
- "IP standard access list (expanded range)\n"
- "IP extended access list (expanded range)\n"
- "IP zebra access-list\n"
- "Access list entry comment\n"
- "Comment up to 100 characters\n")
#ifdef HAVE_IPV6
DEFUN (ipv6_access_list,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 access-list WORD remark .LINE",
+ * NO_STR
+ * IPV6_STR
+ * "Add an access list entry\n"
+ * "IPv6 zebra access-list\n"
+ * "Access list entry comment\n"
+ * "Comment up to 100 characters\n"
+ *
+ */
DEFUN (no_ipv6_access_list_remark,
no_ipv6_access_list_remark_cmd,
"no ipv6 access-list WORD remark",
return vty_access_list_remark_unset (vty, AFI_IP6, argv[3]->arg);
}
-ALIAS (no_ipv6_access_list_remark,
- no_ipv6_access_list_remark_arg_cmd,
- "no ipv6 access-list WORD remark .LINE",
- NO_STR
- IPV6_STR
- "Add an access list entry\n"
- "IPv6 zebra access-list\n"
- "Access list entry comment\n"
- "Comment up to 100 characters\n")
#endif /* HAVE_IPV6 */
void config_write_access_zebra (struct vty *, struct filter *);
install_element (CONFIG_NODE, &access_list_remark_cmd);
install_element (CONFIG_NODE, &no_access_list_all_cmd);
install_element (CONFIG_NODE, &no_access_list_remark_cmd);
- install_element (CONFIG_NODE, &no_access_list_remark_arg_cmd);
}
#ifdef HAVE_IPV6
install_element (CONFIG_NODE, &no_ipv6_access_list_all_cmd);
install_element (CONFIG_NODE, &ipv6_access_list_remark_cmd);
install_element (CONFIG_NODE, &no_ipv6_access_list_remark_cmd);
- install_element (CONFIG_NODE, &no_ipv6_access_list_remark_arg_cmd);
}
#endif /* HAVE_IPV6 */
return 1;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "route-map RMAP_NAME (in|out) IFNAME",
+ * "Route map set\n"
+ * "Route map name\n"
+ * "Route map set for input filtering\n"
+ * "Route map set for output filtering\n"
+ * "Route map interface name\n"
+ *
+ */
DEFUN (if_rmap,
if_rmap_cmd,
"route-map RMAP_NAME (in|out) IFNAME",
return CMD_SUCCESS;
}
-ALIAS (if_rmap,
- if_ipv6_rmap_cmd,
- "route-map RMAP_NAME (in|out) IFNAME",
- "Route map set\n"
- "Route map name\n"
- "Route map set for input filtering\n"
- "Route map set for output filtering\n"
- "Route map interface name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no route-map ROUTEMAP_NAME (in|out) IFNAME",
+ * NO_STR
+ * "Route map unset\n"
+ * "Route map name\n"
+ * "Route map for input filtering\n"
+ * "Route map for output filtering\n"
+ * "Route map interface name\n"
+ *
+ */
DEFUN (no_if_rmap,
no_if_rmap_cmd,
"no route-map ROUTEMAP_NAME (in|out) IFNAME",
return CMD_SUCCESS;
}
-ALIAS (no_if_rmap,
- no_if_ipv6_rmap_cmd,
- "no route-map ROUTEMAP_NAME (in|out) IFNAME",
- NO_STR
- "Route map unset\n"
- "Route map name\n"
- "Route map for input filtering\n"
- "Route map for output filtering\n"
- "Route map interface name\n")
/* Configuration write function. */
int
{
ifrmaphash = hash_create (if_rmap_hash_make, if_rmap_hash_cmp);
if (node == RIPNG_NODE) {
- install_element (RIPNG_NODE, &if_ipv6_rmap_cmd);
- install_element (RIPNG_NODE, &no_if_ipv6_rmap_cmd);
} else if (node == RIP_NODE) {
install_element (RIP_NODE, &if_rmap_cmd);
install_element (RIP_NODE, &no_if_rmap_cmd);
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip prefix-list WORD description .LINE",
+ * NO_STR
+ * IP_STR
+ * PREFIX_LIST_STR
+ * "Name of a prefix list\n"
+ * "Prefix-list specific description\n"
+ * "Up to 80 characters describing this prefix-list\n"
+ *
+ */
DEFUN (no_ip_prefix_list_description,
no_ip_prefix_list_description_cmd,
"no ip prefix-list WORD description",
return vty_prefix_list_desc_unset (vty, AFI_IP, argv[3]->arg);
}
-ALIAS (no_ip_prefix_list_description,
- no_ip_prefix_list_description_arg_cmd,
- "no ip prefix-list WORD description .LINE",
- NO_STR
- IP_STR
- PREFIX_LIST_STR
- "Name of a prefix list\n"
- "Prefix-list specific description\n"
- "Up to 80 characters describing this prefix-list\n")
DEFUN (show_ip_prefix_list,
show_ip_prefix_list_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 prefix-list WORD description .LINE",
+ * NO_STR
+ * IPV6_STR
+ * PREFIX_LIST_STR
+ * "Name of a prefix list\n"
+ * "Prefix-list specific description\n"
+ * "Up to 80 characters describing this prefix-list\n"
+ *
+ */
DEFUN (no_ipv6_prefix_list_description,
no_ipv6_prefix_list_description_cmd,
"no ipv6 prefix-list WORD description",
return vty_prefix_list_desc_unset (vty, AFI_IP6, argv[3]->arg);
}
-ALIAS (no_ipv6_prefix_list_description,
- no_ipv6_prefix_list_description_arg_cmd,
- "no ipv6 prefix-list WORD description .LINE",
- NO_STR
- IPV6_STR
- PREFIX_LIST_STR
- "Name of a prefix list\n"
- "Prefix-list specific description\n"
- "Up to 80 characters describing this prefix-list\n")
DEFUN (show_ipv6_prefix_list,
show_ipv6_prefix_list_cmd,
install_element (CONFIG_NODE, &ip_prefix_list_description_cmd);
install_element (CONFIG_NODE, &no_ip_prefix_list_description_cmd);
- install_element (CONFIG_NODE, &no_ip_prefix_list_description_arg_cmd);
install_element (CONFIG_NODE, &ip_prefix_list_sequence_number_cmd);
install_element (CONFIG_NODE, &no_ip_prefix_list_sequence_number_cmd);
install_element (CONFIG_NODE, &ipv6_prefix_list_description_cmd);
install_element (CONFIG_NODE, &no_ipv6_prefix_list_description_cmd);
- install_element (CONFIG_NODE, &no_ipv6_prefix_list_description_arg_cmd);
install_element (CONFIG_NODE, &ipv6_prefix_list_sequence_number_cmd);
install_element (CONFIG_NODE, &no_ipv6_prefix_list_sequence_number_cmd);
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "continue",
+ * "Continue on a different entry within the route-map\n"
+ *
+ * "continue (1-65535)",
+ * "Continue on a different entry within the route-map\n"
+ * "Route-map entry sequence number\n"
+ *
+ */
DEFUN (rmap_onmatch_goto,
rmap_onmatch_goto_cmd,
"on-match goto (1-65535)",
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no continue",
+ * NO_STR
+ * "Continue on a different entry within the route-map\n"
+ *
+ * "no continue (1-65535)",
+ * NO_STR
+ * "Continue on a different entry within the route-map\n"
+ * "Route-map entry sequence number\n"
+ *
+ */
DEFUN (no_rmap_onmatch_goto,
no_rmap_onmatch_goto_cmd,
"no on-match goto",
}
/* Cisco/GNU Zebra compatible ALIASes for on-match next */
-ALIAS (rmap_onmatch_goto,
- rmap_continue_cmd,
- "continue",
- "Continue on a different entry within the route-map\n")
-
-ALIAS (no_rmap_onmatch_goto,
- no_rmap_continue_cmd,
- "no continue",
- NO_STR
- "Continue on a different entry within the route-map\n")
+
/* GNU Zebra compatible */
-ALIAS (rmap_onmatch_goto,
- rmap_continue_seq_cmd,
- "continue (1-65535)",
- "Continue on a different entry within the route-map\n"
- "Route-map entry sequence number\n")
-
-ALIAS (no_rmap_onmatch_goto,
- no_rmap_continue_seq,
- "no continue (1-65535)",
- NO_STR
- "Continue on a different entry within the route-map\n"
- "Route-map entry sequence number\n")
+
DEFUN (rmap_show_name,
rmap_show_name_cmd,
install_element (RMAP_NODE, &no_rmap_onmatch_goto_cmd);
/* Install the continue stuff (ALIAS of on-match). */
- install_element (RMAP_NODE, &rmap_continue_cmd);
- install_element (RMAP_NODE, &no_rmap_continue_cmd);
/* Install the call stuff. */
install_element (RMAP_NODE, &rmap_call_cmd);
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no terminal monitor",
+ * NO_STR
+ * "Set terminal line parameters\n"
+ * "Copy debug output to the current terminal line\n"
+ *
+ */
DEFUN (terminal_no_monitor,
terminal_no_monitor_cmd,
"terminal no monitor",
return CMD_SUCCESS;
}
-ALIAS (terminal_no_monitor,
- no_terminal_monitor_cmd,
- "no terminal monitor",
- NO_STR
- "Set terminal line parameters\n"
- "Copy debug output to the current terminal line\n")
DEFUN (show_history,
show_history_cmd,
install_element (CONFIG_NODE, &log_commands_cmd);
install_element (ENABLE_NODE, &terminal_monitor_cmd);
install_element (ENABLE_NODE, &terminal_no_monitor_cmd);
- install_element (ENABLE_NODE, &no_terminal_monitor_cmd);
install_element (ENABLE_NODE, &show_history_cmd);
install_default (VTY_NODE);
oa = ospf6_area_get (area_id, ospf6); \
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "area (A.B.C.D|<0-4294967295>) range X:X::X:X/M advertise cost <0-16777215>",
+ * "OSPF area parameters\n"
+ * OSPF6_AREA_ID_STR
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ * "area A.B.C.D range X:X::X:X/M (advertise|not-advertise)",
+ * "OSPF area parameters\n"
+ * OSPF6_AREA_ID_STR
+ * "Configured address range\n"
+ * "Specify IPv6 prefix\n"
+ *
+ *
+ * "area (A.B.C.D|<0-4294967295>) range X:X::X:X/M cost <0-16777215>",
+ * "OSPF area parameters\n"
+ * OSPF6_AREA_ID_STR
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ */
DEFUN (area_range,
area_range_cmd,
"area A.B.C.D range X:X::X:X/M",
return CMD_SUCCESS;
}
-ALIAS (area_range,
- area_range_advertise_cmd,
- "area A.B.C.D range X:X::X:X/M (advertise|not-advertise)",
- "OSPF area parameters\n"
- OSPF6_AREA_ID_STR
- "Configured address range\n"
- "Specify IPv6 prefix\n"
- )
-ALIAS (area_range,
- area_range_cost_cmd,
- "area (A.B.C.D|<0-4294967295>) range X:X::X:X/M cost <0-16777215>",
- "OSPF area parameters\n"
- OSPF6_AREA_ID_STR
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
-
-ALIAS (area_range,
- area_range_advertise_cost_cmd,
- "area (A.B.C.D|<0-4294967295>) range X:X::X:X/M advertise cost <0-16777215>",
- "OSPF area parameters\n"
- OSPF6_AREA_ID_STR
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no area (A.B.C.D|<0-4294967295>) range X:X::X:X/M advertise cost <0-16777215>",
+ * NO_STR
+ * "OSPF area parameters\n"
+ * OSPF6_AREA_ID_STR
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ * "no area A.B.C.D range X:X::X:X/M (advertise|not-advertise)",
+ * NO_STR
+ * "OSPF area parameters\n"
+ * OSPF6_AREA_ID_STR
+ * "Configured address range\n"
+ * "Specify IPv6 prefix\n"
+ *
+ * "no area (A.B.C.D|<0-4294967295>) range X:X::X:X/M cost <0-16777215>",
+ * NO_STR
+ * "OSPF area parameters\n"
+ * OSPF6_AREA_ID_STR
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ */
DEFUN (no_area_range,
no_area_range_cmd,
"no area A.B.C.D range X:X::X:X/M",
return CMD_SUCCESS;
}
-ALIAS (no_area_range,
- no_area_range_advertise_cmd,
- "no area A.B.C.D range X:X::X:X/M (advertise|not-advertise)",
- NO_STR
- "OSPF area parameters\n"
- OSPF6_AREA_ID_STR
- "Configured address range\n"
- "Specify IPv6 prefix\n")
-ALIAS (no_area_range,
- no_area_range_cost_cmd,
- "no area (A.B.C.D|<0-4294967295>) range X:X::X:X/M cost <0-16777215>",
- NO_STR
- "OSPF area parameters\n"
- OSPF6_AREA_ID_STR
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
-
-ALIAS (no_area_range,
- no_area_range_advertise_cost_cmd,
- "no area (A.B.C.D|<0-4294967295>) range X:X::X:X/M advertise cost <0-16777215>",
- NO_STR
- "OSPF area parameters\n"
- OSPF6_AREA_ID_STR
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
+
void
ospf6_area_config_write (struct vty *vty)
install_element (ENABLE_NODE, &show_ipv6_ospf6_simulate_spf_tree_root_cmd);
install_element (OSPF6_NODE, &area_range_cmd);
- install_element (OSPF6_NODE, &area_range_advertise_cmd);
- install_element (OSPF6_NODE, &area_range_cost_cmd);
- install_element (OSPF6_NODE, &area_range_advertise_cost_cmd);
install_element (OSPF6_NODE, &no_area_range_cmd);
- install_element (OSPF6_NODE, &no_area_range_advertise_cmd);
- install_element (OSPF6_NODE, &no_area_range_cost_cmd);
- install_element (OSPF6_NODE, &no_area_range_advertise_cost_cmd);
install_element (OSPF6_NODE, &ospf6_area_stub_no_summary_cmd);
install_element (OSPF6_NODE, &ospf6_area_stub_cmd);
install_element (OSPF6_NODE, &no_ospf6_area_stub_no_summary_cmd);
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no redistribute " QUAGGA_REDIST_STR_OSPF6D " route-map WORD",
+ * NO_STR
+ * "Redistribute\n"
+ * QUAGGA_REDIST_HELP_STR_OSPF6D
+ * "Route map reference\n"
+ * "Route map name\n"
+ *
+ */
DEFUN (no_ospf6_redistribute,
no_ospf6_redistribute_cmd,
"no redistribute " QUAGGA_REDIST_STR_OSPF6D,
return CMD_SUCCESS;
}
-ALIAS (no_ospf6_redistribute,
- no_ospf6_redistribute_route_map_cmd,
- "no redistribute " QUAGGA_REDIST_STR_OSPF6D " route-map WORD",
- NO_STR
- "Redistribute\n"
- QUAGGA_REDIST_HELP_STR_OSPF6D
- "Route map reference\n"
- "Route map name\n")
int
ospf6_redistribute_config_write (struct vty *vty)
}
/* "no match interface WORD" */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match interface WORD",
+ * MATCH_STR
+ * NO_STR
+ * "Match first hop interface of route\n"
+ * "Interface name\n"
+ *
+ */
DEFUN (ospf6_routemap_no_match_interface,
ospf6_routemap_no_match_interface_cmd,
"no match interface",
return route_map_command_status (vty, ret);
}
-ALIAS (ospf6_routemap_no_match_interface,
- ospf6_routemap_no_match_interface_val_cmd,
- "no match interface WORD",
- MATCH_STR
- NO_STR
- "Match first hop interface of route\n"
- "Interface name\n")
/* add "set metric-type" */
DEFUN (ospf6_routemap_set_metric_type,
}
/* delete "set metric" */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set metric <0-4294967295>",
+ * NO_STR
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_set_metric,
no_set_metric_cmd,
"no set metric",
return route_map_command_status (vty, ret);
}
-ALIAS (no_set_metric,
- no_set_metric_val_cmd,
- "no set metric <0-4294967295>",
- NO_STR
- SET_STR
- "Metric value for destination routing protocol\n"
- "Metric value\n")
/* add "set forwarding-address" */
DEFUN (ospf6_routemap_set_forwarding,
/* Match interface */
install_element (RMAP_NODE, &ospf6_routemap_match_interface_cmd);
install_element (RMAP_NODE, &ospf6_routemap_no_match_interface_cmd);
- install_element (RMAP_NODE, &ospf6_routemap_no_match_interface_val_cmd);
/* ASE Metric Type (e.g. Type-1/Type-2) */
install_element (RMAP_NODE, &ospf6_routemap_set_metric_type_cmd);
/* ASE Metric */
install_element (RMAP_NODE, &set_metric_cmd);
install_element (RMAP_NODE, &no_set_metric_cmd);
- install_element (RMAP_NODE, &no_set_metric_val_cmd);
/* ASE Metric */
install_element (RMAP_NODE, &ospf6_routemap_set_forwarding_cmd);
install_element (OSPF6_NODE, &ospf6_redistribute_cmd);
install_element (OSPF6_NODE, &ospf6_redistribute_routemap_cmd);
install_element (OSPF6_NODE, &no_ospf6_redistribute_cmd);
- install_element (OSPF6_NODE, &no_ospf6_redistribute_route_map_cmd);
}
void
}
void
-install_element_ospf6_debug_asbr ()
-{
- install_element (ENABLE_NODE, &debug_ospf6_asbr_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf6_asbr_cmd);
- install_element (CONFIG_NODE, &debug_ospf6_asbr_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf6_asbr_cmd);
-}
-
-
}
/* show interface */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 interface",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * INTERFACE_STR
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_interface,
show_ipv6_ospf6_interface_ifname_cmd,
"show ipv6 ospf6 interface IFNAME",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_interface,
- show_ipv6_ospf6_interface_cmd,
- "show ipv6 ospf6 interface",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- INTERFACE_STR
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 interface IFNAME prefix (X:X::X:X|X:X::X:X/M|detail)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * INTERFACE_STR
+ * IFNAME_STR
+ * "Display connected prefixes to advertise\n"
+ * OSPF6_ROUTE_ADDRESS_STR
+ * OSPF6_ROUTE_PREFIX_STR
+ * "Display details of the prefixes\n"
+ *
+ *
+ * "show ipv6 ospf6 interface IFNAME prefix X:X::X:X/M (match|detail)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * INTERFACE_STR
+ * IFNAME_STR
+ * "Display connected prefixes to advertise\n"
+ * OSPF6_ROUTE_PREFIX_STR
+ * OSPF6_ROUTE_MATCH_STR
+ * "Display details of the prefixes\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_interface_ifname_prefix,
show_ipv6_ospf6_interface_ifname_prefix_cmd,
"show ipv6 ospf6 interface IFNAME prefix",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_interface_ifname_prefix,
- show_ipv6_ospf6_interface_ifname_prefix_detail_cmd,
- "show ipv6 ospf6 interface IFNAME prefix (X:X::X:X|X:X::X:X/M|detail)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- INTERFACE_STR
- IFNAME_STR
- "Display connected prefixes to advertise\n"
- OSPF6_ROUTE_ADDRESS_STR
- OSPF6_ROUTE_PREFIX_STR
- "Display details of the prefixes\n"
- )
-ALIAS (show_ipv6_ospf6_interface_ifname_prefix,
- show_ipv6_ospf6_interface_ifname_prefix_match_cmd,
- "show ipv6 ospf6 interface IFNAME prefix X:X::X:X/M (match|detail)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- INTERFACE_STR
- IFNAME_STR
- "Display connected prefixes to advertise\n"
- OSPF6_ROUTE_PREFIX_STR
- OSPF6_ROUTE_MATCH_STR
- "Display details of the prefixes\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 interface prefix X:X::X:X/M (match|detail)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * INTERFACE_STR
+ * "Display connected prefixes to advertise\n"
+ * OSPF6_ROUTE_PREFIX_STR
+ * OSPF6_ROUTE_MATCH_STR
+ * "Display details of the prefixes\n"
+ *
+ *
+ * "show ipv6 ospf6 interface prefix (X:X::X:X|X:X::X:X/M|detail)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * INTERFACE_STR
+ * "Display connected prefixes to advertise\n"
+ * OSPF6_ROUTE_ADDRESS_STR
+ * OSPF6_ROUTE_PREFIX_STR
+ * "Display details of the prefixes\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_interface_prefix,
show_ipv6_ospf6_interface_prefix_cmd,
"show ipv6 ospf6 interface prefix",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_interface_prefix,
- show_ipv6_ospf6_interface_prefix_detail_cmd,
- "show ipv6 ospf6 interface prefix (X:X::X:X|X:X::X:X/M|detail)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- INTERFACE_STR
- "Display connected prefixes to advertise\n"
- OSPF6_ROUTE_ADDRESS_STR
- OSPF6_ROUTE_PREFIX_STR
- "Display details of the prefixes\n"
- )
-ALIAS (show_ipv6_ospf6_interface_prefix,
- show_ipv6_ospf6_interface_prefix_match_cmd,
- "show ipv6 ospf6 interface prefix X:X::X:X/M (match|detail)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- INTERFACE_STR
- "Display connected prefixes to advertise\n"
- OSPF6_ROUTE_PREFIX_STR
- OSPF6_ROUTE_MATCH_STR
- "Display details of the prefixes\n"
- )
/* interface variable set command */
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no auto-cost reference-bandwidth <1-4294967>",
+ * NO_STR
+ * "Calculate OSPF interface cost according to bandwidth\n"
+ * "Use reference bandwidth method to assign OSPF cost\n"
+ * "The reference bandwidth in terms of Mbits per second\n"
+ *
+ */
DEFUN (no_auto_cost_reference_bandwidth,
no_auto_cost_reference_bandwidth_cmd,
"no auto-cost reference-bandwidth",
return CMD_SUCCESS;
}
-ALIAS (no_auto_cost_reference_bandwidth,
- no_auto_cost_reference_bandwidth_val_cmd,
- "no auto-cost reference-bandwidth <1-4294967>",
- NO_STR
- "Calculate OSPF interface cost according to bandwidth\n"
- "Use reference bandwidth method to assign OSPF cost\n"
- "The reference bandwidth in terms of Mbits per second\n")
DEFUN (ipv6_ospf6_hellointerval,
ipv6_ospf6_hellointerval_cmd,
/* Install interface node. */
install_node (&interface_node, config_write_ospf6_interface);
- install_element (VIEW_NODE, &show_ipv6_ospf6_interface_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_interface_prefix_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_interface_prefix_detail_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_interface_prefix_match_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_interface_ifname_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_interface_ifname_prefix_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_interface_ifname_prefix_detail_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_interface_ifname_prefix_match_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_prefix_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_prefix_detail_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_prefix_match_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_ifname_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_ifname_prefix_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_ifname_prefix_detail_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_interface_ifname_prefix_match_cmd);
install_element (CONFIG_NODE, &interface_cmd);
install_default (INTERFACE_NODE);
/* reference bandwidth commands */
install_element (OSPF6_NODE, &auto_cost_reference_bandwidth_cmd);
install_element (OSPF6_NODE, &no_auto_cost_reference_bandwidth_cmd);
- install_element (OSPF6_NODE, &no_auto_cost_reference_bandwidth_val_cmd);
}
/* Clear the specified interface structure */
return buf;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix|unknown) (originate|examine|flooding)",
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug Link State Advertisements (LSAs)\n"
+ * "Specify LS type as Hexadecimal\n"
+ *
+ *
+ */
DEFUN (debug_ospf6_lsa_type,
debug_ospf6_lsa_hex_cmd,
"debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix|unknown)",
return CMD_SUCCESS;
}
-ALIAS (debug_ospf6_lsa_type,
- debug_ospf6_lsa_hex_detail_cmd,
- "debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix|unknown) (originate|examine|flooding)",
- DEBUG_STR
- OSPF6_STR
- "Debug Link State Advertisements (LSAs)\n"
- "Specify LS type as Hexadecimal\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix) (originate|examine|flooding)",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug Link State Advertisements (LSAs)\n"
+ * "Specify LS type as Hexadecimal\n"
+ *
+ *
+ */
DEFUN (no_debug_ospf6_lsa_type,
no_debug_ospf6_lsa_hex_cmd,
"no debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix|unknown)",
return CMD_SUCCESS;
}
-ALIAS (no_debug_ospf6_lsa_type,
- no_debug_ospf6_lsa_hex_detail_cmd,
- "no debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix) (originate|examine|flooding)",
- NO_STR
- DEBUG_STR
- OSPF6_STR
- "Debug Link State Advertisements (LSAs)\n"
- "Specify LS type as Hexadecimal\n"
- )
void
install_element_ospf6_debug_lsa (void)
{
install_element (ENABLE_NODE, &debug_ospf6_lsa_hex_cmd);
- install_element (ENABLE_NODE, &debug_ospf6_lsa_hex_detail_cmd);
install_element (ENABLE_NODE, &no_debug_ospf6_lsa_hex_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf6_lsa_hex_detail_cmd);
install_element (CONFIG_NODE, &debug_ospf6_lsa_hex_cmd);
- install_element (CONFIG_NODE, &debug_ospf6_lsa_hex_detail_cmd);
install_element (CONFIG_NODE, &no_debug_ospf6_lsa_hex_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf6_lsa_hex_detail_cmd);
}
int
/* Commands */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf6 message (unknown|hello|dbdesc|lsreq|lsupdate|lsack|all) (send|recv)",
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug OSPFv3 message\n"
+ * "Debug Unknown message\n"
+ * "Debug Hello message\n"
+ * "Debug Database Description message\n"
+ * "Debug Link State Request message\n"
+ * "Debug Link State Update message\n"
+ * "Debug Link State Acknowledgement message\n"
+ * "Debug All message\n"
+ * "Debug only sending message\n"
+ * "Debug only receiving message\n"
+ *
+ *
+ */
DEFUN (debug_ospf6_message,
debug_ospf6_message_cmd,
"debug ospf6 message (unknown|hello|dbdesc|lsreq|lsupdate|lsack|all)",
return CMD_SUCCESS;
}
-ALIAS (debug_ospf6_message,
- debug_ospf6_message_sendrecv_cmd,
- "debug ospf6 message (unknown|hello|dbdesc|lsreq|lsupdate|lsack|all) (send|recv)",
- DEBUG_STR
- OSPF6_STR
- "Debug OSPFv3 message\n"
- "Debug Unknown message\n"
- "Debug Hello message\n"
- "Debug Database Description message\n"
- "Debug Link State Request message\n"
- "Debug Link State Update message\n"
- "Debug Link State Acknowledgement message\n"
- "Debug All message\n"
- "Debug only sending message\n"
- "Debug only receiving message\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf6 message "
+ * "(unknown|hello|dbdesc|lsreq|lsupdate|lsack|all) (send|recv)",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug OSPFv3 message\n"
+ * "Debug Unknown message\n"
+ * "Debug Hello message\n"
+ * "Debug Database Description message\n"
+ * "Debug Link State Request message\n"
+ * "Debug Link State Update message\n"
+ * "Debug Link State Acknowledgement message\n"
+ * "Debug All message\n"
+ * "Debug only sending message\n"
+ * "Debug only receiving message\n"
+ *
+ *
+ */
DEFUN (no_debug_ospf6_message,
no_debug_ospf6_message_cmd,
"no debug ospf6 message (unknown|hello|dbdesc|lsreq|lsupdate|lsack|all)",
return CMD_SUCCESS;
}
-ALIAS (no_debug_ospf6_message,
- no_debug_ospf6_message_sendrecv_cmd,
- "no debug ospf6 message "
- "(unknown|hello|dbdesc|lsreq|lsupdate|lsack|all) (send|recv)",
- NO_STR
- DEBUG_STR
- OSPF6_STR
- "Debug OSPFv3 message\n"
- "Debug Unknown message\n"
- "Debug Hello message\n"
- "Debug Database Description message\n"
- "Debug Link State Request message\n"
- "Debug Link State Update message\n"
- "Debug Link State Acknowledgement message\n"
- "Debug All message\n"
- "Debug only sending message\n"
- "Debug only receiving message\n"
- )
int
config_write_ospf6_debug_message (struct vty *vty)
{
install_element (ENABLE_NODE, &debug_ospf6_message_cmd);
install_element (ENABLE_NODE, &no_debug_ospf6_message_cmd);
- install_element (ENABLE_NODE, &debug_ospf6_message_sendrecv_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf6_message_sendrecv_cmd);
install_element (CONFIG_NODE, &debug_ospf6_message_cmd);
install_element (CONFIG_NODE, &no_debug_ospf6_message_cmd);
- install_element (CONFIG_NODE, &debug_ospf6_message_sendrecv_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf6_message_sendrecv_cmd);
}
ospf6_bfd_show_info(vty, on->bfd_info, 0);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 neighbor (detail|drchoice)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * "Neighbor list\n"
+ * "Display details\n"
+ * "Display DR choices\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_neighbor,
show_ipv6_ospf6_neighbor_cmd,
"show ipv6 ospf6 neighbor",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_neighbor,
- show_ipv6_ospf6_neighbor_detail_cmd,
- "show ipv6 ospf6 neighbor (detail|drchoice)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- "Neighbor list\n"
- "Display details\n"
- "Display DR choices\n"
- )
DEFUN (show_ipv6_ospf6_neighbor_one,
show_ipv6_ospf6_neighbor_one_cmd,
ospf6_neighbor_init (void)
{
install_element (VIEW_NODE, &show_ipv6_ospf6_neighbor_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_neighbor_detail_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_neighbor_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_neighbor_detail_cmd);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf6 neighbor (state|event)",
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug OSPFv3 Neighbor\n"
+ * "Debug OSPFv3 Neighbor State Change\n"
+ * "Debug OSPFv3 Neighbor Event\n"
+ *
+ *
+ */
DEFUN (debug_ospf6_neighbor,
debug_ospf6_neighbor_cmd,
"debug ospf6 neighbor",
return CMD_SUCCESS;
}
-ALIAS (debug_ospf6_neighbor,
- debug_ospf6_neighbor_detail_cmd,
- "debug ospf6 neighbor (state|event)",
- DEBUG_STR
- OSPF6_STR
- "Debug OSPFv3 Neighbor\n"
- "Debug OSPFv3 Neighbor State Change\n"
- "Debug OSPFv3 Neighbor Event\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf6 neighbor (state|event)",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug OSPFv3 Neighbor\n"
+ * "Debug OSPFv3 Neighbor State Change\n"
+ * "Debug OSPFv3 Neighbor Event\n"
+ *
+ *
+ */
DEFUN (no_debug_ospf6_neighbor,
no_debug_ospf6_neighbor_cmd,
"no debug ospf6 neighbor",
return CMD_SUCCESS;
}
-ALIAS (no_debug_ospf6_neighbor,
- no_debug_ospf6_neighbor_detail_cmd,
- "no debug ospf6 neighbor (state|event)",
- NO_STR
- DEBUG_STR
- OSPF6_STR
- "Debug OSPFv3 Neighbor\n"
- "Debug OSPFv3 Neighbor State Change\n"
- "Debug OSPFv3 Neighbor Event\n"
- )
DEFUN (no_debug_ospf6,
no_debug_ospf6_cmd,
install_element_ospf6_debug_neighbor (void)
{
install_element (ENABLE_NODE, &debug_ospf6_neighbor_cmd);
- install_element (ENABLE_NODE, &debug_ospf6_neighbor_detail_cmd);
install_element (ENABLE_NODE, &no_debug_ospf6_neighbor_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf6_neighbor_detail_cmd);
install_element (ENABLE_NODE, &no_debug_ospf6_cmd);
install_element (CONFIG_NODE, &debug_ospf6_neighbor_cmd);
- install_element (CONFIG_NODE, &debug_ospf6_neighbor_detail_cmd);
install_element (CONFIG_NODE, &no_debug_ospf6_neighbor_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf6_neighbor_detail_cmd);
install_element (CONFIG_NODE, &no_debug_ospf6_cmd);
}
return ospf6_timers_spf_set (vty, delay, hold, max);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers throttle spf <0-600000> <0-600000> <0-600000>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "Throttling adaptive timer\n"
+ * "OSPF6 SPF timers\n"
+ * "Delay (msec) from first change received till SPF calculation\n"
+ * "Initial hold time (msec) between consecutive SPF calculations\n"
+ * "Maximum hold time (msec)\n"
+ *
+ */
DEFUN (no_ospf6_timers_throttle_spf,
no_ospf6_timers_throttle_spf_cmd,
"no timers throttle spf",
OSPF_SPF_MAX_HOLDTIME_DEFAULT);
}
-ALIAS (no_ospf6_timers_throttle_spf,
- no_ospf6_timers_throttle_spf_val_cmd,
- "no timers throttle spf <0-600000> <0-600000> <0-600000>",
- NO_STR
- "Adjust routing timers\n"
- "Throttling adaptive timer\n"
- "OSPF6 SPF timers\n"
- "Delay (msec) from first change received till SPF calculation\n"
- "Initial hold time (msec) between consecutive SPF calculations\n"
- "Maximum hold time (msec)\n")
int
config_write_ospf6_debug_spf (struct vty *vty)
{
install_element (OSPF6_NODE, &ospf6_timers_throttle_spf_cmd);
install_element (OSPF6_NODE, &no_ospf6_timers_throttle_spf_cmd);
- install_element (OSPF6_NODE, &no_ospf6_timers_throttle_spf_val_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers lsa min-arrival <0-600000>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "OSPF6 LSA timers\n"
+ * "Minimum delay in receiving new version of a LSA\n"
+ * "Delay in milliseconds\n"
+ *
+ */
DEFUN (no_ospf6_timers_lsa,
no_ospf6_timers_lsa_cmd,
"no timers lsa min-arrival",
return CMD_SUCCESS;
}
-ALIAS (no_ospf6_timers_lsa,
- no_ospf6_timers_lsa_val_cmd,
- "no timers lsa min-arrival <0-600000>",
- NO_STR
- "Adjust routing timers\n"
- "OSPF6 LSA timers\n"
- "Minimum delay in receiving new version of a LSA\n"
- "Delay in milliseconds\n")
DEFUN (ospf6_interface_area,
ospf6_interface_area_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 route (intra-area|inter-area|external-1|external-2)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * ROUTE_STR
+ * "Display Intra-Area routes\n"
+ * "Display Inter-Area routes\n"
+ * "Display Type-1 External routes\n"
+ * "Display Type-2 External routes\n"
+ *
+ *
+ * "show ipv6 ospf6 route (X:X::X:X|X:X::X:X/M|detail|summary)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * ROUTE_STR
+ * "Specify IPv6 address\n"
+ * "Specify IPv6 prefix\n"
+ * "Detailed information\n"
+ * "Summary of route table\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_route,
show_ipv6_ospf6_route_cmd,
"show ipv6 ospf6 route",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_route,
- show_ipv6_ospf6_route_detail_cmd,
- "show ipv6 ospf6 route (X:X::X:X|X:X::X:X/M|detail|summary)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- ROUTE_STR
- "Specify IPv6 address\n"
- "Specify IPv6 prefix\n"
- "Detailed information\n"
- "Summary of route table\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 route X:X::X:X/M longer",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * ROUTE_STR
+ * "Specify IPv6 prefix\n"
+ * "Display routes longer than the specified route\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_route_match,
show_ipv6_ospf6_route_match_cmd,
"show ipv6 ospf6 route X:X::X:X/M match",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_route_match,
- show_ipv6_ospf6_route_longer_cmd,
- "show ipv6 ospf6 route X:X::X:X/M longer",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- ROUTE_STR
- "Specify IPv6 prefix\n"
- "Display routes longer than the specified route\n"
- )
-ALIAS (show_ipv6_ospf6_route,
- show_ipv6_ospf6_route_type_cmd,
- "show ipv6 ospf6 route (intra-area|inter-area|external-1|external-2)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- ROUTE_STR
- "Display Intra-Area routes\n"
- "Display Inter-Area routes\n"
- "Display Type-1 External routes\n"
- "Display Type-2 External routes\n"
- )
DEFUN (show_ipv6_ospf6_route_type_detail,
show_ipv6_ospf6_route_type_detail_cmd,
install_element (CONFIG_NODE, &no_router_ospf6_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_route_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_route_detail_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_route_match_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_route_match_detail_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_route_longer_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_route_type_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_route_type_detail_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_route_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_route_detail_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_route_match_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_route_match_detail_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_route_longer_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_route_type_cmd);
install_element (ENABLE_NODE, &show_ipv6_ospf6_route_type_detail_cmd);
install_default (OSPF6_NODE);
/* LSA timers commands */
install_element (OSPF6_NODE, &ospf6_timers_lsa_cmd);
install_element (OSPF6_NODE, &no_ospf6_timers_lsa_cmd);
- install_element (OSPF6_NODE, &no_ospf6_timers_lsa_val_cmd);
install_element (OSPF6_NODE, &ospf6_interface_area_cmd);
install_element (OSPF6_NODE, &no_ospf6_interface_area_cmd);
/* Debug */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf6 zebra",
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug connection between zebra\n"
+ *
+ *
+ */
DEFUN (debug_ospf6_zebra_sendrecv,
debug_ospf6_zebra_sendrecv_cmd,
"debug ospf6 zebra (send|recv)",
return CMD_SUCCESS;
}
-ALIAS (debug_ospf6_zebra_sendrecv,
- debug_ospf6_zebra_cmd,
- "debug ospf6 zebra",
- DEBUG_STR
- OSPF6_STR
- "Debug connection between zebra\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf6 zebra",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF6_STR
+ * "Debug connection between zebra\n"
+ *
+ *
+ */
DEFUN (no_debug_ospf6_zebra_sendrecv,
no_debug_ospf6_zebra_sendrecv_cmd,
"no debug ospf6 zebra (send|recv)",
return CMD_SUCCESS;
}
-ALIAS (no_debug_ospf6_zebra_sendrecv,
- no_debug_ospf6_zebra_cmd,
- "no debug ospf6 zebra",
- NO_STR
- DEBUG_STR
- OSPF6_STR
- "Debug connection between zebra\n"
- )
int
config_write_ospf6_debug_zebra (struct vty *vty)
void
install_element_ospf6_debug_zebra (void)
{
- install_element (ENABLE_NODE, &debug_ospf6_zebra_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf6_zebra_cmd);
install_element (ENABLE_NODE, &debug_ospf6_zebra_sendrecv_cmd);
install_element (ENABLE_NODE, &no_debug_ospf6_zebra_sendrecv_cmd);
- install_element (CONFIG_NODE, &debug_ospf6_zebra_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf6_zebra_cmd);
install_element (CONFIG_NODE, &debug_ospf6_zebra_sendrecv_cmd);
install_element (CONFIG_NODE, &no_debug_ospf6_zebra_sendrecv_cmd);
}
return type;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database (detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database,
show_ipv6_ospf6_database_cmd,
"show ipv6 ospf6 database",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database,
- show_ipv6_ospf6_database_detail_cmd,
- "show ipv6 ospf6 database (detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type,
show_ipv6_ospf6_database_type_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix)",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type,
- show_ipv6_ospf6_database_type_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database * A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Any Link state Type\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ * "show ipv6 ospf6 database linkstate-id A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ * "show ipv6 ospf6 database linkstate-id A.B.C.D",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_id,
show_ipv6_ospf6_database_id_cmd,
"show ipv6 ospf6 database * A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_id,
- show_ipv6_ospf6_database_id_detail_cmd,
- "show ipv6 ospf6 database * A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Any Link state Type\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
-ALIAS (show_ipv6_ospf6_database_id,
- show_ipv6_ospf6_database_linkstate_id_cmd,
- "show ipv6 ospf6 database linkstate-id A.B.C.D",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- )
-ALIAS (show_ipv6_ospf6_database_id,
- show_ipv6_ospf6_database_linkstate_id_detail_cmd,
- "show ipv6 ospf6 database linkstate-id A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database * * A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Any Link state Type\n"
+ * "Any Link state ID\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ * "show ipv6 ospf6 database adv-router A.B.C.D",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Search by Advertising Router\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ *
+ *
+ * "show ipv6 ospf6 database adv-router A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Search by Advertising Router\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_router,
show_ipv6_ospf6_database_router_cmd,
"show ipv6 ospf6 database * * A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_router,
- show_ipv6_ospf6_database_router_detail_cmd,
- "show ipv6 ospf6 database * * A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Any Link state Type\n"
- "Any Link state ID\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
-ALIAS (show_ipv6_ospf6_database_router,
- show_ipv6_ospf6_database_adv_router_cmd,
- "show ipv6 ospf6 database adv-router A.B.C.D",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Search by Advertising Router\n"
- "Specify Advertising Router as IPv4 address notation\n"
- )
-ALIAS (show_ipv6_ospf6_database_router,
- show_ipv6_ospf6_database_adv_router_detail_cmd,
- "show ipv6 ospf6 database adv-router A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Search by Advertising Router\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) linkstate-id A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) linkstate-id A.B.C.D",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type_id,
show_ipv6_ospf6_database_type_id_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix) A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type_id,
- show_ipv6_ospf6_database_type_id_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
-ALIAS (show_ipv6_ospf6_database_type_id,
- show_ipv6_ospf6_database_type_linkstate_id_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) linkstate-id A.B.C.D",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- )
-ALIAS (show_ipv6_ospf6_database_type_id,
- show_ipv6_ospf6_database_type_linkstate_id_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) linkstate-id A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) * A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Any Link state ID\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) adv-router A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Search by Advertising Router\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) adv-router A.B.C.D",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Search by Advertising Router\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type_router,
show_ipv6_ospf6_database_type_router_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix) * A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type_router,
- show_ipv6_ospf6_database_type_router_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) * A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Any Link state ID\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
-ALIAS (show_ipv6_ospf6_database_type_router,
- show_ipv6_ospf6_database_type_adv_router_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) adv-router A.B.C.D",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Search by Advertising Router\n"
- "Specify Advertising Router as IPv4 address notation\n"
- )
-ALIAS (show_ipv6_ospf6_database_type_router,
- show_ipv6_ospf6_database_type_adv_router_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) adv-router A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Search by Advertising Router\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database * A.B.C.D A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Any Link state Type\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_id_router,
show_ipv6_ospf6_database_id_router_cmd,
"show ipv6 ospf6 database * A.B.C.D A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_id_router,
- show_ipv6_ospf6_database_id_router_detail_cmd,
- "show ipv6 ospf6 database * A.B.C.D A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Any Link state Type\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database adv-router A.B.C.D linkstate-id A.B.C.D "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Search by Advertising Router\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_adv_router_linkstate_id,
show_ipv6_ospf6_database_adv_router_linkstate_id_cmd,
"show ipv6 ospf6 database adv-router A.B.C.D linkstate-id A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_adv_router_linkstate_id,
- show_ipv6_ospf6_database_adv_router_linkstate_id_detail_cmd,
- "show ipv6 ospf6 database adv-router A.B.C.D linkstate-id A.B.C.D "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Search by Advertising Router\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) A.B.C.D A.B.C.D "
+ * "(dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type_id_router,
show_ipv6_ospf6_database_type_id_router_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix) A.B.C.D A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type_id_router,
- show_ipv6_ospf6_database_type_id_router_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) A.B.C.D A.B.C.D "
- "(dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) "
+ * "adv-router A.B.C.D linkstate-id A.B.C.D "
+ * "(dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Search by Advertising Router\n"
+ * "Specify Advertising Router as IPv4 address notation\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type_adv_router_linkstate_id,
show_ipv6_ospf6_database_type_adv_router_linkstate_id_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix) adv-router A.B.C.D linkstate-id A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type_adv_router_linkstate_id,
- show_ipv6_ospf6_database_type_adv_router_linkstate_id_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) "
- "adv-router A.B.C.D linkstate-id A.B.C.D "
- "(dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Search by Advertising Router\n"
- "Specify Advertising Router as IPv4 address notation\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database self-originated "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Self-originated LSAs\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_self_originated,
show_ipv6_ospf6_database_self_originated_cmd,
"show ipv6 ospf6 database self-originated",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_self_originated,
- show_ipv6_ospf6_database_self_originated_detail_cmd,
- "show ipv6 ospf6 database self-originated "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Self-originated LSAs\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) self-originated "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Display Self-originated LSAs\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type_self_originated,
show_ipv6_ospf6_database_type_self_originated_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix) self-originated",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type_self_originated,
- show_ipv6_ospf6_database_type_self_originated_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) self-originated "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Display Self-originated LSAs\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) self-originated "
+ * "linkstate-id A.B.C.D (detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Display Self-originated LSAs\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type_self_originated_linkstate_id,
show_ipv6_ospf6_database_type_self_originated_linkstate_id_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix) self-originated linkstate-id A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type_self_originated_linkstate_id,
- show_ipv6_ospf6_database_type_self_originated_linkstate_id_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) self-originated "
- "linkstate-id A.B.C.D (detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Display Self-originated LSAs\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 database "
+ * "(router|network|inter-prefix|inter-router|as-external|"
+ * "group-membership|type-7|link|intra-prefix) A.B.C.D self-originated "
+ * "(detail|dump|internal)",
+ * SHOW_STR
+ * IPV6_STR
+ * OSPF6_STR
+ * "Display Link state database\n"
+ * "Display Router LSAs\n"
+ * "Display Network LSAs\n"
+ * "Display Inter-Area-Prefix LSAs\n"
+ * "Display Inter-Area-Router LSAs\n"
+ * "Display As-External LSAs\n"
+ * "Display Group-Membership LSAs\n"
+ * "Display Type-7 LSAs\n"
+ * "Display Link LSAs\n"
+ * "Display Intra-Area-Prefix LSAs\n"
+ * "Display Self-originated LSAs\n"
+ * "Search by Link state ID\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ * "Display details of LSAs\n"
+ * "Dump LSAs\n"
+ * "Display LSA's internal information\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_database_type_id_self_originated,
show_ipv6_ospf6_database_type_id_self_originated_cmd,
"show ipv6 ospf6 database (router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix) A.B.C.D self-originated",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_database_type_id_self_originated,
- show_ipv6_ospf6_database_type_id_self_originated_detail_cmd,
- "show ipv6 ospf6 database "
- "(router|network|inter-prefix|inter-router|as-external|"
- "group-membership|type-7|link|intra-prefix) A.B.C.D self-originated "
- "(detail|dump|internal)",
- SHOW_STR
- IPV6_STR
- OSPF6_STR
- "Display Link state database\n"
- "Display Router LSAs\n"
- "Display Network LSAs\n"
- "Display Inter-Area-Prefix LSAs\n"
- "Display Inter-Area-Router LSAs\n"
- "Display As-External LSAs\n"
- "Display Group-Membership LSAs\n"
- "Display Type-7 LSAs\n"
- "Display Link LSAs\n"
- "Display Intra-Area-Prefix LSAs\n"
- "Display Self-originated LSAs\n"
- "Search by Link state ID\n"
- "Specify Link state ID as IPv4 address notation\n"
- "Display details of LSAs\n"
- "Dump LSAs\n"
- "Display LSA's internal information\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 border-routers (A.B.C.D|detail)",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * "Display routing table for ABR and ASBR\n"
+ * "Specify Router-ID\n"
+ * "Display Detail\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_border_routers,
show_ipv6_ospf6_border_routers_cmd,
"show ipv6 ospf6 border-routers",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_border_routers,
- show_ipv6_ospf6_border_routers_detail_cmd,
- "show ipv6 ospf6 border-routers (A.B.C.D|detail)",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- "Display routing table for ABR and ASBR\n"
- "Specify Router-ID\n"
- "Display Detail\n"
- )
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 ospf6 linkstate network A.B.C.D A.B.C.D",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * "Display linkstate routing table\n"
+ * "Display Network Entry\n"
+ * "Specify Router ID as IPv4 address notation\n"
+ * "Specify Link state ID as IPv4 address notation\n"
+ *
+ *
+ * "show ipv6 ospf6 linkstate router A.B.C.D",
+ * SHOW_STR
+ * IP6_STR
+ * OSPF6_STR
+ * "Display linkstate routing table\n"
+ * "Display Router Entry\n"
+ * "Specify Router ID as IPv4 address notation\n"
+ *
+ *
+ */
DEFUN (show_ipv6_ospf6_linkstate,
show_ipv6_ospf6_linkstate_cmd,
"show ipv6 ospf6 linkstate",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_ospf6_linkstate,
- show_ipv6_ospf6_linkstate_router_cmd,
- "show ipv6 ospf6 linkstate router A.B.C.D",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- "Display linkstate routing table\n"
- "Display Router Entry\n"
- "Specify Router ID as IPv4 address notation\n"
- )
-ALIAS (show_ipv6_ospf6_linkstate,
- show_ipv6_ospf6_linkstate_network_cmd,
- "show ipv6 ospf6 linkstate network A.B.C.D A.B.C.D",
- SHOW_STR
- IP6_STR
- OSPF6_STR
- "Display linkstate routing table\n"
- "Display Network Entry\n"
- "Specify Router ID as IPv4 address notation\n"
- "Specify Link state ID as IPv4 address notation\n"
- )
DEFUN (show_ipv6_ospf6_linkstate_detail,
show_ipv6_ospf6_linkstate_detail_cmd,
ospf6_bfd_init();
install_node (&debug_node, config_write_ospf6_debug);
- install_element_ospf6_debug_message ();
- install_element_ospf6_debug_lsa ();
- install_element_ospf6_debug_interface ();
- install_element_ospf6_debug_neighbor ();
- install_element_ospf6_debug_zebra ();
- install_element_ospf6_debug_spf ();
- install_element_ospf6_debug_route ();
- install_element_ospf6_debug_brouter ();
- install_element_ospf6_debug_asbr ();
- install_element_ospf6_debug_abr ();
- install_element_ospf6_debug_flood ();
-
- install_element_ospf6_clear_interface ();
-
- install_element (VIEW_NODE, &show_version_ospf6_cmd);
- install_element (ENABLE_NODE, &show_version_ospf6_cmd);
-
- install_element (VIEW_NODE, &show_ipv6_ospf6_border_routers_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_border_routers_detail_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_border_routers_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_border_routers_detail_cmd);
-
- install_element (VIEW_NODE, &show_ipv6_ospf6_linkstate_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_linkstate_router_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_linkstate_network_cmd);
- install_element (VIEW_NODE, &show_ipv6_ospf6_linkstate_detail_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_linkstate_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_linkstate_router_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_linkstate_network_cmd);
- install_element (ENABLE_NODE, &show_ipv6_ospf6_linkstate_detail_cmd);
-
-#define INSTALL(n,c) \
- install_element (n ## _NODE, &show_ipv6_ospf6_ ## c)
-
- INSTALL (VIEW, database_cmd);
- INSTALL (VIEW, database_detail_cmd);
- INSTALL (VIEW, database_type_cmd);
- INSTALL (VIEW, database_type_detail_cmd);
- INSTALL (VIEW, database_id_cmd);
- INSTALL (VIEW, database_id_detail_cmd);
- INSTALL (VIEW, database_linkstate_id_cmd);
- INSTALL (VIEW, database_linkstate_id_detail_cmd);
- INSTALL (VIEW, database_router_cmd);
- INSTALL (VIEW, database_router_detail_cmd);
- INSTALL (VIEW, database_adv_router_cmd);
- INSTALL (VIEW, database_adv_router_detail_cmd);
- INSTALL (VIEW, database_type_id_cmd);
- INSTALL (VIEW, database_type_id_detail_cmd);
- INSTALL (VIEW, database_type_linkstate_id_cmd);
- INSTALL (VIEW, database_type_linkstate_id_detail_cmd);
- INSTALL (VIEW, database_type_router_cmd);
- INSTALL (VIEW, database_type_router_detail_cmd);
- INSTALL (VIEW, database_type_adv_router_cmd);
- INSTALL (VIEW, database_type_adv_router_detail_cmd);
- INSTALL (VIEW, database_adv_router_linkstate_id_cmd);
- INSTALL (VIEW, database_adv_router_linkstate_id_detail_cmd);
- INSTALL (VIEW, database_id_router_cmd);
- INSTALL (VIEW, database_id_router_detail_cmd);
- INSTALL (VIEW, database_type_id_router_cmd);
- INSTALL (VIEW, database_type_id_router_detail_cmd);
- INSTALL (VIEW, database_type_adv_router_linkstate_id_cmd);
- INSTALL (VIEW, database_type_adv_router_linkstate_id_detail_cmd);
- INSTALL (VIEW, database_self_originated_cmd);
- INSTALL (VIEW, database_self_originated_detail_cmd);
- INSTALL (VIEW, database_type_self_originated_cmd);
- INSTALL (VIEW, database_type_self_originated_detail_cmd);
- INSTALL (VIEW, database_type_id_self_originated_cmd);
- INSTALL (VIEW, database_type_id_self_originated_detail_cmd);
- INSTALL (VIEW, database_type_self_originated_linkstate_id_cmd);
- INSTALL (VIEW, database_type_self_originated_linkstate_id_detail_cmd);
-
- INSTALL (ENABLE, database_cmd);
- INSTALL (ENABLE, database_detail_cmd);
- INSTALL (ENABLE, database_type_cmd);
- INSTALL (ENABLE, database_type_detail_cmd);
- INSTALL (ENABLE, database_id_cmd);
- INSTALL (ENABLE, database_id_detail_cmd);
- INSTALL (ENABLE, database_linkstate_id_cmd);
- INSTALL (ENABLE, database_linkstate_id_detail_cmd);
- INSTALL (ENABLE, database_router_cmd);
- INSTALL (ENABLE, database_router_detail_cmd);
- INSTALL (ENABLE, database_adv_router_cmd);
- INSTALL (ENABLE, database_adv_router_detail_cmd);
- INSTALL (ENABLE, database_type_id_cmd);
- INSTALL (ENABLE, database_type_id_detail_cmd);
- INSTALL (ENABLE, database_type_linkstate_id_cmd);
- INSTALL (ENABLE, database_type_linkstate_id_detail_cmd);
- INSTALL (ENABLE, database_type_router_cmd);
- INSTALL (ENABLE, database_type_router_detail_cmd);
- INSTALL (ENABLE, database_type_adv_router_cmd);
- INSTALL (ENABLE, database_type_adv_router_detail_cmd);
- INSTALL (ENABLE, database_adv_router_linkstate_id_cmd);
- INSTALL (ENABLE, database_adv_router_linkstate_id_detail_cmd);
- INSTALL (ENABLE, database_id_router_cmd);
- INSTALL (ENABLE, database_id_router_detail_cmd);
- INSTALL (ENABLE, database_type_id_router_cmd);
- INSTALL (ENABLE, database_type_id_router_detail_cmd);
- INSTALL (ENABLE, database_type_adv_router_linkstate_id_cmd);
- INSTALL (ENABLE, database_type_adv_router_linkstate_id_detail_cmd);
- INSTALL (ENABLE, database_self_originated_cmd);
- INSTALL (ENABLE, database_self_originated_detail_cmd);
- INSTALL (ENABLE, database_type_self_originated_cmd);
- INSTALL (ENABLE, database_type_self_originated_detail_cmd);
- INSTALL (ENABLE, database_type_id_self_originated_cmd);
- INSTALL (ENABLE, database_type_id_self_originated_detail_cmd);
- INSTALL (ENABLE, database_type_self_originated_linkstate_id_cmd);
- INSTALL (ENABLE, database_type_self_originated_linkstate_id_detail_cmd);
-
- /* Make ospf protocol socket. */
- ospf6_serv_sock ();
- thread_add_read (master, ospf6_receive, NULL, ospf6_sock);
-}
-
-void
-ospf6_clean (void)
-{
- if (!ospf6)
- return;
- if (ospf6->route_table)
- ospf6_route_remove_all (ospf6->route_table);
- if (ospf6->brouter_table)
- ospf6_route_remove_all (ospf6->brouter_table);
-}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Enables BFD support\n"
+ * "Detect Multiplier\n"
+ * "Required min receive interval\n"
+ * "Desired min transmit interval\n"
+ *
+ */
DEFUN (no_ip_ospf_bfd,
no_ip_ospf_bfd_cmd,
"no ip ospf bfd",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_bfd,
- no_ip_ospf_bfd_param_cmd,
- "no ip ospf bfd " BFD_CMD_DETECT_MULT_RANGE BFD_CMD_MIN_RX_RANGE BFD_CMD_MIN_TX_RANGE,
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Enables BFD support\n"
- "Detect Multiplier\n"
- "Required min receive interval\n"
- "Desired min transmit interval\n")
void
ospf_bfd_init(void)
install_element (INTERFACE_NODE, &ip_ospf_bfd_cmd);
install_element (INTERFACE_NODE, &ip_ospf_bfd_param_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_bfd_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_bfd_param_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail Information\n"
+ *
+ * "debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail information\n"
+ *
+ */
DEFUN (debug_ospf_packet,
debug_ospf_packet_all_cmd,
"debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all)",
return (debug_ospf_packet_common(vty, 0, argc, argv));
}
-ALIAS (debug_ospf_packet,
- debug_ospf_packet_send_recv_cmd,
- "debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
- "Debugging functions\n"
- "OSPF information\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail information\n")
-
-ALIAS (debug_ospf_packet,
- debug_ospf_packet_send_recv_detail_cmd,
- "debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
- "Debugging functions\n"
- "OSPF information\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail Information\n")
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail information\n"
+ *
+ * "debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail Information\n"
+ *
+ */
DEFUN (debug_ospf_instance_packet,
debug_ospf_instance_packet_all_cmd,
"debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all)",
return (debug_ospf_packet_common(vty, 1, argc, argv));
}
-ALIAS (debug_ospf_instance_packet,
- debug_ospf_instance_packet_send_recv_cmd,
- "debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
- "Debugging functions\n"
- "OSPF information\n"
- "Instance ID\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail information\n")
-
-ALIAS (debug_ospf_instance_packet,
- debug_ospf_instance_packet_send_recv_detail_cmd,
- "debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
- "Debugging functions\n"
- "OSPF information\n"
- "Instance ID\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail Information\n")
+
static int
no_debug_ospf_packet_common (struct vty *vty, int arg_base, int argc,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail Information\n"
+ *
+ * "no debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail Information\n"
+ *
+ */
DEFUN (no_debug_ospf_packet,
no_debug_ospf_packet_all_cmd,
"no debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all)",
return no_debug_ospf_packet_common(vty, 0, argc, argv);
}
-ALIAS (no_debug_ospf_packet,
- no_debug_ospf_packet_send_recv_cmd,
- "no debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail Information\n")
-
-ALIAS (no_debug_ospf_packet,
- no_debug_ospf_packet_send_recv_detail_cmd,
- "no debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail Information\n")
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail Information\n"
+ *
+ * "no debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "OSPF packets\n"
+ * "OSPF Hello\n"
+ * "OSPF Database Description\n"
+ * "OSPF Link State Request\n"
+ * "OSPF Link State Update\n"
+ * "OSPF Link State Acknowledgment\n"
+ * "OSPF all packets\n"
+ * "Packet sent\n"
+ * "Packet received\n"
+ * "Detail Information\n"
+ *
+ */
DEFUN (no_debug_ospf_instance_packet,
no_debug_ospf_instance_packet_all_cmd,
"no debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all)",
return (no_debug_ospf_packet_common(vty, 1, argc, argv));
}
-ALIAS (no_debug_ospf_instance_packet,
- no_debug_ospf_instance_packet_send_recv_cmd,
- "no debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv|detail)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "Instance ID\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail Information\n")
-
-ALIAS (no_debug_ospf_instance_packet,
- no_debug_ospf_instance_packet_send_recv_detail_cmd,
- "no debug ospf <1-65535> packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) (detail|)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "Instance ID\n"
- "OSPF packets\n"
- "OSPF Hello\n"
- "OSPF Database Description\n"
- "OSPF Link State Request\n"
- "OSPF Link State Update\n"
- "OSPF Link State Acknowledgment\n"
- "OSPF all packets\n"
- "Packet sent\n"
- "Packet received\n"
- "Detail Information\n")
+
static int
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf ism (status|events|timers)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "OSPF Interface State Machine\n"
+ * "ISM Status Information\n"
+ * "ISM Event Information\n"
+ * "ISM TImer Information\n"
+ *
+ */
DEFUN (debug_ospf_ism,
debug_ospf_ism_cmd,
"debug ospf ism",
return debug_ospf_ism_common(vty, 0, argc, argv);
}
-ALIAS (debug_ospf_ism,
- debug_ospf_ism_sub_cmd,
- "debug ospf ism (status|events|timers)",
- DEBUG_STR
- OSPF_STR
- "OSPF Interface State Machine\n"
- "ISM Status Information\n"
- "ISM Event Information\n"
- "ISM TImer Information\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf <1-65535> ism (status|events|timers)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "Instance ID\n"
+ * "OSPF Interface State Machine\n"
+ * "ISM Status Information\n"
+ * "ISM Event Information\n"
+ * "ISM TImer Information\n"
+ *
+ */
DEFUN (debug_ospf_instance_ism,
debug_ospf_instance_ism_cmd,
"debug ospf <1-65535> ism",
return debug_ospf_ism_common(vty, 1, argc, argv);
}
-ALIAS (debug_ospf_instance_ism,
- debug_ospf_instance_ism_sub_cmd,
- "debug ospf <1-65535> ism (status|events|timers)",
- DEBUG_STR
- OSPF_STR
- "Instance ID\n"
- "OSPF Interface State Machine\n"
- "ISM Status Information\n"
- "ISM Event Information\n"
- "ISM TImer Information\n")
static int
no_debug_ospf_ism_common(struct vty *vty, int arg_base, int argc,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf ism (status|events|timers)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "OSPF Interface State Machine\n"
+ * "ISM Status Information\n"
+ * "ISM Event Information\n"
+ * "ISM Timer Information\n"
+ *
+ */
DEFUN (no_debug_ospf_ism,
no_debug_ospf_ism_cmd,
"no debug ospf ism",
return no_debug_ospf_ism_common(vty, 0, argc, argv);
}
-ALIAS (no_debug_ospf_ism,
- no_debug_ospf_ism_sub_cmd,
- "no debug ospf ism (status|events|timers)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "OSPF Interface State Machine\n"
- "ISM Status Information\n"
- "ISM Event Information\n"
- "ISM Timer Information\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf <1-65535> ism (status|events|timers)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "OSPF Interface State Machine\n"
+ * "ISM Status Information\n"
+ * "ISM Event Information\n"
+ * "ISM Timer Information\n"
+ *
+ */
DEFUN (no_debug_ospf_instance_ism,
no_debug_ospf_instance_ism_cmd,
"no debug ospf <1-65535> ism",
return no_debug_ospf_ism_common(vty, 1, argc, argv);
}
-ALIAS (no_debug_ospf_instance_ism,
- no_debug_ospf_instance_ism_sub_cmd,
- "no debug ospf <1-65535> ism (status|events|timers)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "Instance ID\n"
- "OSPF Interface State Machine\n"
- "ISM Status Information\n"
- "ISM Event Information\n"
- "ISM Timer Information\n")
static int
debug_ospf_nsm_common (struct vty *vty, int arg_base, int argc, struct cmd_token **argv)
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf nsm (status|events|timers)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "OSPF Neighbor State Machine\n"
+ * "NSM Status Information\n"
+ * "NSM Event Information\n"
+ * "NSM Timer Information\n"
+ *
+ */
DEFUN (debug_ospf_nsm,
debug_ospf_nsm_cmd,
"debug ospf nsm",
return debug_ospf_nsm_common (vty, 0, argc, argv);
}
-ALIAS (debug_ospf_nsm,
- debug_ospf_nsm_sub_cmd,
- "debug ospf nsm (status|events|timers)",
- DEBUG_STR
- OSPF_STR
- "OSPF Neighbor State Machine\n"
- "NSM Status Information\n"
- "NSM Event Information\n"
- "NSM Timer Information\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf <1-65535> nsm (status|events|timers)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "Instance ID\n"
+ * "OSPF Neighbor State Machine\n"
+ * "NSM Status Information\n"
+ * "NSM Event Information\n"
+ * "NSM Timer Information\n"
+ *
+ */
DEFUN (debug_ospf_instance_nsm,
debug_ospf_instance_nsm_cmd,
"debug ospf <1-65535> nsm",
return debug_ospf_nsm_common (vty, 1, argc, argv);
}
-ALIAS (debug_ospf_instance_nsm,
- debug_ospf_instance_nsm_sub_cmd,
- "debug ospf <1-65535> nsm (status|events|timers)",
- DEBUG_STR
- OSPF_STR
- "Instance ID\n"
- "OSPF Neighbor State Machine\n"
- "NSM Status Information\n"
- "NSM Event Information\n"
- "NSM Timer Information\n")
static int
no_debug_ospf_nsm_common (struct vty *vty, int arg_base, int argc, struct cmd_token **argv)
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf nsm (status|events|timers)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "OSPF Interface State Machine\n"
+ * "NSM Status Information\n"
+ * "NSM Event Information\n"
+ * "NSM Timer Information\n"
+ *
+ */
DEFUN (no_debug_ospf_nsm,
no_debug_ospf_nsm_cmd,
"no debug ospf nsm",
return no_debug_ospf_nsm_common(vty, 0, argc, argv);
}
-ALIAS (no_debug_ospf_nsm,
- no_debug_ospf_nsm_sub_cmd,
- "no debug ospf nsm (status|events|timers)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "OSPF Interface State Machine\n"
- "NSM Status Information\n"
- "NSM Event Information\n"
- "NSM Timer Information\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf <1-65535> nsm (status|events|timers)",
+ * NO_STR
+ * "Debugging functions\n"
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "OSPF Interface State Machine\n"
+ * "NSM Status Information\n"
+ * "NSM Event Information\n"
+ * "NSM Timer Information\n"
+ *
+ */
DEFUN (no_debug_ospf_instance_nsm,
no_debug_ospf_instance_nsm_cmd,
"no debug ospf <1-65535> nsm",
return no_debug_ospf_nsm_common(vty, 1, argc, argv);
}
-ALIAS (no_debug_ospf_instance_nsm,
- no_debug_ospf_instance_nsm_sub_cmd,
- "no debug ospf <1-65535> nsm (status|events|timers)",
- NO_STR
- "Debugging functions\n"
- "OSPF information\n"
- "Instance ID\n"
- "OSPF Interface State Machine\n"
- "NSM Status Information\n"
- "NSM Event Information\n"
- "NSM Timer Information\n")
static int
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf lsa (generate|flooding|install|refresh)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "OSPF Link State Advertisement\n"
+ * "LSA Generation\n"
+ * "LSA Flooding\n"
+ * "LSA Install/Delete\n"
+ * "LSA Refresh\n"
+ *
+ */
DEFUN (debug_ospf_lsa,
debug_ospf_lsa_cmd,
"debug ospf lsa",
return debug_ospf_lsa_common(vty, 0, argc, argv);
}
-ALIAS (debug_ospf_lsa,
- debug_ospf_lsa_sub_cmd,
- "debug ospf lsa (generate|flooding|install|refresh)",
- DEBUG_STR
- OSPF_STR
- "OSPF Link State Advertisement\n"
- "LSA Generation\n"
- "LSA Flooding\n"
- "LSA Install/Delete\n"
- "LSA Refresh\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf <1-65535> lsa (generate|flooding|install|refresh)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "Instance ID\n"
+ * "OSPF Link State Advertisement\n"
+ * "LSA Generation\n"
+ * "LSA Flooding\n"
+ * "LSA Install/Delete\n"
+ * "LSA Refresh\n"
+ *
+ */
DEFUN (debug_ospf_instance_lsa,
debug_ospf_instance_lsa_cmd,
"debug ospf <1-65535> lsa",
return debug_ospf_lsa_common(vty, 1, argc, argv);
}
-ALIAS (debug_ospf_instance_lsa,
- debug_ospf_instance_lsa_sub_cmd,
- "debug ospf <1-65535> lsa (generate|flooding|install|refresh)",
- DEBUG_STR
- OSPF_STR
- "Instance ID\n"
- "OSPF Link State Advertisement\n"
- "LSA Generation\n"
- "LSA Flooding\n"
- "LSA Install/Delete\n"
- "LSA Refresh\n")
static int
no_debug_ospf_lsa_common (struct vty *vty, int arg_base, int argc, struct cmd_token **argv)
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf lsa (generate|flooding|install|refresh)",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF_STR
+ * "OSPF Link State Advertisement\n"
+ * "LSA Generation\n"
+ * "LSA Flooding\n"
+ * "LSA Install/Delete\n"
+ * "LSA Refres\n"
+ *
+ */
DEFUN (no_debug_ospf_lsa,
no_debug_ospf_lsa_cmd,
"no debug ospf lsa",
return no_debug_ospf_lsa_common (vty, 0, argc, argv);
}
-ALIAS (no_debug_ospf_lsa,
- no_debug_ospf_lsa_sub_cmd,
- "no debug ospf lsa (generate|flooding|install|refresh)",
- NO_STR
- DEBUG_STR
- OSPF_STR
- "OSPF Link State Advertisement\n"
- "LSA Generation\n"
- "LSA Flooding\n"
- "LSA Install/Delete\n"
- "LSA Refres\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf <1-65535> lsa (generate|flooding|install|refresh)",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF_STR
+ * "Instance ID\n"
+ * "OSPF Link State Advertisement\n"
+ * "LSA Generation\n"
+ * "LSA Flooding\n"
+ * "LSA Install/Delete\n"
+ * "LSA Refres\n"
+ *
+ */
DEFUN (no_debug_ospf_instance_lsa,
no_debug_ospf_instance_lsa_cmd,
"no debug ospf <1-65535> lsa",
return no_debug_ospf_lsa_common (vty, 1, argc, argv);
}
-ALIAS (no_debug_ospf_instance_lsa,
- no_debug_ospf_instance_lsa_sub_cmd,
- "no debug ospf <1-65535> lsa (generate|flooding|install|refresh)",
- NO_STR
- DEBUG_STR
- OSPF_STR
- "Instance ID\n"
- "OSPF Link State Advertisement\n"
- "LSA Generation\n"
- "LSA Flooding\n"
- "LSA Install/Delete\n"
- "LSA Refres\n")
static int
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf zebra (interface|redistribute)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "OSPF Zebra information\n"
+ * "Zebra interface\n"
+ * "Zebra redistribute\n"
+ *
+ */
DEFUN (debug_ospf_zebra,
debug_ospf_zebra_cmd,
"debug ospf zebra",
return debug_ospf_zebra_common(vty, 0, argc, argv);
}
-ALIAS (debug_ospf_zebra,
- debug_ospf_zebra_sub_cmd,
- "debug ospf zebra (interface|redistribute)",
- DEBUG_STR
- OSPF_STR
- "OSPF Zebra information\n"
- "Zebra interface\n"
- "Zebra redistribute\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "debug ospf <1-65535> zebra (interface|redistribute)",
+ * DEBUG_STR
+ * OSPF_STR
+ * "Instance ID\n"
+ * "OSPF Zebra information\n"
+ * "Zebra interface\n"
+ * "Zebra redistribute\n"
+ *
+ */
DEFUN (debug_ospf_instance_zebra,
debug_ospf_instance_zebra_cmd,
"debug ospf <1-65535> zebra",
return debug_ospf_zebra_common(vty, 1, argc, argv);
}
-ALIAS (debug_ospf_instance_zebra,
- debug_ospf_instance_zebra_sub_cmd,
- "debug ospf <1-65535> zebra (interface|redistribute)",
- DEBUG_STR
- OSPF_STR
- "Instance ID\n"
- "OSPF Zebra information\n"
- "Zebra interface\n"
- "Zebra redistribute\n")
static int
no_debug_ospf_zebra_common(struct vty *vty, int arg_base, int argc,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf zebra (interface|redistribute)",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF_STR
+ * "OSPF Zebra information\n"
+ * "Zebra interface\n"
+ * "Zebra redistribute\n"
+ *
+ */
DEFUN (no_debug_ospf_zebra,
no_debug_ospf_zebra_cmd,
"no debug ospf zebra",
return no_debug_ospf_zebra_common(vty, 0, argc, argv);
}
-ALIAS (no_debug_ospf_zebra,
- no_debug_ospf_zebra_sub_cmd,
- "no debug ospf zebra (interface|redistribute)",
- NO_STR
- DEBUG_STR
- OSPF_STR
- "OSPF Zebra information\n"
- "Zebra interface\n"
- "Zebra redistribute\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no debug ospf <1-65535> zebra (interface|redistribute)",
+ * NO_STR
+ * DEBUG_STR
+ * OSPF_STR
+ * "Instance ID\n"
+ * "OSPF Zebra information\n"
+ * "Zebra interface\n"
+ * "Zebra redistribute\n"
+ *
+ */
DEFUN (no_debug_ospf_instance_zebra,
no_debug_ospf_instance_zebra_cmd,
"no debug ospf <1-65535> zebra",
return no_debug_ospf_zebra_common(vty, 1, argc, argv);
}
-ALIAS (no_debug_ospf_instance_zebra,
- no_debug_ospf_instance_zebra_sub_cmd,
- "no debug ospf <1-65535> zebra (interface|redistribute)",
- NO_STR
- DEBUG_STR
- OSPF_STR
- "Instance ID\n"
- "OSPF Zebra information\n"
- "Zebra interface\n"
- "Zebra redistribute\n")
DEFUN (debug_ospf_event,
install_node (&debug_node, config_write_debug);
install_element (ENABLE_NODE, &show_debugging_ospf_cmd);
- install_element (ENABLE_NODE, &debug_ospf_packet_send_recv_detail_cmd);
- install_element (ENABLE_NODE, &debug_ospf_packet_send_recv_cmd);
install_element (ENABLE_NODE, &debug_ospf_packet_all_cmd);
- install_element (ENABLE_NODE, &debug_ospf_ism_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_ism_cmd);
- install_element (ENABLE_NODE, &debug_ospf_nsm_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_nsm_cmd);
- install_element (ENABLE_NODE, &debug_ospf_lsa_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_lsa_cmd);
- install_element (ENABLE_NODE, &debug_ospf_zebra_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_zebra_cmd);
install_element (ENABLE_NODE, &debug_ospf_event_cmd);
install_element (ENABLE_NODE, &debug_ospf_nssa_cmd);
install_element (ENABLE_NODE, &debug_ospf_te_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_packet_send_recv_detail_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_packet_send_recv_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_packet_all_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_ism_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_ism_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_nsm_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_nsm_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_lsa_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_lsa_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_zebra_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_zebra_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_event_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_nssa_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_te_cmd);
install_element (ENABLE_NODE, &show_debugging_ospf_instance_cmd);
- install_element (ENABLE_NODE, &debug_ospf_instance_packet_send_recv_detail_cmd);
- install_element (ENABLE_NODE, &debug_ospf_instance_packet_send_recv_cmd);
install_element (ENABLE_NODE, &debug_ospf_instance_packet_all_cmd);
- install_element (ENABLE_NODE, &debug_ospf_instance_ism_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_instance_ism_cmd);
- install_element (ENABLE_NODE, &debug_ospf_instance_nsm_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_instance_nsm_cmd);
- install_element (ENABLE_NODE, &debug_ospf_instance_lsa_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_instance_lsa_cmd);
- install_element (ENABLE_NODE, &debug_ospf_instance_zebra_sub_cmd);
install_element (ENABLE_NODE, &debug_ospf_instance_zebra_cmd);
install_element (ENABLE_NODE, &debug_ospf_instance_event_cmd);
install_element (ENABLE_NODE, &debug_ospf_instance_nssa_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_instance_packet_send_recv_detail_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_instance_packet_send_recv_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_instance_packet_all_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_instance_ism_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_instance_ism_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_instance_nsm_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_instance_nsm_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_instance_lsa_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_instance_lsa_cmd);
- install_element (ENABLE_NODE, &no_debug_ospf_instance_zebra_sub_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_instance_zebra_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_instance_event_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_instance_nssa_cmd);
install_element (ENABLE_NODE, &no_debug_ospf_cmd);
- install_element (CONFIG_NODE, &debug_ospf_packet_send_recv_detail_cmd);
- install_element (CONFIG_NODE, &debug_ospf_packet_send_recv_cmd);
install_element (CONFIG_NODE, &debug_ospf_packet_all_cmd);
- install_element (CONFIG_NODE, &debug_ospf_ism_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_ism_cmd);
- install_element (CONFIG_NODE, &debug_ospf_nsm_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_nsm_cmd);
- install_element (CONFIG_NODE, &debug_ospf_lsa_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_lsa_cmd);
- install_element (CONFIG_NODE, &debug_ospf_zebra_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_zebra_cmd);
install_element (CONFIG_NODE, &debug_ospf_event_cmd);
install_element (CONFIG_NODE, &debug_ospf_nssa_cmd);
install_element (CONFIG_NODE, &debug_ospf_te_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_packet_send_recv_detail_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_packet_send_recv_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_packet_all_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_ism_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_ism_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_nsm_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_nsm_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_lsa_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_lsa_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_zebra_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_zebra_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_event_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_nssa_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_te_cmd);
- install_element (CONFIG_NODE, &debug_ospf_instance_packet_send_recv_detail_cmd);
- install_element (CONFIG_NODE, &debug_ospf_instance_packet_send_recv_cmd);
install_element (CONFIG_NODE, &debug_ospf_instance_packet_all_cmd);
- install_element (CONFIG_NODE, &debug_ospf_instance_ism_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_instance_ism_cmd);
- install_element (CONFIG_NODE, &debug_ospf_instance_nsm_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_instance_nsm_cmd);
- install_element (CONFIG_NODE, &debug_ospf_instance_lsa_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_instance_lsa_cmd);
- install_element (CONFIG_NODE, &debug_ospf_instance_zebra_sub_cmd);
install_element (CONFIG_NODE, &debug_ospf_instance_zebra_cmd);
install_element (CONFIG_NODE, &debug_ospf_instance_event_cmd);
install_element (CONFIG_NODE, &debug_ospf_instance_nssa_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_instance_packet_send_recv_detail_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_instance_packet_send_recv_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_instance_packet_all_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_instance_ism_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_instance_ism_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_instance_nsm_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_instance_nsm_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_instance_lsa_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_instance_lsa_cmd);
- install_element (CONFIG_NODE, &no_debug_ospf_instance_zebra_sub_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_instance_zebra_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_instance_event_cmd);
install_element (CONFIG_NODE, &no_debug_ospf_instance_nssa_cmd);
* Followings are (vty) configuration functions for Opaque-LSAs handling.
*------------------------------------------------------------------------*/
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ospf opaque-lsa",
+ * "OSPF specific commands\n"
+ * "Enable the Opaque-LSA capability (rfc2370)\n"
+ *
+ */
DEFUN (capability_opaque,
capability_opaque_cmd,
"capability opaque",
return CMD_SUCCESS;
}
-ALIAS (capability_opaque,
- ospf_opaque_capable_cmd,
- "ospf opaque-lsa",
- "OSPF specific commands\n"
- "Enable the Opaque-LSA capability (rfc2370)\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf opaque-lsa",
+ * NO_STR
+ * "OSPF specific commands\n"
+ * "Disable the Opaque-LSA capability (rfc2370)\n"
+ *
+ */
DEFUN (no_capability_opaque,
no_capability_opaque_cmd,
"no capability opaque",
return CMD_SUCCESS;
}
-ALIAS (no_capability_opaque,
- no_ospf_opaque_capable_cmd,
- "no ospf opaque-lsa",
- NO_STR
- "OSPF specific commands\n"
- "Disable the Opaque-LSA capability (rfc2370)\n")
static void
ospf_opaque_register_vty (void)
{
install_element (OSPF_NODE, &capability_opaque_cmd);
install_element (OSPF_NODE, &no_capability_opaque_cmd);
- install_element (OSPF_NODE, &ospf_opaque_capable_cmd);
- install_element (OSPF_NODE, &no_ospf_opaque_capable_cmd);
return;
}
* Followings are vty command functions.
*------------------------------------------------------------------------*/
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "router-info as",
+ * OSPF_RI_STR
+ * "Enable the Router Information functionality with AS flooding scope\n"
+ *
+ */
DEFUN (router_info,
router_info_area_cmd,
"router-info area A.B.C.D",
}
-ALIAS (router_info,
- router_info_as_cmd,
- "router-info as",
- OSPF_RI_STR
- "Enable the Router Information functionality with AS flooding scope\n")
DEFUN (no_router_info,
no_router_info_cmd,
install_element (ENABLE_NODE, &show_ip_ospf_router_info_pce_cmd);
install_element (OSPF_NODE, &router_info_area_cmd);
- install_element (OSPF_NODE, &router_info_as_cmd);
install_element (OSPF_NODE, &no_router_info_cmd);
install_element (OSPF_NODE, &pce_address_cmd);
install_element (OSPF_NODE, &pce_path_scope_cmd);
return ospf_route_match_add (vty, vty->index, "ip next-hop", argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP access-list name\n"
+ *
+ */
DEFUN (no_match_ip_nexthop,
no_match_ip_nexthop_cmd,
"no match ip next-hop",
return ospf_route_match_delete (vty, vty->index, "ip next-hop", argv[4]->arg);
}
-ALIAS (no_match_ip_nexthop,
- no_match_ip_nexthop_val_cmd,
- "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP access-list name\n")
DEFUN (match_ip_next_hop_prefix_list,
match_ip_next_hop_prefix_list_cmd,
argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_next_hop_prefix_list,
no_match_ip_next_hop_prefix_list_cmd,
"no match ip next-hop prefix-list",
argv[5]->arg);
}
-ALIAS (no_match_ip_next_hop_prefix_list,
- no_match_ip_next_hop_prefix_list_val_cmd,
- "no match ip next-hop prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
DEFUN (match_ip_address,
match_ip_address_cmd,
return ospf_route_match_add (vty, vty->index, "ip address", argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP access-list name\n"
+ *
+ */
DEFUN (no_match_ip_address,
no_match_ip_address_cmd,
"no match ip address",
return ospf_route_match_delete (vty, vty->index, "ip address", argv[4]->arg);
}
-ALIAS (no_match_ip_address,
- no_match_ip_address_val_cmd,
- "no match ip address (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP access-list name\n")
DEFUN (match_ip_address_prefix_list,
match_ip_address_prefix_list_cmd,
argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_address_prefix_list,
no_match_ip_address_prefix_list_cmd,
"no match ip address prefix-list",
argv[5]->arg);
}
-ALIAS (no_match_ip_address_prefix_list,
- no_match_ip_address_prefix_list_val_cmd,
- "no match ip address prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
DEFUN (match_interface,
match_interface_cmd,
return ospf_route_match_add (vty, vty->index, "interface", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match interface WORD",
+ * NO_STR
+ * MATCH_STR
+ * "Match first hop interface of route\n"
+ * "Interface name\n"
+ *
+ */
DEFUN (no_match_interface,
no_match_interface_cmd,
"no match interface",
return ospf_route_match_delete (vty, vty->index, "interface", argv[3]->arg);
}
-ALIAS (no_match_interface,
- no_match_interface_val_cmd,
- "no match interface WORD",
- NO_STR
- MATCH_STR
- "Match first hop interface of route\n"
- "Interface name\n")
DEFUN (match_tag,
match_tag_cmd,
return ospf_route_match_add (vty, vty->index, "tag", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match tag <1-65535>",
+ * NO_STR
+ * MATCH_STR
+ * "Match tag of route\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_match_tag,
no_match_tag_cmd,
"no match tag",
return ospf_route_match_delete (vty, vty->index, "tag", argv[3]->arg);
}
-ALIAS (no_match_tag,
- no_match_tag_val_cmd,
- "no match tag <1-65535>",
- NO_STR
- MATCH_STR
- "Match tag of route\n"
- "Tag value\n")
DEFUN (set_metric,
set_metric_cmd,
return ospf_route_set_add (vty, vty->index, "metric", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set metric <0-4294967295>",
+ * NO_STR
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_set_metric,
no_set_metric_cmd,
"no set metric",
return ospf_route_set_delete (vty, vty->index, "metric", argv[3]->arg);
}
-ALIAS (no_set_metric,
- no_set_metric_val_cmd,
- "no set metric <0-4294967295>",
- NO_STR
- SET_STR
- "Metric value for destination routing protocol\n"
- "Metric value\n")
DEFUN (set_metric_type,
set_metric_type_cmd,
return ospf_route_set_add (vty, vty->index, "metric-type", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set metric-type (type-1|type-2)",
+ * NO_STR
+ * SET_STR
+ * "Type of metric for destination routing protocol\n"
+ * "OSPF[6] external type 1 metric\n"
+ * "OSPF[6] external type 2 metric\n"
+ *
+ */
DEFUN (no_set_metric_type,
no_set_metric_type_cmd,
"no set metric-type",
return ospf_route_set_delete (vty, vty->index, "metric-type", argv[3]->arg);
}
-ALIAS (no_set_metric_type,
- no_set_metric_type_val_cmd,
- "no set metric-type (type-1|type-2)",
- NO_STR
- SET_STR
- "Type of metric for destination routing protocol\n"
- "OSPF[6] external type 1 metric\n"
- "OSPF[6] external type 2 metric\n")
DEFUN (set_tag,
set_tag_cmd,
return ospf_route_set_add (vty, vty->index, "tag", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set tag <1-65535>",
+ * NO_STR
+ * SET_STR
+ * "Tag value for routing protocol\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_set_tag,
no_set_tag_cmd,
"no set tag",
return ospf_route_set_delete (vty, vty->index, "tag", argv[3]->arg);
}
-ALIAS (no_set_tag,
- no_set_tag_val_cmd,
- "no set tag <1-65535>",
- NO_STR
- SET_STR
- "Tag value for routing protocol\n"
- "Tag value\n")
/* Route-map init */
void
install_element (RMAP_NODE, &match_ip_nexthop_cmd);
install_element (RMAP_NODE, &no_match_ip_nexthop_cmd);
- install_element (RMAP_NODE, &no_match_ip_nexthop_val_cmd);
install_element (RMAP_NODE, &match_ip_next_hop_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_ip_address_cmd);
install_element (RMAP_NODE, &no_match_ip_address_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_val_cmd);
install_element (RMAP_NODE, &match_ip_address_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_address_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_interface_cmd);
install_element (RMAP_NODE, &no_match_interface_cmd);
- install_element (RMAP_NODE, &no_match_interface_val_cmd);
install_element (RMAP_NODE, &match_tag_cmd);
install_element (RMAP_NODE, &no_match_tag_cmd);
- install_element (RMAP_NODE, &no_match_tag_val_cmd);
install_element (RMAP_NODE, &set_metric_cmd);
install_element (RMAP_NODE, &no_set_metric_cmd);
- install_element (RMAP_NODE, &no_set_metric_val_cmd);
install_element (RMAP_NODE, &set_metric_type_cmd);
install_element (RMAP_NODE, &no_set_metric_type_cmd);
- install_element (RMAP_NODE, &no_set_metric_type_val_cmd);
install_element (RMAP_NODE, &set_tag_cmd);
install_element (RMAP_NODE, &no_set_tag_cmd);
- install_element (RMAP_NODE, &no_set_tag_val_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no mpls-te on",
+ * NO_STR
+ * MPLS_TE_STR
+ * "Disable the MPLS-TE functionality\n"
+ *
+ */
DEFUN (no_ospf_mpls_te,
no_ospf_mpls_te_cmd,
"no mpls-te",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_mpls_te,
- no_ospf_mpls_te_val_cmd,
- "no mpls-te on",
- NO_STR
- MPLS_TE_STR
- "Disable the MPLS-TE functionality\n")
DEFUN (ospf_mpls_te_router_addr,
ospf_mpls_te_router_addr_cmd,
install_element (OSPF_NODE, &ospf_mpls_te_on_cmd);
install_element (OSPF_NODE, &no_ospf_mpls_te_cmd);
- install_element (OSPF_NODE, &no_ospf_mpls_te_val_cmd);
install_element (OSPF_NODE, &ospf_mpls_te_router_addr_cmd);
install_element (OSPF_NODE, &ospf_mpls_te_inter_as_cmd);
install_element (OSPF_NODE, &ospf_mpls_te_inter_as_area_cmd);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "router ospf <1-65535>",
+ * "Enable a routing process\n"
+ * "Start OSPF configuration\n"
+ * "Instance ID\n"
+ *
+ */
DEFUN (router_ospf,
router_ospf_cmd,
"router ospf",
return CMD_SUCCESS;
}
-ALIAS (router_ospf,
- router_ospf_instance_cmd,
- "router ospf <1-65535>",
- "Enable a routing process\n"
- "Start OSPF configuration\n"
- "Instance ID\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no router ospf <1-65535>",
+ * NO_STR
+ * "Enable a routing process\n"
+ * "Start OSPF configuration\n"
+ * "Instance ID\n"
+ *
+ */
DEFUN (no_router_ospf,
no_router_ospf_cmd,
"no router ospf",
return CMD_SUCCESS;
}
-ALIAS (no_router_ospf,
- no_router_ospf_instance_cmd,
- "no router ospf <1-65535>",
- NO_STR
- "Enable a routing process\n"
- "Start OSPF configuration\n"
- "Instance ID\n")
DEFUN (ospf_router_id,
ospf_router_id_cmd,
"router-id for the OSPF process\n"
"OSPF router-id in IP address format\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf router-id A.B.C.D",
+ * NO_STR
+ * "OSPF specific commands\n"
+ * "router-id for the OSPF process\n"
+ * "OSPF router-id in IP address format\n"
+ *
+ */
DEFUN (no_ospf_router_id,
no_ospf_router_id_cmd,
"no ospf router-id",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_router_id,
- no_ospf_router_id_val_cmd,
- "no ospf router-id A.B.C.D",
- NO_STR
- "OSPF specific commands\n"
- "router-id for the OSPF process\n"
- "OSPF router-id in IP address format\n")
static void
ospf_passive_interface_default (struct ospf *ospf, u_char newval)
}
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "passive-interface IFNAME",
+ * "Suppress routing updates on an interface\n"
+ * "Interface's name\n"
+ *
+ * "passive-interface default",
+ * "Suppress routing updates on an interface\n"
+ * "Suppress routing updates on interfaces by default\n"
+ *
+ */
DEFUN (ospf_passive_interface,
ospf_passive_interface_addr_cmd,
"passive-interface IFNAME A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ospf_passive_interface,
- ospf_passive_interface_cmd,
- "passive-interface IFNAME",
- "Suppress routing updates on an interface\n"
- "Interface's name\n")
-ALIAS (ospf_passive_interface,
- ospf_passive_interface_default_cmd,
- "passive-interface default",
- "Suppress routing updates on an interface\n"
- "Suppress routing updates on interfaces by default\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no passive-interface default",
+ * NO_STR
+ * "Allow routing updates on an interface\n"
+ * "Allow routing updates on interfaces by default\n"
+ *
+ * "no passive-interface IFNAME",
+ * NO_STR
+ * "Allow routing updates on an interface\n"
+ * "Interface's name\n"
+ *
+ */
DEFUN (no_ospf_passive_interface,
no_ospf_passive_interface_addr_cmd,
"no passive-interface IFNAME A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_passive_interface,
- no_ospf_passive_interface_cmd,
- "no passive-interface IFNAME",
- NO_STR
- "Allow routing updates on an interface\n"
- "Interface's name\n")
-ALIAS (no_ospf_passive_interface,
- no_ospf_passive_interface_default_cmd,
- "no passive-interface default",
- NO_STR
- "Allow routing updates on an interface\n"
- "Allow routing updates on interfaces by default\n")
DEFUN (ospf_network_area,
ospf_network_area_cmd,
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "area (A.B.C.D|<0-4294967295>) range A.B.C.D/M advertise",
+ * "OSPF area parameters\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ * "OSPF area range for route advertise (default)\n"
+ * "Area range prefix\n"
+ * "Advertise this range (default)\n"
+ *
+ * "area (A.B.C.D|<0-4294967295>) range A.B.C.D/M cost <0-16777215>",
+ * "OSPF area parameters\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ * "area (A.B.C.D|<0-4294967295>) range A.B.C.D/M advertise cost <0-16777215>",
+ * "OSPF area parameters\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "Advertise this range (default)\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ */
DEFUN (ospf_area_range,
ospf_area_range_cmd,
"area (A.B.C.D|<0-4294967295>) range A.B.C.D/M",
return CMD_SUCCESS;
}
-ALIAS (ospf_area_range,
- ospf_area_range_advertise_cmd,
- "area (A.B.C.D|<0-4294967295>) range A.B.C.D/M advertise",
- "OSPF area parameters\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n"
- "OSPF area range for route advertise (default)\n"
- "Area range prefix\n"
- "Advertise this range (default)\n")
-ALIAS (ospf_area_range,
- ospf_area_range_cost_cmd,
- "area (A.B.C.D|<0-4294967295>) range A.B.C.D/M cost <0-16777215>",
- "OSPF area parameters\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n"
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
-ALIAS (ospf_area_range,
- ospf_area_range_advertise_cost_cmd,
- "area (A.B.C.D|<0-4294967295>) range A.B.C.D/M advertise cost <0-16777215>",
- "OSPF area parameters\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n"
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "Advertise this range (default)\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
DEFUN (ospf_area_range_not_advertise,
ospf_area_range_not_advertise_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no area (A.B.C.D|<0-4294967295>) range A.B.C.D/M (advertise|not-advertise)",
+ * NO_STR
+ * "OSPF area parameters\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "Advertise this range (default)\n"
+ * "DoNotAdvertise this range\n"
+ *
+ * "no area (A.B.C.D|<0-4294967295>) range A.B.C.D/M advertise cost <0-16777215>",
+ * NO_STR
+ * "OSPF area parameters\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "Advertise this range (default)\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ * "no area (A.B.C.D|<0-4294967295>) range A.B.C.D/M cost <0-16777215>",
+ * NO_STR
+ * "OSPF area parameters\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ * "Summarize routes matching address/mask (border routers only)\n"
+ * "Area range prefix\n"
+ * "User specified metric for this range\n"
+ * "Advertised metric for this range\n"
+ *
+ */
DEFUN (no_ospf_area_range,
no_ospf_area_range_cmd,
"no area (A.B.C.D|<0-4294967295>) range A.B.C.D/M",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_area_range,
- no_ospf_area_range_advertise_cmd,
- "no area (A.B.C.D|<0-4294967295>) range A.B.C.D/M (advertise|not-advertise)",
- NO_STR
- "OSPF area parameters\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n"
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "Advertise this range (default)\n"
- "DoNotAdvertise this range\n")
-ALIAS (no_ospf_area_range,
- no_ospf_area_range_cost_cmd,
- "no area (A.B.C.D|<0-4294967295>) range A.B.C.D/M cost <0-16777215>",
- NO_STR
- "OSPF area parameters\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n"
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
-ALIAS (no_ospf_area_range,
- no_ospf_area_range_advertise_cost_cmd,
- "no area (A.B.C.D|<0-4294967295>) range A.B.C.D/M advertise cost <0-16777215>",
- NO_STR
- "OSPF area parameters\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n"
- "Summarize routes matching address/mask (border routers only)\n"
- "Area range prefix\n"
- "Advertise this range (default)\n"
- "User specified metric for this range\n"
- "Advertised metric for this range\n")
DEFUN (ospf_area_range_substitute,
ospf_area_range_substitute_cmd,
"Use MD5 algorithm\n" \
"The OSPF password (key)"
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) (message-digest|null) "
+ * "(authentication-key|) AUTH_KEY",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_ALL
+ * VLINK_HELPSTR_AUTH_SIMPLE
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) "
+ * "(authentication-key|) AUTH_KEY",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_SIMPLE
+ * VLINK_HELPSTR_AUTH_SIMPLE
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) (message-digest|null)",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_ALL
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(message-digest-key|) <1-255> md5 KEY",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTH_MD5
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) "
+ * "(message-digest-key|) <1-255> md5 KEY",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_SIMPLE
+ * VLINK_HELPSTR_AUTH_MD5
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) (message-digest|null) "
+ * "(message-digest-key|) <1-255> md5 KEY",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_ALL
+ * VLINK_HELPSTR_AUTH_MD5
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|)",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_SIMPLE
+ *
+ * "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication-key|) AUTH_KEY",
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTH_SIMPLE
+ *
+ */
DEFUN (ospf_area_vlink,
ospf_area_vlink_cmd,
"area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D",
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) "
+ * "(message-digest-key|) <1-255> md5 KEY",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_SIMPLE
+ * VLINK_HELPSTR_AUTH_MD5
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_TIME_PARAM
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(message-digest-key|) <1-255> md5 KEY",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTH_MD5
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|)",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_SIMPLE
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) (message-digest|null) "
+ * "(message-digest-key|) <1-255> md5 KEY",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_ALL
+ * VLINK_HELPSTR_AUTH_MD5
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) "
+ * "(authentication-key|) AUTH_KEY",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_SIMPLE
+ * VLINK_HELPSTR_AUTH_SIMPLE
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication-key|) AUTH_KEY",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTH_SIMPLE
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) (message-digest|null)",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_ALL
+ *
+ * "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
+ * "(authentication|) (message-digest|null) "
+ * "(authentication-key|) AUTH_KEY",
+ * NO_STR
+ * VLINK_HELPSTR_IPADDR
+ * VLINK_HELPSTR_AUTHTYPE_ALL
+ * VLINK_HELPSTR_AUTH_SIMPLE
+ *
+ */
DEFUN (no_ospf_area_vlink,
no_ospf_area_vlink_cmd,
"no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D",
return ospf_vl_set (ospf, &vl_config);
}
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_param1_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM)
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_param1_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_param2_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_param2_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_param3_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_param3_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_param4_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_param4_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535> "
- "(hello-interval|retransmit-interval|transmit-delay|dead-interval) <1-65535>",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM
- VLINK_HELPSTR_TIME_PARAM)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_authtype_args_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) (message-digest|null)",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_ALL)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_authtype_args_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) (message-digest|null)",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_ALL)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_authtype_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|)",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_SIMPLE)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_authtype_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|)",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_SIMPLE)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_md5_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(message-digest-key|) <1-255> md5 KEY",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTH_MD5)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_md5_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(message-digest-key|) <1-255> md5 KEY",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTH_MD5)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_authkey_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication-key|) AUTH_KEY",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTH_SIMPLE)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_authkey_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication-key|) AUTH_KEY",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTH_SIMPLE)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_authtype_args_authkey_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) (message-digest|null) "
- "(authentication-key|) AUTH_KEY",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_ALL
- VLINK_HELPSTR_AUTH_SIMPLE)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_authtype_args_authkey_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) (message-digest|null) "
- "(authentication-key|) AUTH_KEY",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_ALL
- VLINK_HELPSTR_AUTH_SIMPLE)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_authtype_authkey_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) "
- "(authentication-key|) AUTH_KEY",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_SIMPLE
- VLINK_HELPSTR_AUTH_SIMPLE)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_authtype_authkey_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) "
- "(authentication-key|) AUTH_KEY",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_SIMPLE
- VLINK_HELPSTR_AUTH_SIMPLE)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_authtype_args_md5_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) (message-digest|null) "
- "(message-digest-key|) <1-255> md5 KEY",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_ALL
- VLINK_HELPSTR_AUTH_MD5)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_authtype_args_md5_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) (message-digest|null) "
- "(message-digest-key|) <1-255> md5 KEY",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_ALL
- VLINK_HELPSTR_AUTH_MD5)
-
-ALIAS (ospf_area_vlink,
- ospf_area_vlink_authtype_md5_cmd,
- "area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) "
- "(message-digest-key|) <1-255> md5 KEY",
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_SIMPLE
- VLINK_HELPSTR_AUTH_MD5)
-
-ALIAS (no_ospf_area_vlink,
- no_ospf_area_vlink_authtype_md5_cmd,
- "no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D "
- "(authentication|) "
- "(message-digest-key|) <1-255> md5 KEY",
- NO_STR
- VLINK_HELPSTR_IPADDR
- VLINK_HELPSTR_AUTHTYPE_SIMPLE
- VLINK_HELPSTR_AUTH_MD5)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
DEFUN (ospf_area_shortcut,
return ospf_area_nssa_cmd_handler (vty, argc, argv, 1);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no area (A.B.C.D|<0-4294967295>) nssa (translate-candidate|translate-never|translate-always|) {no-summary}",
+ * NO_STR
+ * "OSPF area parameters\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ * "Configure OSPF area as nssa\n"
+ * "Configure NSSA-ABR for translate election (default)\n"
+ * "Configure NSSA-ABR to never translate\n"
+ * "Configure NSSA-ABR to always translate\n"
+ * "Do not inject inter-area routes into nssa\n"
+ *
+ */
DEFUN (no_ospf_area_nssa,
no_ospf_area_nssa_cmd,
"no area (A.B.C.D|<0-4294967295>) nssa",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_area_nssa,
- no_ospf_area_nssa_no_summary_cmd,
- "no area (A.B.C.D|<0-4294967295>) nssa (translate-candidate|translate-never|translate-always|) {no-summary}",
- NO_STR
- "OSPF area parameters\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n"
- "Configure OSPF area as nssa\n"
- "Configure NSSA-ABR for translate election (default)\n"
- "Configure NSSA-ABR to never translate\n"
- "Configure NSSA-ABR to always translate\n"
- "Do not inject inter-area routes into nssa\n")
DEFUN (ospf_area_default_cost,
ospf_area_default_cost_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ospf rfc1583compatibility",
+ * "OSPF specific commands\n"
+ * "Enable the RFC1583Compatibility flag\n"
+ *
+ */
DEFUN (ospf_compatible_rfc1583,
ospf_compatible_rfc1583_cmd,
"compatible rfc1583",
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf rfc1583compatibility",
+ * NO_STR
+ * "OSPF specific commands\n"
+ * "Disable the RFC1583Compatibility flag\n"
+ *
+ */
DEFUN (no_ospf_compatible_rfc1583,
no_ospf_compatible_rfc1583_cmd,
"no compatible rfc1583",
return CMD_SUCCESS;
}
-ALIAS (ospf_compatible_rfc1583,
- ospf_rfc1583_flag_cmd,
- "ospf rfc1583compatibility",
- "OSPF specific commands\n"
- "Enable the RFC1583Compatibility flag\n")
-ALIAS (no_ospf_compatible_rfc1583,
- no_ospf_rfc1583_flag_cmd,
- "no ospf rfc1583compatibility",
- NO_STR
- "OSPF specific commands\n"
- "Disable the RFC1583Compatibility flag\n")
static int
ospf_timers_spf_set (struct vty *vty, unsigned int delay,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers throttle lsa all <0-5000>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "Throttling adaptive timer\n"
+ * "LSA delay between transmissions\n"
+ * "All LSA types\n"
+ * "Delay (msec) between sending LSAs\n"
+ *
+ */
DEFUN (no_ospf_timers_min_ls_interval,
no_ospf_timers_min_ls_interval_cmd,
"no timers throttle lsa all",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_timers_min_ls_interval,
- no_ospf_timers_min_ls_interval_val_cmd,
- "no timers throttle lsa all <0-5000>",
- NO_STR
- "Adjust routing timers\n"
- "Throttling adaptive timer\n"
- "LSA delay between transmissions\n"
- "All LSA types\n"
- "Delay (msec) between sending LSAs\n")
DEFUN (ospf_timers_min_ls_arrival,
ospf_timers_min_ls_arrival_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers lsa arrival <0-1000>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "Throttling link state advertisement delays\n"
+ * "OSPF minimum arrival interval delay\n"
+ * "Delay (msec) between accepted LSAs\n"
+ *
+ */
DEFUN (no_ospf_timers_min_ls_arrival,
no_ospf_timers_min_ls_arrival_cmd,
"no timers lsa arrival",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_timers_min_ls_arrival,
- no_ospf_timers_min_ls_arrival_val_cmd,
- "no timers lsa arrival <0-1000>",
- NO_STR
- "Adjust routing timers\n"
- "Throttling link state advertisement delays\n"
- "OSPF minimum arrival interval delay\n"
- "Delay (msec) between accepted LSAs\n")
DEFUN (ospf_timers_throttle_spf,
ospf_timers_throttle_spf_cmd,
return ospf_timers_spf_set (vty, delay, hold, max);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers throttle spf <0-600000> <0-600000> <0-600000>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "Throttling adaptive timer\n"
+ * "OSPF SPF timers\n"
+ * "Delay (msec) from first change received till SPF calculation\n"
+ * "Initial hold time (msec) between consecutive SPF calculations\n"
+ * "Maximum hold time (msec)\n"
+ *
+ */
DEFUN (no_ospf_timers_throttle_spf,
no_ospf_timers_throttle_spf_cmd,
"no timers throttle spf",
OSPF_SPF_MAX_HOLDTIME_DEFAULT);
}
-ALIAS (no_ospf_timers_throttle_spf,
- no_ospf_timers_throttle_spf_val_cmd,
- "no timers throttle spf <0-600000> <0-600000> <0-600000>",
- NO_STR
- "Adjust routing timers\n"
- "Throttling adaptive timer\n"
- "OSPF SPF timers\n"
- "Delay (msec) from first change received till SPF calculation\n"
- "Initial hold time (msec) between consecutive SPF calculations\n"
- "Maximum hold time (msec)\n")
DEFUN (ospf_timers_lsa,
ospf_timers_lsa_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers lsa min-arrival <0-600000>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "OSPF LSA timers\n"
+ * "Minimum delay in receiving new version of a LSA\n"
+ * "Delay in milliseconds\n"
+ *
+ */
DEFUN (no_ospf_timers_lsa,
no_ospf_timers_lsa_cmd,
"no timers lsa min-arrival",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_timers_lsa,
- no_ospf_timers_lsa_val_cmd,
- "no timers lsa min-arrival <0-600000>",
- NO_STR
- "Adjust routing timers\n"
- "OSPF LSA timers\n"
- "Minimum delay in receiving new version of a LSA\n"
- "Delay in milliseconds\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "neighbor A.B.C.D priority <0-255> poll-interval <1-65535>",
+ * NEIGHBOR_STR
+ * "Neighbor IP address\n"
+ * "Neighbor Priority\n"
+ * "Priority\n"
+ * "Dead Neighbor Polling interval\n"
+ * "Seconds\n"
+ *
+ * "neighbor A.B.C.D priority <0-255>",
+ * NEIGHBOR_STR
+ * "Neighbor IP address\n"
+ * "Neighbor Priority\n"
+ * "Seconds\n"
+ *
+ */
DEFUN (ospf_neighbor,
ospf_neighbor_cmd,
"neighbor A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ospf_neighbor,
- ospf_neighbor_priority_poll_interval_cmd,
- "neighbor A.B.C.D priority <0-255> poll-interval <1-65535>",
- NEIGHBOR_STR
- "Neighbor IP address\n"
- "Neighbor Priority\n"
- "Priority\n"
- "Dead Neighbor Polling interval\n"
- "Seconds\n")
-ALIAS (ospf_neighbor,
- ospf_neighbor_priority_cmd,
- "neighbor A.B.C.D priority <0-255>",
- NEIGHBOR_STR
- "Neighbor IP address\n"
- "Neighbor Priority\n"
- "Seconds\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "neighbor A.B.C.D poll-interval <1-65535> priority <0-255>",
+ * NEIGHBOR_STR
+ * "Neighbor address\n"
+ * "OSPF dead-router polling interval\n"
+ * "Seconds\n"
+ * "OSPF priority of non-broadcast neighbor\n"
+ * "Priority\n"
+ *
+ */
DEFUN (ospf_neighbor_poll_interval,
ospf_neighbor_poll_interval_cmd,
"neighbor A.B.C.D poll-interval <1-65535>",
return CMD_SUCCESS;
}
-ALIAS (ospf_neighbor_poll_interval,
- ospf_neighbor_poll_interval_priority_cmd,
- "neighbor A.B.C.D poll-interval <1-65535> priority <0-255>",
- NEIGHBOR_STR
- "Neighbor address\n"
- "OSPF dead-router polling interval\n"
- "Seconds\n"
- "OSPF priority of non-broadcast neighbor\n"
- "Priority\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no neighbor A.B.C.D priority <0-255> poll-interval <1-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Neighbor IP address\n"
+ * "Neighbor Priority\n"
+ * "Priority\n"
+ * "Dead Neighbor Polling interval\n"
+ * "Seconds\n"
+ *
+ * "no neighbor A.B.C.D priority <0-255>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Neighbor IP address\n"
+ * "Neighbor Priority\n"
+ * "Priority\n"
+ *
+ * "no neighbor A.B.C.D poll-interval <1-65535>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Neighbor IP address\n"
+ * "Dead Neighbor Polling interval\n"
+ * "Seconds\n"
+ *
+ * "no neighbor A.B.C.D poll-interval <1-65535> priority <0-255>",
+ * NO_STR
+ * NEIGHBOR_STR
+ * "Neighbor IP address\n"
+ * "Dead Neighbor Polling interval\n"
+ * "Seconds\n"
+ * "OSPF priority of non-broadcast neighbor\n"
+ * "Priority\n"
+ *
+ */
DEFUN (no_ospf_neighbor,
no_ospf_neighbor_cmd,
"no neighbor A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_neighbor,
- no_ospf_neighbor_priority_cmd,
- "no neighbor A.B.C.D priority <0-255>",
- NO_STR
- NEIGHBOR_STR
- "Neighbor IP address\n"
- "Neighbor Priority\n"
- "Priority\n")
-ALIAS (no_ospf_neighbor,
- no_ospf_neighbor_poll_interval_cmd,
- "no neighbor A.B.C.D poll-interval <1-65535>",
- NO_STR
- NEIGHBOR_STR
- "Neighbor IP address\n"
- "Dead Neighbor Polling interval\n"
- "Seconds\n")
-ALIAS (no_ospf_neighbor,
- no_ospf_neighbor_poll_interval_priority_cmd,
- "no neighbor A.B.C.D poll-interval <1-65535> priority <0-255>",
- NO_STR
- NEIGHBOR_STR
- "Neighbor IP address\n"
- "Dead Neighbor Polling interval\n"
- "Seconds\n"
- "OSPF priority of non-broadcast neighbor\n"
- "Priority\n")
-ALIAS (no_ospf_neighbor,
- no_ospf_neighbor_priority_pollinterval_cmd,
- "no neighbor A.B.C.D priority <0-255> poll-interval <1-65535>",
- NO_STR
- NEIGHBOR_STR
- "Neighbor IP address\n"
- "Neighbor Priority\n"
- "Priority\n"
- "Dead Neighbor Polling interval\n"
- "Seconds\n")
DEFUN (ospf_refresh_timer,
ospf_refresh_timer_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no refresh timer",
+ * "Adjust refresh parameters\n"
+ * "Unset refresh timer\n"
+ *
+ */
DEFUN (no_ospf_refresh_timer,
no_ospf_refresh_timer_val_cmd,
"no refresh timer <10-1800>",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_refresh_timer,
- no_ospf_refresh_timer_cmd,
- "no refresh timer",
- "Adjust refresh parameters\n"
- "Unset refresh timer\n")
DEFUN (ospf_auto_cost_reference_bandwidth,
ospf_auto_cost_reference_bandwidth_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no auto-cost reference-bandwidth <1-4294967>",
+ * NO_STR
+ * "Calculate OSPF interface cost according to bandwidth\n"
+ * "Use reference bandwidth method to assign OSPF cost\n"
+ * "The reference bandwidth in terms of Mbits per second\n"
+ *
+ */
DEFUN (no_ospf_auto_cost_reference_bandwidth,
no_ospf_auto_cost_reference_bandwidth_cmd,
"no auto-cost reference-bandwidth",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_auto_cost_reference_bandwidth,
- no_ospf_auto_cost_reference_bandwidth_val_cmd,
- "no auto-cost reference-bandwidth <1-4294967>",
- NO_STR
- "Calculate OSPF interface cost according to bandwidth\n"
- "Use reference bandwidth method to assign OSPF cost\n"
- "The reference bandwidth in terms of Mbits per second\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "write-multiplier <1-100>",
+ * "Write multiplier\n"
+ * "Maximum number of interface serviced per write\n"
+ *
+ */
DEFUN (ospf_write_multiplier,
ospf_write_multiplier_cmd,
"ospf write-multiplier <1-100>",
return CMD_SUCCESS;
}
-ALIAS (ospf_write_multiplier,
- write_multiplier_cmd,
- "write-multiplier <1-100>",
- "Write multiplier\n"
- "Maximum number of interface serviced per write\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no write-multiplier",
+ * NO_STR
+ * "Write multiplier\n"
+ *
+ * "no write-multiplier <1-100>",
+ * NO_STR
+ * "Write multiplier\n"
+ * "Maximum number of interface serviced per write\n"
+ *
+ */
DEFUN (no_ospf_write_multiplier,
no_ospf_write_multiplier_cmd,
"no ospf write-multiplier <1-100>",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_write_multiplier,
- no_write_multiplier_cmd,
- "no write-multiplier",
- NO_STR
- "Write multiplier\n")
-ALIAS (no_ospf_write_multiplier,
- no_write_multiplier_val_cmd,
- "no write-multiplier <1-100>",
- NO_STR
- "Write multiplier\n"
- "Maximum number of interface serviced per write\n")
const char *ospf_abr_type_descr_str[] =
{
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Link State ID (as an IP address)\n"
+ *
+ * "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D (self-originate|)",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Link State ID (as an IP address)\n"
+ * "Self-originated link states\n"
+ * "\n"
+ *
+ * "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D adv-router A.B.C.D",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Link State ID (as an IP address)\n"
+ * "Advertising Router link states\n"
+ * "Advertising Router (as an IP address)\n"
+ *
+ * "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR "|max-age|self-originate)",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "LSAs in MaxAge list\n"
+ * "Self-originated link states\n"
+ *
+ */
DEFUN (show_ip_ospf_database,
show_ip_ospf_database_cmd,
"show ip ospf database",
return (show_ip_ospf_database_common(vty, ospf, 0, argc, argv));
}
-ALIAS (show_ip_ospf_database,
- show_ip_ospf_database_type_cmd,
- "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR "|max-age|self-originate)",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "LSAs in MaxAge list\n"
- "Self-originated link states\n")
-
-ALIAS (show_ip_ospf_database,
- show_ip_ospf_database_type_id_cmd,
- "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Link State ID (as an IP address)\n")
-
-ALIAS (show_ip_ospf_database,
- show_ip_ospf_database_type_id_adv_router_cmd,
- "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D adv-router A.B.C.D",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Link State ID (as an IP address)\n"
- "Advertising Router link states\n"
- "Advertising Router (as an IP address)\n")
-
-ALIAS (show_ip_ospf_database,
- show_ip_ospf_database_type_id_self_cmd,
- "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D (self-originate|)",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Link State ID (as an IP address)\n"
- "Self-originated link states\n"
- "\n")
-
-DEFUN (show_ip_ospf_instance_database,
- show_ip_ospf_instance_database_cmd,
- "show ip ospf <1-65535> database",
+
+
+
+
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D adv-router A.B.C.D",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Link State ID (as an IP address)\n"
+ * "Advertising Router link states\n"
+ * "Advertising Router (as an IP address)\n"
+ *
+ * "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Link State ID (as an IP address)\n"
+ *
+ * "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D (self-originate|)",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Link State ID (as an IP address)\n"
+ * "Self-originated link states\n"
+ * "\n"
+ *
+ * "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR "|max-age|self-originate)",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "LSAs in MaxAge list\n"
+ * "Self-originated link states\n"
+ *
+ */
+DEFUN (show_ip_ospf_instance_database,
+ show_ip_ospf_instance_database_cmd,
+ "show ip ospf <1-65535> database",
SHOW_STR
IP_STR
"OSPF information\n"
return (show_ip_ospf_database_common(vty, ospf, 1, argc, argv));
}
-ALIAS (show_ip_ospf_instance_database,
- show_ip_ospf_instance_database_type_cmd,
- "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR "|max-age|self-originate)",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Instance ID\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "LSAs in MaxAge list\n"
- "Self-originated link states\n")
-ALIAS (show_ip_ospf_instance_database,
- show_ip_ospf_instance_database_type_id_cmd,
- "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Instance ID\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Link State ID (as an IP address)\n")
-ALIAS (show_ip_ospf_instance_database,
- show_ip_ospf_instance_database_type_id_adv_router_cmd,
- "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D adv-router A.B.C.D",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Instance ID\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Link State ID (as an IP address)\n"
- "Advertising Router link states\n"
- "Advertising Router (as an IP address)\n")
-ALIAS (show_ip_ospf_instance_database,
- show_ip_ospf_instance_database_type_id_self_cmd,
- "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") A.B.C.D (self-originate|)",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Instance ID\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Link State ID (as an IP address)\n"
- "Self-originated link states\n"
- "\n")
static int
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") (self-originate|)",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Self-originated link states\n"
+ *
+ */
DEFUN (show_ip_ospf_database_type_adv_router,
show_ip_ospf_database_type_adv_router_cmd,
"show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") adv-router A.B.C.D",
return (show_ip_ospf_database_type_adv_router_common(vty, ospf, 0, argc, argv));
}
-ALIAS (show_ip_ospf_database_type_adv_router,
- show_ip_ospf_database_type_self_cmd,
- "show ip ospf database (" OSPF_LSA_TYPES_CMD_STR ") (self-originate|)",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Self-originated link states\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") (self-originate|)",
+ * SHOW_STR
+ * IP_STR
+ * "OSPF information\n"
+ * "Instance ID\n"
+ * "Database summary\n"
+ * OSPF_LSA_TYPES_DESC
+ * "Self-originated link states\n"
+ *
+ */
DEFUN (show_ip_ospf_instance_database_type_adv_router,
show_ip_ospf_instance_database_type_adv_router_cmd,
"show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") adv-router A.B.C.D",
return (show_ip_ospf_database_type_adv_router_common(vty, ospf, 1, argc, argv));
}
-ALIAS (show_ip_ospf_instance_database_type_adv_router,
- show_ip_ospf_instance_database_type_self_cmd,
- "show ip ospf <1-65535> database (" OSPF_LSA_TYPES_CMD_STR ") (self-originate|)",
- SHOW_STR
- IP_STR
- "OSPF information\n"
- "Instance ID\n"
- "Database summary\n"
- OSPF_LSA_TYPES_DESC
- "Self-originated link states\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf authentication (null|message-digest)",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Enable authentication on this interface\n"
+ * "Use null authentication\n"
+ * "Use message-digest authentication\n"
+ *
+ */
DEFUN (ip_ospf_authentication_args,
ip_ospf_authentication_args_addr_cmd,
"ip ospf authentication (null|message-digest) A.B.C.D",
return CMD_WARNING;
}
-ALIAS (ip_ospf_authentication_args,
- ip_ospf_authentication_args_cmd,
- "ip ospf authentication (null|message-digest)",
- "IP Information\n"
- "OSPF interface commands\n"
- "Enable authentication on this interface\n"
- "Use null authentication\n"
- "Use message-digest authentication\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf authentication",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Enable authentication on this interface\n"
+ *
+ */
DEFUN (ip_ospf_authentication,
ip_ospf_authentication_addr_cmd,
"ip ospf authentication A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_authentication,
- ip_ospf_authentication_cmd,
- "ip ospf authentication",
- "IP Information\n"
- "OSPF interface commands\n"
- "Enable authentication on this interface\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf authentication (null|message-digest)",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Enable authentication on this interface\n"
+ * "Use null authentication\n"
+ * "Use message-digest authentication\n"
+ *
+ */
DEFUN (no_ip_ospf_authentication_args,
no_ip_ospf_authentication_args_addr_cmd,
"no ip ospf authentication (null|message-digest) A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_authentication_args,
- no_ip_ospf_authentication_args_cmd,
- "no ip ospf authentication (null|message-digest)",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Enable authentication on this interface\n"
- "Use null authentication\n"
- "Use message-digest authentication\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf authentication",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Enable authentication on this interface\n"
+ *
+ */
DEFUN (no_ip_ospf_authentication,
no_ip_ospf_authentication_addr_cmd,
"no ip ospf authentication A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_authentication,
- no_ip_ospf_authentication_cmd,
- "no ip ospf authentication",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Enable authentication on this interface\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf authentication-key AUTH_KEY",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Authentication password (key)\n"
+ * "The OSPF password (key)"
+ *
+ */
DEFUN (ip_ospf_authentication_key,
ip_ospf_authentication_key_addr_cmd,
"ip ospf authentication-key AUTH_KEY A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_authentication_key,
- ip_ospf_authentication_key_cmd,
- "ip ospf authentication-key AUTH_KEY",
- "IP Information\n"
- "OSPF interface commands\n"
- "Authentication password (key)\n"
- "The OSPF password (key)")
ALIAS_HIDDEN (ip_ospf_authentication_key,
ospf_authentication_key_cmd,
"Authentication password (key)\n"
"The OSPF password (key)")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf authentication-key AUTH_KEY A.B.C.D",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Authentication password (key)\n"
+ * "The OSPF password (key)\n"
+ * "Address of interface"
+ *
+ * "no ospf authentication-key AUTH_KEY",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Authentication password (key)\n"
+ * "The OSPF password (key)\n"
+ *
+ * "no ip ospf authentication-key",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Authentication password (key)\n"
+ *
+ * "no ip ospf authentication-key AUTH_KEY",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Authentication password (key)\n"
+ *
+ * "no ospf authentication-key",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Authentication password (key)\n"
+ *
+ */
DEFUN (no_ip_ospf_authentication_key,
no_ip_ospf_authentication_key_authkey_addr_cmd,
"no ip ospf authentication-key AUTH_KEY A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_authentication_key,
- no_ip_ospf_authentication_key_authkey_cmd,
- "no ip ospf authentication-key AUTH_KEY",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Authentication password (key)\n")
-ALIAS (no_ip_ospf_authentication_key,
- no_ip_ospf_authentication_key_cmd,
- "no ip ospf authentication-key",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Authentication password (key)\n")
-ALIAS (no_ip_ospf_authentication_key,
- no_ospf_authentication_key_cmd,
- "no ospf authentication-key",
- NO_STR
- "OSPF interface commands\n"
- "Authentication password (key)\n")
-ALIAS (no_ip_ospf_authentication_key,
- no_ospf_authentication_key_authkey_cmd,
- "no ospf authentication-key AUTH_KEY",
- NO_STR
- "OSPF interface commands\n"
- "Authentication password (key)\n"
- "The OSPF password (key)\n")
-ALIAS (no_ip_ospf_authentication_key,
- no_ospf_authentication_key_authkey_ip_cmd,
- "no ospf authentication-key AUTH_KEY A.B.C.D",
- NO_STR
- "OSPF interface commands\n"
- "Authentication password (key)\n"
- "The OSPF password (key)\n"
- "Address of interface")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf message-digest-key <1-255> md5 KEY",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Message digest authentication password (key)\n"
+ * "Key ID\n"
+ * "Use MD5 algorithm\n"
+ * "The OSPF password (key)"
+ *
+ */
DEFUN (ip_ospf_message_digest_key,
ip_ospf_message_digest_key_addr_cmd,
"ip ospf message-digest-key <1-255> md5 KEY A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_message_digest_key,
- ip_ospf_message_digest_key_cmd,
- "ip ospf message-digest-key <1-255> md5 KEY",
- "IP Information\n"
- "OSPF interface commands\n"
- "Message digest authentication password (key)\n"
- "Key ID\n"
- "Use MD5 algorithm\n"
- "The OSPF password (key)")
ALIAS_HIDDEN (ip_ospf_message_digest_key,
ospf_message_digest_key_cmd,
"Use MD5 algorithm\n"
"The OSPF password (key)")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf message-digest-key <1-255> md5 KEY",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Message digest authentication password (key)\n"
+ * "Key ID\n"
+ * "Use MD5 algorithm\n"
+ * "The OSPF password (key)"
+ *
+ */
DEFUN (no_ip_ospf_message_digest_key_md5,
no_ip_ospf_message_digest_key_md5_addr_cmd,
"no ip ospf message-digest-key <1-255> md5 KEY A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_message_digest_key_md5,
- no_ip_ospf_message_digest_key_md5_cmd,
- "no ip ospf message-digest-key <1-255> md5 KEY",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Message digest authentication password (key)\n"
- "Key ID\n"
- "Use MD5 algorithm\n"
- "The OSPF password (key)")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf message-digest-key <1-255>",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Message digest authentication password (key)\n"
+ * "Key ID\n"
+ *
+ * "no ospf message-digest-key <1-255>",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Message digest authentication password (key)\n"
+ * "Key ID\n"
+ *
+ */
DEFUN (no_ip_ospf_message_digest_key,
no_ip_ospf_message_digest_key_addr_cmd,
"no ip ospf message-digest-key <1-255> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_message_digest_key,
- no_ip_ospf_message_digest_key_cmd,
- "no ip ospf message-digest-key <1-255>",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Message digest authentication password (key)\n"
- "Key ID\n")
-ALIAS (no_ip_ospf_message_digest_key,
- no_ospf_message_digest_key_cmd,
- "no ospf message-digest-key <1-255>",
- NO_STR
- "OSPF interface commands\n"
- "Message digest authentication password (key)\n"
- "Key ID\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf cost <1-65535>",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interface cost\n"
+ * "Cost"
+ *
+ */
DEFUN (ip_ospf_cost,
ip_ospf_cost_u32_inet4_cmd,
"ip ospf cost <1-65535> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_cost,
- ip_ospf_cost_u32_cmd,
- "ip ospf cost <1-65535>",
- "IP Information\n"
- "OSPF interface commands\n"
- "Interface cost\n"
- "Cost")
ALIAS_HIDDEN (ip_ospf_cost,
ospf_cost_u32_cmd,
"Cost\n"
"Address of interface")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf cost A.B.C.D",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Interface cost\n"
+ * "Address of interface"
+ *
+ * "no ospf cost",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Interface cost\n"
+ *
+ * "no ip ospf cost",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interface cost\n"
+ *
+ */
DEFUN (no_ip_ospf_cost,
no_ip_ospf_cost_inet4_cmd,
"no ip ospf cost A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_cost,
- no_ip_ospf_cost_cmd,
- "no ip ospf cost",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Interface cost\n")
-ALIAS (no_ip_ospf_cost,
- no_ospf_cost_cmd,
- "no ospf cost",
- NO_STR
- "OSPF interface commands\n"
- "Interface cost\n")
-ALIAS (no_ip_ospf_cost,
- no_ospf_cost_inet4_cmd,
- "no ospf cost A.B.C.D",
- NO_STR
- "OSPF interface commands\n"
- "Interface cost\n"
- "Address of interface")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf cost <1-65535>",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Interface cost\n"
+ * "Cost"
+ *
+ * "no ospf cost <1-65535> A.B.C.D",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Interface cost\n"
+ * "Cost\n"
+ * "Address of interface"
+ *
+ * "no ip ospf cost <1-65535> A.B.C.D",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interface cost\n"
+ * "Cost\n"
+ * "Address of interface"
+ *
+ */
DEFUN (no_ip_ospf_cost2,
no_ip_ospf_cost_u32_cmd,
"no ip ospf cost <1-65535>",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_cost2,
- no_ospf_cost_u32_cmd,
- "no ospf cost <1-65535>",
- NO_STR
- "OSPF interface commands\n"
- "Interface cost\n"
- "Cost")
-ALIAS (no_ip_ospf_cost2,
- no_ip_ospf_cost_u32_inet4_cmd,
- "no ip ospf cost <1-65535> A.B.C.D",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Interface cost\n"
- "Cost\n"
- "Address of interface")
-ALIAS (no_ip_ospf_cost2,
- no_ospf_cost_u32_inet4_cmd,
- "no ospf cost <1-65535> A.B.C.D",
- NO_STR
- "OSPF interface commands\n"
- "Interface cost\n"
- "Cost\n"
- "Address of interface")
static void
ospf_nbr_timer_update (struct ospf_interface *oi)
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf dead-interval <1-65535>",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interval after which a neighbor is declared dead\n"
+ * "Seconds\n"
+ *
+ */
DEFUN (ip_ospf_dead_interval,
ip_ospf_dead_interval_addr_cmd,
"ip ospf dead-interval <1-65535> A.B.C.D",
return ospf_vty_dead_interval_set (vty, argv[3]->arg, NULL, NULL);
}
-ALIAS (ip_ospf_dead_interval,
- ip_ospf_dead_interval_cmd,
- "ip ospf dead-interval <1-65535>",
- "IP Information\n"
- "OSPF interface commands\n"
- "Interval after which a neighbor is declared dead\n"
- "Seconds\n")
ALIAS_HIDDEN (ip_ospf_dead_interval,
ospf_dead_interval_cmd,
"Interval after which a neighbor is declared dead\n"
"Seconds\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf dead-interval minimal hello-multiplier <1-10>",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interval after which a neighbor is declared dead\n"
+ * "Minimal 1s dead-interval with fast sub-second hellos\n"
+ * "Hello multiplier factor\n"
+ * "Number of Hellos to send each second\n"
+ *
+ */
DEFUN (ip_ospf_dead_interval_minimal,
ip_ospf_dead_interval_minimal_addr_cmd,
"ip ospf dead-interval minimal hello-multiplier <1-10> A.B.C.D",
return ospf_vty_dead_interval_set (vty, NULL, NULL, argv[5]->arg);
}
-ALIAS (ip_ospf_dead_interval_minimal,
- ip_ospf_dead_interval_minimal_cmd,
- "ip ospf dead-interval minimal hello-multiplier <1-10>",
- "IP Information\n"
- "OSPF interface commands\n"
- "Interval after which a neighbor is declared dead\n"
- "Minimal 1s dead-interval with fast sub-second hellos\n"
- "Hello multiplier factor\n"
- "Number of Hellos to send each second\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf dead-interval",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Interval after which a neighbor is declared dead\n"
+ *
+ * "no ip ospf dead-interval minimal hello-multiplier <1-10>",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interval after which a neighbor is declared dead\n"
+ * "Minimal 1s dead-interval with fast sub-second hellos\n"
+ * "Hello multiplier factor\n"
+ * "Number of Hellos to send each second\n"
+ *
+ * "no ip ospf dead-interval <1-65535>",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interval after which a neighbor is declared dead\n"
+ * "Seconds\n"
+ *
+ * "no ip ospf dead-interval",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interval after which a neighbor is declared dead\n"
+ *
+ * "no ip ospf dead-interval minimal hello-multiplier <1-10> A.B.C.D",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Interval after which a neighbor is declared dead\n"
+ * "Minimal 1s dead-interval with fast sub-second hellos\n"
+ * "Hello multiplier factor\n"
+ * "Number of Hellos to send each second\n"
+ * "Address of interface\n"
+ *
+ */
DEFUN (no_ip_ospf_dead_interval,
no_ip_ospf_dead_interval_addr_cmd,
"no ip ospf dead-interval <1-65535> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_dead_interval,
- no_ip_ospf_dead_interval_seconds_cmd,
- "no ip ospf dead-interval <1-65535>",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Interval after which a neighbor is declared dead\n"
- "Seconds\n")
-ALIAS (no_ip_ospf_dead_interval,
- no_ip_ospf_dead_interval_cmd,
- "no ip ospf dead-interval",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Interval after which a neighbor is declared dead\n")
-ALIAS (no_ip_ospf_dead_interval,
- no_ospf_dead_interval_cmd,
- "no ospf dead-interval",
- NO_STR
- "OSPF interface commands\n"
- "Interval after which a neighbor is declared dead\n")
-ALIAS (no_ip_ospf_dead_interval,
- no_ip_ospf_dead_interval_minimal_addr_cmd,
- "no ip ospf dead-interval minimal hello-multiplier <1-10> A.B.C.D",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Interval after which a neighbor is declared dead\n"
- "Minimal 1s dead-interval with fast sub-second hellos\n"
- "Hello multiplier factor\n"
- "Number of Hellos to send each second\n"
- "Address of interface\n")
-ALIAS (no_ip_ospf_dead_interval,
- no_ip_ospf_dead_interval_minimal_cmd,
- "no ip ospf dead-interval minimal hello-multiplier <1-10>",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Interval after which a neighbor is declared dead\n"
- "Minimal 1s dead-interval with fast sub-second hellos\n"
- "Hello multiplier factor\n"
- "Number of Hellos to send each second\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf hello-interval <1-65535>",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Time between HELLO packets\n"
+ * "Seconds\n"
+ *
+ */
DEFUN (ip_ospf_hello_interval,
ip_ospf_hello_interval_addr_cmd,
"ip ospf hello-interval <1-65535> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_hello_interval,
- ip_ospf_hello_interval_cmd,
- "ip ospf hello-interval <1-65535>",
- "IP Information\n"
- "OSPF interface commands\n"
- "Time between HELLO packets\n"
- "Seconds\n")
ALIAS_HIDDEN (ip_ospf_hello_interval,
ospf_hello_interval_cmd,
"Time between HELLO packets\n"
"Seconds\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf hello-interval <1-65535>",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Time between HELLO packets\n"
+ * "Seconds\n"
+ *
+ * "no ip ospf hello-interval",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Time between HELLO packets\n"
+ *
+ * "no ospf hello-interval <1-65535>",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Time between HELLO packets\n"
+ * "Seconds\n"
+ *
+ */
DEFUN (no_ip_ospf_hello_interval,
no_ip_ospf_hello_interval_addr_cmd,
"no ip ospf hello-interval <1-65535> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_hello_interval,
- no_ip_ospf_hello_interval_seconds_cmd,
- "no ip ospf hello-interval <1-65535>",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Time between HELLO packets\n"
- "Seconds\n")
-ALIAS (no_ip_ospf_hello_interval,
- no_ip_ospf_hello_interval_cmd,
- "no ip ospf hello-interval",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Time between HELLO packets\n")
-ALIAS (no_ip_ospf_hello_interval,
- no_ospf_hello_interval_cmd,
- "no ospf hello-interval <1-65535>",
- NO_STR
- "OSPF interface commands\n"
- "Time between HELLO packets\n"
- "Seconds\n")
DEFUN (ip_ospf_network,
ip_ospf_network_cmd,
"Specify OSPF point-to-multipoint network\n"
"Specify OSPF point-to-point network\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf network (broadcast|non-broadcast|point-to-multipoint|point-to-point)",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Network type\n"
+ * "Specify OSPF broadcast multi-access network\n"
+ * "Specify OSPF NBMA network\n"
+ * "Specify OSPF point-to-multipoint network\n"
+ * "Specify OSPF point-to-point network\n"
+ *
+ * "no ospf network",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Network type\n"
+ *
+ * "no ip ospf network (broadcast|non-broadcast|point-to-multipoint|point-to-point)",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Network type\n"
+ * "Specify OSPF broadcast multi-access network\n"
+ * "Specify OSPF NBMA network\n"
+ * "Specify OSPF point-to-multipoint network\n"
+ * "Specify OSPF point-to-point network\n"
+ *
+ */
DEFUN (no_ip_ospf_network,
no_ip_ospf_network_cmd,
"no ip ospf network",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_network,
- no_ip_ospf_network_val_cmd,
- "no ip ospf network (broadcast|non-broadcast|point-to-multipoint|point-to-point)",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Network type\n"
- "Specify OSPF broadcast multi-access network\n"
- "Specify OSPF NBMA network\n"
- "Specify OSPF point-to-multipoint network\n"
- "Specify OSPF point-to-point network\n")
-ALIAS (no_ip_ospf_network,
- no_ospf_network_cmd,
- "no ospf network",
- NO_STR
- "OSPF interface commands\n"
- "Network type\n")
-ALIAS (no_ip_ospf_network,
- no_ospf_network_val_cmd,
- "no ospf network (broadcast|non-broadcast|point-to-multipoint|point-to-point)",
- NO_STR
- "OSPF interface commands\n"
- "Network type\n"
- "Specify OSPF broadcast multi-access network\n"
- "Specify OSPF NBMA network\n"
- "Specify OSPF point-to-multipoint network\n"
- "Specify OSPF point-to-point network\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf priority <0-255>",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Router priority\n"
+ * "Priority\n"
+ *
+ */
DEFUN (ip_ospf_priority,
ip_ospf_priority_addr_cmd,
"ip ospf priority <0-255> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_priority,
- ip_ospf_priority_cmd,
- "ip ospf priority <0-255>",
- "IP Information\n"
- "OSPF interface commands\n"
- "Router priority\n"
- "Priority\n")
ALIAS_HIDDEN (ip_ospf_priority,
ospf_priority_cmd,
"Router priority\n"
"Priority\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf priority",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Router priority\n"
+ *
+ * "no ip ospf priority <0-255>",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Router priority\n"
+ * "Priority\n"
+ *
+ * "no ospf priority <0-255>",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Router priority\n"
+ * "Priority\n"
+ *
+ */
DEFUN (no_ip_ospf_priority,
no_ip_ospf_priority_addr_cmd,
"no ip ospf priority <0-255> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_priority,
- no_ip_ospf_priority_no_param_cmd,
- "no ip ospf priority",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Router priority\n");
-ALIAS (no_ip_ospf_priority,
- no_ip_ospf_priority_cmd,
- "no ip ospf priority <0-255>",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Router priority\n"
- "Priority\n")
-ALIAS (no_ip_ospf_priority,
- no_ospf_priority_cmd,
- "no ospf priority <0-255>",
- NO_STR
- "OSPF interface commands\n"
- "Router priority\n"
- "Priority\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf retransmit-interval <3-65535>",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Time between retransmitting lost link state advertisements\n"
+ * "Seconds\n"
+ *
+ */
DEFUN (ip_ospf_retransmit_interval,
ip_ospf_retransmit_interval_addr_cmd,
"ip ospf retransmit-interval <3-65535> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_retransmit_interval,
- ip_ospf_retransmit_interval_cmd,
- "ip ospf retransmit-interval <3-65535>",
- "IP Information\n"
- "OSPF interface commands\n"
- "Time between retransmitting lost link state advertisements\n"
- "Seconds\n")
ALIAS_HIDDEN (ip_ospf_retransmit_interval,
ospf_retransmit_interval_cmd,
"Time between retransmitting lost link state advertisements\n"
"Seconds\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf retransmit-interval <3-65535> A.B.C.D",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Time between retransmitting lost link state advertisements\n"
+ * "Seconds\n"
+ * "Address of interface"
+ *
+ * "no ip ospf retransmit-interval",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Time between retransmitting lost link state advertisements\n"
+ *
+ * "no ospf retransmit-interval",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Time between retransmitting lost link state advertisements\n"
+ *
+ */
DEFUN (no_ip_ospf_retransmit_interval,
no_ip_ospf_retransmit_interval_addr_cmd,
"no ip ospf retransmit-interval A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_retransmit_interval,
- no_ip_ospf_retransmit_interval_sec_addr_cmd,
- "no ip ospf retransmit-interval <3-65535> A.B.C.D",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Time between retransmitting lost link state advertisements\n"
- "Seconds\n"
- "Address of interface")
-ALIAS (no_ip_ospf_retransmit_interval,
- no_ip_ospf_retransmit_interval_cmd,
- "no ip ospf retransmit-interval",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Time between retransmitting lost link state advertisements\n")
-ALIAS (no_ip_ospf_retransmit_interval,
- no_ospf_retransmit_interval_cmd,
- "no ospf retransmit-interval",
- NO_STR
- "OSPF interface commands\n"
- "Time between retransmitting lost link state advertisements\n")
DEFUN (no_ip_ospf_retransmit_interval_sec,
no_ip_ospf_retransmit_interval_sec_cmd,
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf transmit-delay <1-65535>",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Link state transmit delay\n"
+ * "Seconds\n"
+ *
+ */
DEFUN (ip_ospf_transmit_delay,
ip_ospf_transmit_delay_addr_cmd,
"ip ospf transmit-delay <1-65535> A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_transmit_delay,
- ip_ospf_transmit_delay_cmd,
- "ip ospf transmit-delay <1-65535>",
- "IP Information\n"
- "OSPF interface commands\n"
- "Link state transmit delay\n"
- "Seconds\n")
ALIAS_HIDDEN (ip_ospf_transmit_delay,
ospf_transmit_delay_cmd,
"Link state transmit delay\n"
"Seconds\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf transmit-delay",
+ * NO_STR
+ * "OSPF interface commands\n"
+ * "Link state transmit delay\n"
+ *
+ * "no ip ospf transmit-delay",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Link state transmit delay\n"
+ *
+ * "no ip ospf transmit-delay <1-65535> A.B.C.D",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Link state transmit delay\n"
+ * "Seconds\n"
+ * "Address of interface"
+ *
+ */
DEFUN (no_ip_ospf_transmit_delay,
no_ip_ospf_transmit_delay_addr_cmd,
"no ip ospf transmit-delay A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_transmit_delay,
- no_ip_ospf_transmit_delay_sec_addr_cmd,
- "no ip ospf transmit-delay <1-65535> A.B.C.D",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Link state transmit delay\n"
- "Seconds\n"
- "Address of interface")
-ALIAS (no_ip_ospf_transmit_delay,
- no_ip_ospf_transmit_delay_cmd,
- "no ip ospf transmit-delay",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Link state transmit delay\n")
-ALIAS (no_ip_ospf_transmit_delay,
- no_ospf_transmit_delay_cmd,
- "no ospf transmit-delay",
- NO_STR
- "OSPF interface commands\n"
- "Link state transmit delay\n")
DEFUN (no_ip_ospf_transmit_delay_sec,
no_ip_ospf_transmit_delay_sec_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf <1-65535> area (A.B.C.D|<0-4294967295>)",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Instance ID\n"
+ * "Enable OSPF on this interface\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ *
+ */
DEFUN (ip_ospf_area,
ip_ospf_area_cmd,
"ip ospf area (A.B.C.D|<0-4294967295>)",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_area,
- ip_ospf_instance_area_cmd,
- "ip ospf <1-65535> area (A.B.C.D|<0-4294967295>)",
- "IP Information\n"
- "OSPF interface commands\n"
- "Instance ID\n"
- "Enable OSPF on this interface\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf area (A.B.C.D|<0-4294967295>)",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Disable OSPF on this interface\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ *
+ */
DEFUN (no_ip_ospf_area,
no_ip_ospf_area_cmd,
"no ip ospf area",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_area,
- no_ip_ospf_area_val_cmd,
- "no ip ospf area (A.B.C.D|<0-4294967295>)",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Disable OSPF on this interface\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf <1-65535> area (A.B.C.D|<0-4294967295>)",
+ * NO_STR
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Instance ID\n"
+ * "Disable OSPF on this interface\n"
+ * "OSPF area ID in IP address format\n"
+ * "OSPF area ID as a decimal value\n"
+ *
+ */
DEFUN (no_ip_ospf_instance_area,
no_ip_ospf_instance_area_cmd,
"no ip ospf <1-65535> area",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_instance_area,
- no_ip_ospf_instance_area_val_cmd,
- "no ip ospf <1-65535> area (A.B.C.D|<0-4294967295>)",
- NO_STR
- "IP Information\n"
- "OSPF interface commands\n"
- "Instance ID\n"
- "Disable OSPF on this interface\n"
- "OSPF area ID in IP address format\n"
- "OSPF area ID as a decimal value\n")
DEFUN (ospf_redistribute_source,
ospf_redistribute_source_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no default-metric <0-16777214>",
+ * NO_STR
+ * "Set metric of redistributed routes\n"
+ * "Default metric\n"
+ *
+ */
DEFUN (no_ospf_default_metric,
no_ospf_default_metric_cmd,
"no default-metric",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_default_metric,
- no_ospf_default_metric_val_cmd,
- "no default-metric <0-16777214>",
- NO_STR
- "Set metric of redistributed routes\n"
- "Default metric\n")
DEFUN (ospf_distance,
ospf_distance_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip ospf mtu-ignore",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Disable mtu mismatch detection\n"
+ *
+ */
DEFUN (ip_ospf_mtu_ignore,
ip_ospf_mtu_ignore_addr_cmd,
"ip ospf mtu-ignore A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (ip_ospf_mtu_ignore,
- ip_ospf_mtu_ignore_cmd,
- "ip ospf mtu-ignore",
- "IP Information\n"
- "OSPF interface commands\n"
- "Disable mtu mismatch detection\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip ospf mtu-ignore",
+ * "IP Information\n"
+ * "OSPF interface commands\n"
+ * "Disable mtu mismatch detection\n"
+ *
+ */
DEFUN (no_ip_ospf_mtu_ignore,
no_ip_ospf_mtu_ignore_addr_cmd,
"no ip ospf mtu-ignore A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (no_ip_ospf_mtu_ignore,
- no_ip_ospf_mtu_ignore_cmd,
- "no ip ospf mtu-ignore",
- "IP Information\n"
- "OSPF interface commands\n"
- "Disable mtu mismatch detection\n")
DEFUN (ospf_max_metric_router_lsa_admin,
ospf_max_metric_router_lsa_admin_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no max-metric router-lsa on-startup",
+ * NO_STR
+ * "OSPF maximum / infinite-distance metric\n"
+ * "Advertise own Router-LSA with infinite distance (stub router)\n"
+ * "Automatically advertise stub Router-LSA on startup of OSPF\n"
+ *
+ */
DEFUN (no_ospf_max_metric_router_lsa_startup,
no_ospf_max_metric_router_lsa_startup_cmd,
"no max-metric router-lsa on-startup <5-86400>",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_max_metric_router_lsa_startup,
- no_ospf_max_metric_router_lsa_startup_no_param_cmd,
- "no max-metric router-lsa on-startup",
- NO_STR
- "OSPF maximum / infinite-distance metric\n"
- "Advertise own Router-LSA with infinite distance (stub router)\n"
- "Automatically advertise stub Router-LSA on startup of OSPF\n");
DEFUN (ospf_max_metric_router_lsa_shutdown,
ospf_max_metric_router_lsa_shutdown_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no max-metric router-lsa on-shutdown",
+ * NO_STR
+ * "OSPF maximum / infinite-distance metric\n"
+ * "Advertise own Router-LSA with infinite distance (stub router)\n"
+ * "Advertise stub-router prior to full shutdown of OSPF\n");
+ *
+ * static void
+ * config_write_stub_router (struct vty *vty, struct ospf *ospf
+ *
+ */
DEFUN (no_ospf_max_metric_router_lsa_shutdown,
no_ospf_max_metric_router_lsa_shutdown_cmd,
"no max-metric router-lsa on-shutdown <5-100>",
return CMD_SUCCESS;
}
-ALIAS (no_ospf_max_metric_router_lsa_shutdown,
- no_ospf_max_metric_router_lsa_shutdown_no_param_cmd,
- "no max-metric router-lsa on-shutdown",
- NO_STR
- "OSPF maximum / infinite-distance metric\n"
- "Advertise own Router-LSA with infinite distance (stub router)\n"
- "Advertise stub-router prior to full shutdown of OSPF\n");
-
-static void
-config_write_stub_router (struct vty *vty, struct ospf *ospf)
{
struct listnode *ln;
struct ospf_area *area;
install_element (ENABLE_NODE, &show_ip_ospf_instance_cmd);
/* "show ip ospf database" commands. */
- install_element (VIEW_NODE, &show_ip_ospf_database_type_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_database_type_id_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_database_type_id_adv_router_cmd);
install_element (VIEW_NODE, &show_ip_ospf_database_type_adv_router_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_database_type_id_self_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_database_type_self_cmd);
install_element (VIEW_NODE, &show_ip_ospf_database_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_database_type_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_database_type_id_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_database_type_id_adv_router_cmd);
install_element (ENABLE_NODE, &show_ip_ospf_database_type_adv_router_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_database_type_id_self_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_database_type_self_cmd);
install_element (ENABLE_NODE, &show_ip_ospf_database_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_instance_database_type_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_instance_database_type_id_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_instance_database_type_id_adv_router_cmd);
install_element (VIEW_NODE, &show_ip_ospf_instance_database_type_adv_router_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_instance_database_type_id_self_cmd);
- install_element (VIEW_NODE, &show_ip_ospf_instance_database_type_self_cmd);
install_element (VIEW_NODE, &show_ip_ospf_instance_database_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_instance_database_type_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_instance_database_type_id_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_instance_database_type_id_adv_router_cmd);
install_element (ENABLE_NODE, &show_ip_ospf_instance_database_type_adv_router_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_instance_database_type_id_self_cmd);
- install_element (ENABLE_NODE, &show_ip_ospf_instance_database_type_self_cmd);
install_element (ENABLE_NODE, &show_ip_ospf_instance_database_cmd);
/* "show ip ospf interface" commands. */
/* "ip ospf authentication" commands. */
install_element (INTERFACE_NODE, &ip_ospf_authentication_args_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_authentication_args_cmd);
install_element (INTERFACE_NODE, &ip_ospf_authentication_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_authentication_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_authentication_args_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_authentication_args_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_authentication_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_authentication_cmd);
install_element (INTERFACE_NODE, &ip_ospf_authentication_key_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_authentication_key_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_authentication_key_authkey_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_authentication_key_authkey_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_authentication_key_cmd);
/* "ip ospf message-digest-key" commands. */
install_element (INTERFACE_NODE, &ip_ospf_message_digest_key_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_message_digest_key_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_message_digest_key_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_message_digest_key_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_message_digest_key_md5_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_message_digest_key_md5_cmd);
/* "ip ospf cost" commands. */
install_element (INTERFACE_NODE, &ip_ospf_cost_u32_inet4_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_cost_u32_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_cost_u32_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_cost_u32_inet4_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_cost_inet4_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_cost_cmd);
/* "ip ospf mtu-ignore" commands. */
install_element (INTERFACE_NODE, &ip_ospf_mtu_ignore_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_mtu_ignore_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_mtu_ignore_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_mtu_ignore_cmd);
/* "ip ospf dead-interval" commands. */
install_element (INTERFACE_NODE, &ip_ospf_dead_interval_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_dead_interval_cmd);
install_element (INTERFACE_NODE, &ip_ospf_dead_interval_minimal_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_dead_interval_minimal_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_dead_interval_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_dead_interval_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_dead_interval_seconds_cmd);
/* "ip ospf hello-interval" commands. */
install_element (INTERFACE_NODE, &ip_ospf_hello_interval_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_hello_interval_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_hello_interval_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_hello_interval_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_hello_interval_seconds_cmd);
/* "ip ospf network" commands. */
install_element (INTERFACE_NODE, &ip_ospf_network_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_network_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_network_val_cmd);
/* "ip ospf priority" commands. */
install_element (INTERFACE_NODE, &ip_ospf_priority_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_priority_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_priority_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_priority_no_param_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_priority_addr_cmd);
/* "ip ospf retransmit-interval" commands. */
install_element (INTERFACE_NODE, &ip_ospf_retransmit_interval_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_retransmit_interval_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_retransmit_interval_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_retransmit_interval_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_retransmit_interval_sec_addr_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_retransmit_interval_sec_cmd);
/* "ip ospf transmit-delay" commands. */
install_element (INTERFACE_NODE, &ip_ospf_transmit_delay_addr_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_transmit_delay_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_transmit_delay_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_transmit_delay_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_transmit_delay_sec_addr_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_transmit_delay_sec_cmd);
/* "ip ospf area" commands. */
install_element (INTERFACE_NODE, &ip_ospf_area_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_area_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_area_val_cmd);
- install_element (INTERFACE_NODE, &ip_ospf_instance_area_cmd);
install_element (INTERFACE_NODE, &no_ip_ospf_instance_area_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_instance_area_val_cmd);
/* These commands are compatibitliy for previous version. */
install_element (INTERFACE_NODE, &ospf_authentication_key_cmd);
- install_element (INTERFACE_NODE, &no_ospf_authentication_key_cmd);
- install_element (INTERFACE_NODE, &no_ospf_authentication_key_authkey_cmd);
- install_element (INTERFACE_NODE, &no_ospf_authentication_key_authkey_ip_cmd);
install_element (INTERFACE_NODE, &ospf_message_digest_key_cmd);
- install_element (INTERFACE_NODE, &no_ospf_message_digest_key_cmd);
install_element (INTERFACE_NODE, &ospf_cost_u32_cmd);
install_element (INTERFACE_NODE, &ospf_cost_u32_inet4_cmd);
- install_element (INTERFACE_NODE, &no_ospf_cost_cmd);
- install_element (INTERFACE_NODE, &no_ospf_cost_u32_cmd);
- install_element (INTERFACE_NODE, &no_ospf_cost_u32_inet4_cmd);
- install_element (INTERFACE_NODE, &no_ospf_cost_inet4_cmd);
install_element (INTERFACE_NODE, &ospf_dead_interval_cmd);
- install_element (INTERFACE_NODE, &no_ospf_dead_interval_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_dead_interval_minimal_addr_cmd);
- install_element (INTERFACE_NODE, &no_ip_ospf_dead_interval_minimal_cmd);
install_element (INTERFACE_NODE, &ospf_hello_interval_cmd);
- install_element (INTERFACE_NODE, &no_ospf_hello_interval_cmd);
install_element (INTERFACE_NODE, &ospf_network_cmd);
- install_element (INTERFACE_NODE, &no_ospf_network_cmd);
- install_element (INTERFACE_NODE, &no_ospf_network_val_cmd);
install_element (INTERFACE_NODE, &ospf_priority_cmd);
- install_element (INTERFACE_NODE, &no_ospf_priority_cmd);
install_element (INTERFACE_NODE, &ospf_retransmit_interval_cmd);
- install_element (INTERFACE_NODE, &no_ospf_retransmit_interval_cmd);
install_element (INTERFACE_NODE, &ospf_transmit_delay_cmd);
- install_element (INTERFACE_NODE, &no_ospf_transmit_delay_cmd);
}
static void
install_element (OSPF_NODE, &ospf_default_metric_cmd);
install_element (OSPF_NODE, &no_ospf_default_metric_cmd);
- install_element (OSPF_NODE, &no_ospf_default_metric_val_cmd);
install_element (OSPF_NODE, &ospf_distance_cmd);
install_element (OSPF_NODE, &no_ospf_distance_cmd);
install_element (CONFIG_NODE, &router_ospf_cmd);
install_element (CONFIG_NODE, &no_router_ospf_cmd);
- install_element (CONFIG_NODE, &router_ospf_instance_cmd);
- install_element (CONFIG_NODE, &no_router_ospf_instance_cmd);
install_default (OSPF_NODE);
install_element (OSPF_NODE, &ospf_router_id_cmd);
install_element (OSPF_NODE, &ospf_router_id_old_cmd);
install_element (OSPF_NODE, &no_ospf_router_id_cmd);
- install_element (OSPF_NODE, &no_ospf_router_id_val_cmd);
/* "passive-interface" commands. */
install_element (OSPF_NODE, &ospf_passive_interface_addr_cmd);
- install_element (OSPF_NODE, &ospf_passive_interface_cmd);
- install_element (OSPF_NODE, &ospf_passive_interface_default_cmd);
install_element (OSPF_NODE, &no_ospf_passive_interface_addr_cmd);
- install_element (OSPF_NODE, &no_ospf_passive_interface_cmd);
- install_element (OSPF_NODE, &no_ospf_passive_interface_default_cmd);
/* "ospf abr-type" commands. */
install_element (OSPF_NODE, &ospf_abr_type_cmd);
install_element (OSPF_NODE, &no_ospf_log_adjacency_changes_detail_cmd);
/* "ospf rfc1583-compatible" commands. */
- install_element (OSPF_NODE, &ospf_rfc1583_flag_cmd);
- install_element (OSPF_NODE, &no_ospf_rfc1583_flag_cmd);
install_element (OSPF_NODE, &ospf_compatible_rfc1583_cmd);
install_element (OSPF_NODE, &no_ospf_compatible_rfc1583_cmd);
/* "area range" commands. */
install_element (OSPF_NODE, &ospf_area_range_cmd);
- install_element (OSPF_NODE, &ospf_area_range_advertise_cmd);
- install_element (OSPF_NODE, &ospf_area_range_cost_cmd);
- install_element (OSPF_NODE, &ospf_area_range_advertise_cost_cmd);
install_element (OSPF_NODE, &ospf_area_range_not_advertise_cmd);
install_element (OSPF_NODE, &no_ospf_area_range_cmd);
- install_element (OSPF_NODE, &no_ospf_area_range_advertise_cmd);
- install_element (OSPF_NODE, &no_ospf_area_range_cost_cmd);
- install_element (OSPF_NODE, &no_ospf_area_range_advertise_cost_cmd);
install_element (OSPF_NODE, &ospf_area_range_substitute_cmd);
install_element (OSPF_NODE, &no_ospf_area_range_substitute_cmd);
install_element (OSPF_NODE, &ospf_area_vlink_cmd);
install_element (OSPF_NODE, &no_ospf_area_vlink_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_param1_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_param1_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_param2_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_param2_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_param3_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_param3_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_param4_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_param4_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_authtype_args_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_authtype_args_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_authtype_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_authtype_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_md5_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_md5_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_authkey_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_authkey_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_authtype_args_authkey_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_authtype_args_authkey_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_authtype_authkey_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_authtype_authkey_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_authtype_args_md5_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_authtype_args_md5_cmd);
- install_element (OSPF_NODE, &ospf_area_vlink_authtype_md5_cmd);
- install_element (OSPF_NODE, &no_ospf_area_vlink_authtype_md5_cmd);
/* "area stub" commands. */
install_element (OSPF_NODE, &ospf_area_stub_no_summary_cmd);
install_element (OSPF_NODE, &ospf_area_nssa_translate_cmd);
install_element (OSPF_NODE, &ospf_area_nssa_no_summary_cmd);
install_element (OSPF_NODE, &no_ospf_area_nssa_cmd);
- install_element (OSPF_NODE, &no_ospf_area_nssa_no_summary_cmd);
install_element (OSPF_NODE, &ospf_area_default_cost_cmd);
install_element (OSPF_NODE, &no_ospf_area_default_cost_cmd);
/* SPF timer commands */
install_element (OSPF_NODE, &ospf_timers_throttle_spf_cmd);
install_element (OSPF_NODE, &no_ospf_timers_throttle_spf_cmd);
- install_element (OSPF_NODE, &no_ospf_timers_throttle_spf_val_cmd);
/* LSA timers commands */
install_element (OSPF_NODE, &ospf_timers_min_ls_interval_cmd);
install_element (OSPF_NODE, &no_ospf_timers_min_ls_interval_cmd);
- install_element (OSPF_NODE, &no_ospf_timers_min_ls_interval_val_cmd);
install_element (OSPF_NODE, &ospf_timers_min_ls_arrival_cmd);
install_element (OSPF_NODE, &no_ospf_timers_min_ls_arrival_cmd);
- install_element (OSPF_NODE, &no_ospf_timers_min_ls_arrival_val_cmd);
install_element (OSPF_NODE, &ospf_timers_lsa_cmd);
install_element (OSPF_NODE, &no_ospf_timers_lsa_cmd);
- install_element (OSPF_NODE, &no_ospf_timers_lsa_val_cmd);
/* refresh timer commands */
install_element (OSPF_NODE, &ospf_refresh_timer_cmd);
install_element (OSPF_NODE, &no_ospf_refresh_timer_val_cmd);
- install_element (OSPF_NODE, &no_ospf_refresh_timer_cmd);
/* max-metric commands */
install_element (OSPF_NODE, &ospf_max_metric_router_lsa_admin_cmd);
install_element (OSPF_NODE, &no_ospf_max_metric_router_lsa_admin_cmd);
install_element (OSPF_NODE, &ospf_max_metric_router_lsa_startup_cmd);
install_element (OSPF_NODE, &no_ospf_max_metric_router_lsa_startup_cmd);
- install_element (OSPF_NODE, &no_ospf_max_metric_router_lsa_startup_no_param_cmd);
install_element (OSPF_NODE, &ospf_max_metric_router_lsa_shutdown_cmd);
install_element (OSPF_NODE, &no_ospf_max_metric_router_lsa_shutdown_cmd);
- install_element (OSPF_NODE, &no_ospf_max_metric_router_lsa_shutdown_no_param_cmd);
/* reference bandwidth commands */
install_element (OSPF_NODE, &ospf_auto_cost_reference_bandwidth_cmd);
install_element (OSPF_NODE, &no_ospf_auto_cost_reference_bandwidth_cmd);
- install_element (OSPF_NODE, &no_ospf_auto_cost_reference_bandwidth_val_cmd);
/* "neighbor" commands. */
install_element (OSPF_NODE, &ospf_neighbor_cmd);
- install_element (OSPF_NODE, &ospf_neighbor_priority_poll_interval_cmd);
- install_element (OSPF_NODE, &ospf_neighbor_priority_cmd);
install_element (OSPF_NODE, &ospf_neighbor_poll_interval_cmd);
- install_element (OSPF_NODE, &ospf_neighbor_poll_interval_priority_cmd);
install_element (OSPF_NODE, &no_ospf_neighbor_cmd);
- install_element (OSPF_NODE, &no_ospf_neighbor_priority_cmd);
- install_element (OSPF_NODE, &no_ospf_neighbor_poll_interval_cmd);
- install_element (OSPF_NODE, &no_ospf_neighbor_poll_interval_priority_cmd);
- install_element (OSPF_NODE, &no_ospf_neighbor_priority_pollinterval_cmd);
/* write multiplier commands */
install_element (OSPF_NODE, &ospf_write_multiplier_cmd);
install_element (OSPF_NODE, &no_ospf_write_multiplier_cmd);
- install_element (OSPF_NODE, &write_multiplier_cmd);
- install_element (OSPF_NODE, &no_write_multiplier_cmd);
- install_element (OSPF_NODE, &no_write_multiplier_val_cmd);
/* Init interface related vty commands. */
ospf_vty_if_init ();
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip pim hello <1-180> <1-180>",
+ * IP_STR
+ * PIM_STR
+ * IFACE_PIM_HELLO_STR
+ * IFACE_PIM_HELLO_TIME_STR
+ * IFACE_PIM_HELLO_HOLD_STR
+ *
+ */
DEFUN (interface_ip_pim_hello,
interface_ip_pim_hello_cmd,
"ip pim hello <1-180>",
return CMD_SUCCESS;
}
-ALIAS (interface_ip_pim_hello,
- interface_ip_pim_hello_hold_cmd,
- "ip pim hello <1-180> <1-180>",
- IP_STR
- PIM_STR
- IFACE_PIM_HELLO_STR
- IFACE_PIM_HELLO_TIME_STR
- IFACE_PIM_HELLO_HOLD_STR)
DEFUN (interface_no_ip_pim_hello,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug igmp",
+ * UNDEBUG_STR
+ * DEBUG_IGMP_STR
+ *
+ */
DEFUN (no_debug_igmp,
no_debug_igmp_cmd,
"no debug igmp",
return CMD_SUCCESS;
}
-ALIAS (no_debug_igmp,
- undebug_igmp_cmd,
- "undebug igmp",
- UNDEBUG_STR
- DEBUG_IGMP_STR)
DEFUN (debug_igmp_events,
debug_igmp_events_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug igmp events",
+ * UNDEBUG_STR
+ * DEBUG_IGMP_STR
+ * DEBUG_IGMP_EVENTS_STR
+ *
+ */
DEFUN (no_debug_igmp_events,
no_debug_igmp_events_cmd,
"no debug igmp events",
return CMD_SUCCESS;
}
-ALIAS (no_debug_igmp_events,
- undebug_igmp_events_cmd,
- "undebug igmp events",
- UNDEBUG_STR
- DEBUG_IGMP_STR
- DEBUG_IGMP_EVENTS_STR)
DEFUN (debug_igmp_packets,
debug_igmp_packets_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug igmp packets",
+ * UNDEBUG_STR
+ * DEBUG_IGMP_STR
+ * DEBUG_IGMP_PACKETS_STR
+ *
+ */
DEFUN (no_debug_igmp_packets,
no_debug_igmp_packets_cmd,
"no debug igmp packets",
return CMD_SUCCESS;
}
-ALIAS (no_debug_igmp_packets,
- undebug_igmp_packets_cmd,
- "undebug igmp packets",
- UNDEBUG_STR
- DEBUG_IGMP_STR
- DEBUG_IGMP_PACKETS_STR)
DEFUN (debug_igmp_trace,
debug_igmp_trace_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug igmp trace",
+ * UNDEBUG_STR
+ * DEBUG_IGMP_STR
+ * DEBUG_IGMP_TRACE_STR
+ *
+ */
DEFUN (no_debug_igmp_trace,
no_debug_igmp_trace_cmd,
"no debug igmp trace",
return CMD_SUCCESS;
}
-ALIAS (no_debug_igmp_trace,
- undebug_igmp_trace_cmd,
- "undebug igmp trace",
- UNDEBUG_STR
- DEBUG_IGMP_STR
- DEBUG_IGMP_TRACE_STR)
DEFUN (debug_mroute,
debug_mroute_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug mroute",
+ * UNDEBUG_STR
+ * DEBUG_MROUTE_STR
+ *
+ */
DEFUN (no_debug_mroute,
no_debug_mroute_cmd,
"no debug mroute",
return CMD_SUCCESS;
}
-ALIAS (no_debug_mroute,
- undebug_mroute_cmd,
- "undebug mroute",
- UNDEBUG_STR
- DEBUG_MROUTE_STR)
DEFUN (debug_static,
debug_static_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug static",
+ * UNDEBUG_STR
+ * DEBUG_STATIC_STR
+ *
+ */
DEFUN (no_debug_static,
no_debug_static_cmd,
"no debug static",
return CMD_SUCCESS;
}
-ALIAS (no_debug_static,
- undebug_static_cmd,
- "undebug static",
- UNDEBUG_STR
- DEBUG_STATIC_STR)
DEFUN (debug_pim,
debug_pim_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug pim",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ *
+ */
DEFUN (no_debug_pim,
no_debug_pim_cmd,
"no debug pim",
return CMD_SUCCESS;
}
-ALIAS (no_debug_pim,
- undebug_pim_cmd,
- "undebug pim",
- UNDEBUG_STR
- DEBUG_PIM_STR)
DEFUN (debug_pim_events,
debug_pim_events_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug pim events",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ * DEBUG_PIM_EVENTS_STR
+ *
+ */
DEFUN (no_debug_pim_events,
no_debug_pim_events_cmd,
"no debug pim events",
return CMD_SUCCESS;
}
-ALIAS (no_debug_pim_events,
- undebug_pim_events_cmd,
- "undebug pim events",
- UNDEBUG_STR
- DEBUG_PIM_STR
- DEBUG_PIM_EVENTS_STR)
DEFUN (debug_pim_packets,
debug_pim_packets_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug pim packets",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ * DEBUG_PIM_PACKETS_STR
+ *
+ */
DEFUN (no_debug_pim_packets,
no_debug_pim_packets_cmd,
"no debug pim packets",
return CMD_SUCCESS;
}
-ALIAS (no_debug_pim_packets,
- undebug_pim_packets_cmd,
- "undebug pim packets",
- UNDEBUG_STR
- DEBUG_PIM_STR
- DEBUG_PIM_PACKETS_STR)
DEFUN (debug_pim_packetdump_send,
debug_pim_packetdump_send_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug pim packet-dump send",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ * DEBUG_PIM_PACKETDUMP_STR
+ * DEBUG_PIM_PACKETDUMP_SEND_STR
+ *
+ */
DEFUN (no_debug_pim_packetdump_send,
no_debug_pim_packetdump_send_cmd,
"no debug pim packet-dump send",
return CMD_SUCCESS;
}
-ALIAS (no_debug_pim_packetdump_send,
- undebug_pim_packetdump_send_cmd,
- "undebug pim packet-dump send",
- UNDEBUG_STR
- DEBUG_PIM_STR
- DEBUG_PIM_PACKETDUMP_STR
- DEBUG_PIM_PACKETDUMP_SEND_STR)
DEFUN (debug_pim_packetdump_recv,
debug_pim_packetdump_recv_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug pim packet-dump receive",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ * DEBUG_PIM_PACKETDUMP_STR
+ * DEBUG_PIM_PACKETDUMP_RECV_STR
+ *
+ */
DEFUN (no_debug_pim_packetdump_recv,
no_debug_pim_packetdump_recv_cmd,
"no debug pim packet-dump receive",
return CMD_SUCCESS;
}
-ALIAS (no_debug_pim_packetdump_recv,
- undebug_pim_packetdump_recv_cmd,
- "undebug pim packet-dump receive",
- UNDEBUG_STR
- DEBUG_PIM_STR
- DEBUG_PIM_PACKETDUMP_STR
- DEBUG_PIM_PACKETDUMP_RECV_STR)
DEFUN (debug_pim_trace,
debug_pim_trace_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug pim trace",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ * DEBUG_PIM_TRACE_STR
+ *
+ */
DEFUN (no_debug_pim_trace,
no_debug_pim_trace_cmd,
"no debug pim trace",
return CMD_SUCCESS;
}
-ALIAS (no_debug_pim_trace,
- undebug_pim_trace_cmd,
- "undebug pim trace",
- UNDEBUG_STR
- DEBUG_PIM_STR
- DEBUG_PIM_TRACE_STR)
DEFUN (debug_ssmpingd,
debug_ssmpingd_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug ssmpingd",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ * DEBUG_SSMPINGD_STR
+ *
+ */
DEFUN (no_debug_ssmpingd,
no_debug_ssmpingd_cmd,
"no debug ssmpingd",
return CMD_SUCCESS;
}
-ALIAS (no_debug_ssmpingd,
- undebug_ssmpingd_cmd,
- "undebug ssmpingd",
- UNDEBUG_STR
- DEBUG_PIM_STR
- DEBUG_SSMPINGD_STR)
DEFUN (debug_pim_zebra,
debug_pim_zebra_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "undebug pim zebra",
+ * UNDEBUG_STR
+ * DEBUG_PIM_STR
+ * DEBUG_PIM_ZEBRA_STR
+ *
+ */
DEFUN (no_debug_pim_zebra,
no_debug_pim_zebra_cmd,
"no debug pim zebra",
return CMD_SUCCESS;
}
-ALIAS (no_debug_pim_zebra,
- undebug_pim_zebra_cmd,
- "undebug pim zebra",
- UNDEBUG_STR
- DEBUG_PIM_STR
- DEBUG_PIM_ZEBRA_STR)
DEFUN (show_debugging_pim,
show_debugging_pim_cmd,
install_element (INTERFACE_NODE, &interface_ip_pim_drprio_cmd);
install_element (INTERFACE_NODE, &interface_no_ip_pim_drprio_cmd);
install_element (INTERFACE_NODE, &interface_ip_pim_hello_cmd);
- install_element (INTERFACE_NODE, &interface_ip_pim_hello_hold_cmd);
install_element (INTERFACE_NODE, &interface_no_ip_pim_hello_cmd);
// Static mroutes NEB
install_element (ENABLE_NODE, &debug_igmp_cmd);
install_element (ENABLE_NODE, &no_debug_igmp_cmd);
- install_element (ENABLE_NODE, &undebug_igmp_cmd);
install_element (ENABLE_NODE, &debug_igmp_events_cmd);
install_element (ENABLE_NODE, &no_debug_igmp_events_cmd);
- install_element (ENABLE_NODE, &undebug_igmp_events_cmd);
install_element (ENABLE_NODE, &debug_igmp_packets_cmd);
install_element (ENABLE_NODE, &no_debug_igmp_packets_cmd);
- install_element (ENABLE_NODE, &undebug_igmp_packets_cmd);
install_element (ENABLE_NODE, &debug_igmp_trace_cmd);
install_element (ENABLE_NODE, &no_debug_igmp_trace_cmd);
- install_element (ENABLE_NODE, &undebug_igmp_trace_cmd);
install_element (ENABLE_NODE, &debug_mroute_cmd);
install_element (ENABLE_NODE, &no_debug_mroute_cmd);
install_element (ENABLE_NODE, &debug_static_cmd);
install_element (ENABLE_NODE, &no_debug_static_cmd);
install_element (ENABLE_NODE, &debug_pim_cmd);
install_element (ENABLE_NODE, &no_debug_pim_cmd);
- install_element (ENABLE_NODE, &undebug_pim_cmd);
install_element (ENABLE_NODE, &debug_pim_events_cmd);
install_element (ENABLE_NODE, &no_debug_pim_events_cmd);
- install_element (ENABLE_NODE, &undebug_pim_events_cmd);
install_element (ENABLE_NODE, &debug_pim_packets_cmd);
install_element (ENABLE_NODE, &debug_pim_packets_filter_cmd);
install_element (ENABLE_NODE, &no_debug_pim_packets_cmd);
install_element (ENABLE_NODE, &no_debug_pim_packets_filter_cmd);
- install_element (ENABLE_NODE, &undebug_pim_packets_cmd);
install_element (ENABLE_NODE, &debug_pim_packetdump_send_cmd);
install_element (ENABLE_NODE, &no_debug_pim_packetdump_send_cmd);
- install_element (ENABLE_NODE, &undebug_pim_packetdump_send_cmd);
install_element (ENABLE_NODE, &debug_pim_packetdump_recv_cmd);
install_element (ENABLE_NODE, &no_debug_pim_packetdump_recv_cmd);
- install_element (ENABLE_NODE, &undebug_pim_packetdump_recv_cmd);
install_element (ENABLE_NODE, &debug_pim_trace_cmd);
install_element (ENABLE_NODE, &no_debug_pim_trace_cmd);
- install_element (ENABLE_NODE, &undebug_pim_trace_cmd);
install_element (ENABLE_NODE, &debug_ssmpingd_cmd);
install_element (ENABLE_NODE, &no_debug_ssmpingd_cmd);
- install_element (ENABLE_NODE, &undebug_ssmpingd_cmd);
install_element (ENABLE_NODE, &debug_pim_zebra_cmd);
install_element (ENABLE_NODE, &no_debug_pim_zebra_cmd);
- install_element (ENABLE_NODE, &undebug_pim_zebra_cmd);
install_element (CONFIG_NODE, &debug_igmp_cmd);
install_element (CONFIG_NODE, &no_debug_igmp_cmd);
- install_element (CONFIG_NODE, &undebug_igmp_cmd);
install_element (CONFIG_NODE, &debug_igmp_events_cmd);
install_element (CONFIG_NODE, &no_debug_igmp_events_cmd);
- install_element (CONFIG_NODE, &undebug_igmp_events_cmd);
install_element (CONFIG_NODE, &debug_igmp_packets_cmd);
install_element (CONFIG_NODE, &no_debug_igmp_packets_cmd);
- install_element (CONFIG_NODE, &undebug_igmp_packets_cmd);
install_element (CONFIG_NODE, &debug_igmp_trace_cmd);
install_element (CONFIG_NODE, &no_debug_igmp_trace_cmd);
- install_element (CONFIG_NODE, &undebug_igmp_trace_cmd);
install_element (CONFIG_NODE, &debug_mroute_cmd);
install_element (CONFIG_NODE, &no_debug_mroute_cmd);
install_element (CONFIG_NODE, &debug_static_cmd);
install_element (CONFIG_NODE, &no_debug_static_cmd);
install_element (CONFIG_NODE, &debug_pim_cmd);
install_element (CONFIG_NODE, &no_debug_pim_cmd);
- install_element (CONFIG_NODE, &undebug_pim_cmd);
install_element (CONFIG_NODE, &debug_pim_events_cmd);
install_element (CONFIG_NODE, &no_debug_pim_events_cmd);
- install_element (CONFIG_NODE, &undebug_pim_events_cmd);
install_element (CONFIG_NODE, &debug_pim_packets_cmd);
install_element (CONFIG_NODE, &debug_pim_packets_filter_cmd);
install_element (CONFIG_NODE, &no_debug_pim_packets_cmd);
install_element (CONFIG_NODE, &no_debug_pim_packets_filter_cmd);
- install_element (CONFIG_NODE, &undebug_pim_packets_cmd);
install_element (CONFIG_NODE, &debug_pim_trace_cmd);
install_element (CONFIG_NODE, &no_debug_pim_trace_cmd);
- install_element (CONFIG_NODE, &undebug_pim_trace_cmd);
install_element (CONFIG_NODE, &debug_ssmpingd_cmd);
install_element (CONFIG_NODE, &no_debug_ssmpingd_cmd);
- install_element (CONFIG_NODE, &undebug_ssmpingd_cmd);
install_element (CONFIG_NODE, &debug_pim_zebra_cmd);
install_element (CONFIG_NODE, &no_debug_pim_zebra_cmd);
- install_element (CONFIG_NODE, &undebug_pim_zebra_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip rip receive version (1|2)",
+ * NO_STR
+ * IP_STR
+ * "Routing Information Protocol\n"
+ * "Advertisement reception\n"
+ * "Version control\n"
+ * "Version 1\n"
+ * "Version 2\n"
+ *
+ */
DEFUN (no_ip_rip_receive_version,
no_ip_rip_receive_version_cmd,
"no ip rip receive version",
return CMD_SUCCESS;
}
-ALIAS (no_ip_rip_receive_version,
- no_ip_rip_receive_version_num_cmd,
- "no ip rip receive version (1|2)",
- NO_STR
- IP_STR
- "Routing Information Protocol\n"
- "Advertisement reception\n"
- "Version control\n"
- "Version 1\n"
- "Version 2\n")
DEFUN (ip_rip_send_version,
ip_rip_send_version_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip rip send version (1|2)",
+ * NO_STR
+ * IP_STR
+ * "Routing Information Protocol\n"
+ * "Advertisement transmission\n"
+ * "Version control\n"
+ * "Version 1\n"
+ * "Version 2\n"
+ *
+ */
DEFUN (no_ip_rip_send_version,
no_ip_rip_send_version_cmd,
"no ip rip send version",
return CMD_SUCCESS;
}
-ALIAS (no_ip_rip_send_version,
- no_ip_rip_send_version_num_cmd,
- "no ip rip send version (1|2)",
- NO_STR
- IP_STR
- "Routing Information Protocol\n"
- "Advertisement transmission\n"
- "Version control\n"
- "Version 1\n"
- "Version 2\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip rip authentication mode (md5|text) auth-length (rfc|old-ripd)",
+ * IP_STR
+ * "Routing Information Protocol\n"
+ * "Authentication control\n"
+ * "Authentication mode\n"
+ * "Keyed message digest\n"
+ * "Clear text authentication\n"
+ * "MD5 authentication data length\n"
+ * "RFC compatible\n"
+ * "Old ripd compatible\n"
+ *
+ */
DEFUN (ip_rip_authentication_mode,
ip_rip_authentication_mode_cmd,
"ip rip authentication mode (md5|text)",
return CMD_SUCCESS;
}
-ALIAS (ip_rip_authentication_mode,
- ip_rip_authentication_mode_authlen_cmd,
- "ip rip authentication mode (md5|text) auth-length (rfc|old-ripd)",
- IP_STR
- "Routing Information Protocol\n"
- "Authentication control\n"
- "Authentication mode\n"
- "Keyed message digest\n"
- "Clear text authentication\n"
- "MD5 authentication data length\n"
- "RFC compatible\n"
- "Old ripd compatible\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip rip authentication mode (md5|text)",
+ * NO_STR
+ * IP_STR
+ * "Routing Information Protocol\n"
+ * "Authentication control\n"
+ * "Authentication mode\n"
+ * "Keyed message digest\n"
+ * "Clear text authentication\n"
+ *
+ * "no ip rip authentication mode (md5|text) auth-length (rfc|old-ripd)",
+ * NO_STR
+ * IP_STR
+ * "Routing Information Protocol\n"
+ * "Authentication control\n"
+ * "Authentication mode\n"
+ * "Keyed message digest\n"
+ * "Clear text authentication\n"
+ * "MD5 authentication data length\n"
+ * "RFC compatible\n"
+ * "Old ripd compatible\n"
+ *
+ */
DEFUN (no_ip_rip_authentication_mode,
no_ip_rip_authentication_mode_cmd,
"no ip rip authentication mode",
return CMD_SUCCESS;
}
-ALIAS (no_ip_rip_authentication_mode,
- no_ip_rip_authentication_mode_type_cmd,
- "no ip rip authentication mode (md5|text)",
- NO_STR
- IP_STR
- "Routing Information Protocol\n"
- "Authentication control\n"
- "Authentication mode\n"
- "Keyed message digest\n"
- "Clear text authentication\n")
-ALIAS (no_ip_rip_authentication_mode,
- no_ip_rip_authentication_mode_type_authlen_cmd,
- "no ip rip authentication mode (md5|text) auth-length (rfc|old-ripd)",
- NO_STR
- IP_STR
- "Routing Information Protocol\n"
- "Authentication control\n"
- "Authentication mode\n"
- "Keyed message digest\n"
- "Clear text authentication\n"
- "MD5 authentication data length\n"
- "RFC compatible\n"
- "Old ripd compatible\n")
DEFUN (ip_rip_authentication_string,
ip_rip_authentication_string_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip rip authentication string LINE",
+ * NO_STR
+ * IP_STR
+ * "Routing Information Protocol\n"
+ * "Authentication control\n"
+ * "Authentication string\n"
+ * "Authentication string\n"
+ *
+ */
DEFUN (no_ip_rip_authentication_string,
no_ip_rip_authentication_string_cmd,
"no ip rip authentication string",
return CMD_SUCCESS;
}
-ALIAS (no_ip_rip_authentication_string,
- no_ip_rip_authentication_string2_cmd,
- "no ip rip authentication string LINE",
- NO_STR
- IP_STR
- "Routing Information Protocol\n"
- "Authentication control\n"
- "Authentication string\n"
- "Authentication string\n")
DEFUN (ip_rip_authentication_key_chain,
ip_rip_authentication_key_chain_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip rip authentication key-chain LINE",
+ * NO_STR
+ * IP_STR
+ * "Routing Information Protocol\n"
+ * "Authentication control\n"
+ * "Authentication key-chain\n"
+ * "name of key-chain\n"
+ *
+ */
DEFUN (no_ip_rip_authentication_key_chain,
no_ip_rip_authentication_key_chain_cmd,
"no ip rip authentication key-chain",
return CMD_SUCCESS;
}
-ALIAS (no_ip_rip_authentication_key_chain,
- no_ip_rip_authentication_key_chain2_cmd,
- "no ip rip authentication key-chain LINE",
- NO_STR
- IP_STR
- "Routing Information Protocol\n"
- "Authentication control\n"
- "Authentication key-chain\n"
- "name of key-chain\n")
/* CHANGED: ip rip split-horizon
Cisco and Zebra's command is
install_element (INTERFACE_NODE, &ip_rip_send_version_1_cmd);
install_element (INTERFACE_NODE, &ip_rip_send_version_2_cmd);
install_element (INTERFACE_NODE, &no_ip_rip_send_version_cmd);
- install_element (INTERFACE_NODE, &no_ip_rip_send_version_num_cmd);
install_element (INTERFACE_NODE, &ip_rip_receive_version_cmd);
install_element (INTERFACE_NODE, &ip_rip_receive_version_1_cmd);
install_element (INTERFACE_NODE, &ip_rip_receive_version_2_cmd);
install_element (INTERFACE_NODE, &no_ip_rip_receive_version_cmd);
- install_element (INTERFACE_NODE, &no_ip_rip_receive_version_num_cmd);
install_element (INTERFACE_NODE, &ip_rip_authentication_mode_cmd);
- install_element (INTERFACE_NODE, &ip_rip_authentication_mode_authlen_cmd);
install_element (INTERFACE_NODE, &no_ip_rip_authentication_mode_cmd);
- install_element (INTERFACE_NODE, &no_ip_rip_authentication_mode_type_cmd);
- install_element (INTERFACE_NODE, &no_ip_rip_authentication_mode_type_authlen_cmd);
install_element (INTERFACE_NODE, &ip_rip_authentication_key_chain_cmd);
install_element (INTERFACE_NODE, &no_ip_rip_authentication_key_chain_cmd);
- install_element (INTERFACE_NODE, &no_ip_rip_authentication_key_chain2_cmd);
install_element (INTERFACE_NODE, &ip_rip_authentication_string_cmd);
install_element (INTERFACE_NODE, &no_ip_rip_authentication_string_cmd);
- install_element (INTERFACE_NODE, &no_ip_rip_authentication_string2_cmd);
install_element (INTERFACE_NODE, &ip_rip_split_horizon_cmd);
install_element (INTERFACE_NODE, &ip_rip_split_horizon_poisoned_reverse_cmd);
#define MATCH_STR "Match values from routing table\n"
#define SET_STR "Set values in destination routing protocol\n"
-DEFUN (match_metric,
+DEFUN (match_metric,
match_metric_cmd,
"match metric <0-4294967295>",
MATCH_STR
return rip_route_match_add (vty, vty->index, "metric", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match metric <0-4294967295>",
+ * NO_STR
+ * MATCH_STR
+ * "Match metric of route\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_match_metric,
no_match_metric_cmd,
"no match metric",
return rip_route_match_delete (vty, vty->index, "metric", argv[3]->arg);
}
-ALIAS (no_match_metric,
- no_match_metric_val_cmd,
- "no match metric <0-4294967295>",
- NO_STR
- MATCH_STR
- "Match metric of route\n"
- "Metric value\n")
DEFUN (match_interface,
match_interface_cmd,
return rip_route_match_add (vty, vty->index, "interface", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match interface WORD",
+ * NO_STR
+ * MATCH_STR
+ * "Match first hop interface of route\n"
+ * "Interface name\n"
+ *
+ */
DEFUN (no_match_interface,
no_match_interface_cmd,
"no match interface",
return rip_route_match_delete (vty, vty->index, "interface", argv[3]->arg);
}
-ALIAS (no_match_interface,
- no_match_interface_val_cmd,
- "no match interface WORD",
- NO_STR
- MATCH_STR
- "Match first hop interface of route\n"
- "Interface name\n")
DEFUN (match_ip_next_hop,
match_ip_next_hop_cmd,
return rip_route_match_add (vty, vty->index, "ip next-hop", argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP Access-list name\n"
+ *
+ */
DEFUN (no_match_ip_next_hop,
no_match_ip_next_hop_cmd,
"no match ip next-hop",
return rip_route_match_delete (vty, vty->index, "ip next-hop", argv[4]->arg);
}
-ALIAS (no_match_ip_next_hop,
- no_match_ip_next_hop_val_cmd,
- "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP Access-list name\n")
DEFUN (match_ip_next_hop_prefix_list,
match_ip_next_hop_prefix_list_cmd,
return rip_route_match_add (vty, vty->index, "ip next-hop prefix-list", argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_next_hop_prefix_list,
no_match_ip_next_hop_prefix_list_cmd,
"no match ip next-hop prefix-list",
return rip_route_match_delete (vty, vty->index, "ip next-hop prefix-list", argv[5]->arg);
}
-ALIAS (no_match_ip_next_hop_prefix_list,
- no_match_ip_next_hop_prefix_list_val_cmd,
- "no match ip next-hop prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
DEFUN (match_ip_address,
match_ip_address_cmd,
return rip_route_match_add (vty, vty->index, "ip address", argv[3]->arg);
}
-DEFUN (no_match_ip_address,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP Access-list name\n"
+ *
+ */
+DEFUN (no_match_ip_address,
no_match_ip_address_cmd,
"no match ip address",
NO_STR
return rip_route_match_delete (vty, vty->index, "ip address", argv[4]->arg);
}
-ALIAS (no_match_ip_address,
- no_match_ip_address_val_cmd,
- "no match ip address (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP Access-list name\n")
-DEFUN (match_ip_address_prefix_list,
+DEFUN (match_ip_address_prefix_list,
match_ip_address_prefix_list_cmd,
"match ip address prefix-list WORD",
MATCH_STR
return rip_route_match_add (vty, vty->index, "ip address prefix-list", argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_address_prefix_list,
no_match_ip_address_prefix_list_cmd,
"no match ip address prefix-list",
return rip_route_match_delete (vty, vty->index, "ip address prefix-list", argv[5]->arg);
}
-ALIAS (no_match_ip_address_prefix_list,
- no_match_ip_address_prefix_list_val_cmd,
- "no match ip address prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
-DEFUN (match_tag,
+DEFUN (match_tag,
match_tag_cmd,
"match tag <1-65535>",
MATCH_STR
return rip_route_match_add (vty, vty->index, "tag", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match tag <1-65535>",
+ * NO_STR
+ * MATCH_STR
+ * "Match tag of route\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_match_tag,
no_match_tag_cmd,
"no match tag",
return rip_route_match_delete (vty, vty->index, "tag", argv[3]->arg);
}
-ALIAS (no_match_tag,
- no_match_tag_val_cmd,
- "no match tag <1-65535>",
- NO_STR
- MATCH_STR
- "Match tag of route\n"
- "Metric value\n")
/* set functions */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "set metric <+/-metric>",
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Add or subtract metric\n"
+ *
+ */
DEFUN (set_metric,
set_metric_cmd,
"set metric <0-4294967295>",
return rip_route_set_add (vty, vty->index, "metric", argv[2]->arg);
}
-ALIAS (set_metric,
- set_metric_addsub_cmd,
- "set metric <+/-metric>",
- SET_STR
- "Metric value for destination routing protocol\n"
- "Add or subtract metric\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set metric <+/-metric>",
+ * NO_STR
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Add or subtract metric\n"
+ *
+ * "no set metric <0-4294967295>",
+ * NO_STR
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_set_metric,
no_set_metric_cmd,
"no set metric",
return rip_route_set_delete (vty, vty->index, "metric", argv[3]->arg);
}
-ALIAS (no_set_metric,
- no_set_metric_val_cmd,
- "no set metric <0-4294967295>",
- NO_STR
- SET_STR
- "Metric value for destination routing protocol\n"
- "Metric value\n")
-ALIAS (no_set_metric,
- no_set_metric_addsub_cmd,
- "no set metric <+/-metric>",
- NO_STR
- SET_STR
- "Metric value for destination routing protocol\n"
- "Add or subtract metric\n")
DEFUN (set_ip_nexthop,
set_ip_nexthop_cmd,
return rip_route_set_add (vty, vty->index, "ip next-hop", argv[3]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set ip next-hop A.B.C.D",
+ * NO_STR
+ * SET_STR
+ * IP_STR
+ * "Next hop address\n"
+ * "IP address of next hop\n"
+ *
+ */
DEFUN (no_set_ip_nexthop,
no_set_ip_nexthop_cmd,
"no set ip next-hop",
return rip_route_set_delete (vty, vty->index, "ip next-hop", argv[4]->arg);
}
-ALIAS (no_set_ip_nexthop,
- no_set_ip_nexthop_val_cmd,
- "no set ip next-hop A.B.C.D",
- NO_STR
- SET_STR
- IP_STR
- "Next hop address\n"
- "IP address of next hop\n")
DEFUN (set_tag,
set_tag_cmd,
return rip_route_set_add (vty, vty->index, "tag", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set tag <1-65535>",
+ * NO_STR
+ * SET_STR
+ * "Tag value for routing protocol\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_set_tag,
no_set_tag_cmd,
"no set tag",
return rip_route_set_delete (vty, vty->index, "tag", argv[3]->arg);
}
-ALIAS (no_set_tag,
- no_set_tag_val_cmd,
- "no set tag <1-65535>",
- NO_STR
- SET_STR
- "Tag value for routing protocol\n"
- "Tag value\n")
void
rip_route_map_reset ()
install_element (RMAP_NODE, &match_metric_cmd);
install_element (RMAP_NODE, &no_match_metric_cmd);
- install_element (RMAP_NODE, &no_match_metric_val_cmd);
install_element (RMAP_NODE, &match_interface_cmd);
install_element (RMAP_NODE, &no_match_interface_cmd);
- install_element (RMAP_NODE, &no_match_interface_val_cmd);
install_element (RMAP_NODE, &match_ip_next_hop_cmd);
install_element (RMAP_NODE, &no_match_ip_next_hop_cmd);
- install_element (RMAP_NODE, &no_match_ip_next_hop_val_cmd);
install_element (RMAP_NODE, &match_ip_next_hop_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_ip_address_cmd);
install_element (RMAP_NODE, &no_match_ip_address_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_val_cmd);
install_element (RMAP_NODE, &match_ip_address_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_address_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_tag_cmd);
install_element (RMAP_NODE, &no_match_tag_cmd);
- install_element (RMAP_NODE, &no_match_tag_val_cmd);
install_element (RMAP_NODE, &set_metric_cmd);
- install_element (RMAP_NODE, &set_metric_addsub_cmd);
install_element (RMAP_NODE, &no_set_metric_cmd);
- install_element (RMAP_NODE, &no_set_metric_val_cmd);
- install_element (RMAP_NODE, &no_set_metric_addsub_cmd);
install_element (RMAP_NODE, &set_ip_nexthop_cmd);
install_element (RMAP_NODE, &no_set_ip_nexthop_cmd);
- install_element (RMAP_NODE, &no_set_ip_nexthop_val_cmd);
install_element (RMAP_NODE, &set_tag_cmd);
install_element (RMAP_NODE, &no_set_tag_cmd);
- install_element (RMAP_NODE, &no_set_tag_val_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no version <1-2>",
+ * NO_STR
+ * "Set routing protocol version\n"
+ * "version\n"
+ *
+ */
DEFUN (no_rip_version,
no_rip_version_cmd,
"no version",
return CMD_SUCCESS;
}
-ALIAS (no_rip_version,
- no_rip_version_val_cmd,
- "no version <1-2>",
- NO_STR
- "Set routing protocol version\n"
- "version\n")
DEFUN (rip_route,
rip_route_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no default-metric <1-16>",
+ * NO_STR
+ * "Set a metric of redistribute routes\n"
+ * "Default metric\n"
+ *
+ */
DEFUN (no_rip_default_metric,
no_rip_default_metric_cmd,
"no default-metric",
return CMD_SUCCESS;
}
-ALIAS (no_rip_default_metric,
- no_rip_default_metric_val_cmd,
- "no default-metric <1-16>",
- NO_STR
- "Set a metric of redistribute routes\n"
- "Default metric\n")
DEFUN (rip_timers,
rip_timers_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers basic <0-65535> <0-65535> <0-65535>",
+ * NO_STR
+ * "Adjust routing timers\n"
+ * "Basic routing protocol update timers\n"
+ * "Routing table update timer value in second. Default is 30.\n"
+ * "Routing information timeout timer. Default is 180.\n"
+ * "Garbage collection timer. Default is 120.\n"
+ *
+ */
DEFUN (no_rip_timers,
no_rip_timers_cmd,
"no timers basic",
return CMD_SUCCESS;
}
-ALIAS (no_rip_timers,
- no_rip_timers_val_cmd,
- "no timers basic <0-65535> <0-65535> <0-65535>",
- NO_STR
- "Adjust routing timers\n"
- "Basic routing protocol update timers\n"
- "Routing table update timer value in second. Default is 30.\n"
- "Routing information timeout timer. Default is 180.\n"
- "Garbage collection timer. Default is 120.\n")
struct route_table *rip_distance_table;
install_default (RIP_NODE);
install_element (RIP_NODE, &rip_version_cmd);
install_element (RIP_NODE, &no_rip_version_cmd);
- install_element (RIP_NODE, &no_rip_version_val_cmd);
install_element (RIP_NODE, &rip_default_metric_cmd);
install_element (RIP_NODE, &no_rip_default_metric_cmd);
- install_element (RIP_NODE, &no_rip_default_metric_val_cmd);
install_element (RIP_NODE, &rip_timers_cmd);
install_element (RIP_NODE, &no_rip_timers_cmd);
- install_element (RIP_NODE, &no_rip_timers_val_cmd);
install_element (RIP_NODE, &rip_route_cmd);
install_element (RIP_NODE, &no_rip_route_cmd);
install_element (RIP_NODE, &rip_distance_cmd);
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 ripng split-horizon poisoned-reverse",
+ * NO_STR
+ * IPV6_STR
+ * "Routing Information Protocol\n"
+ * "Perform split horizon\n"
+ * "With poisoned-reverse\n"
+ *
+ */
DEFUN (no_ipv6_ripng_split_horizon,
no_ipv6_ripng_split_horizon_cmd,
"no ipv6 ripng split-horizon",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_ripng_split_horizon,
- no_ipv6_ripng_split_horizon_poisoned_reverse_cmd,
- "no ipv6 ripng split-horizon poisoned-reverse",
- NO_STR
- IPV6_STR
- "Routing Information Protocol\n"
- "Perform split horizon\n"
- "With poisoned-reverse\n")
DEFUN (ripng_passive_interface,
ripng_passive_interface_cmd,
install_element (INTERFACE_NODE, &ipv6_ripng_split_horizon_cmd);
install_element (INTERFACE_NODE, &ipv6_ripng_split_horizon_poisoned_reverse_cmd);
install_element (INTERFACE_NODE, &no_ipv6_ripng_split_horizon_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_ripng_split_horizon_poisoned_reverse_cmd);
}
#define MATCH_STR "Match values from routing table\n"
#define SET_STR "Set values in destination routing protocol\n"
-DEFUN (match_metric,
+DEFUN (match_metric,
match_metric_cmd,
"match metric <0-4294967295>",
MATCH_STR
return ripng_route_match_add (vty, vty->index, "metric", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match metric <0-4294967295>",
+ * NO_STR
+ * MATCH_STR
+ * "Match metric of route\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_match_metric,
no_match_metric_cmd,
"no match metric",
return ripng_route_match_delete (vty, vty->index, "metric", argv[3]->arg);
}
-ALIAS (no_match_metric,
- no_match_metric_val_cmd,
- "no match metric <0-4294967295>",
- NO_STR
- MATCH_STR
- "Match metric of route\n"
- "Metric value\n")
DEFUN (match_interface,
match_interface_cmd,
return ripng_route_match_add (vty, vty->index, "interface", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match interface WORD",
+ * NO_STR
+ * MATCH_STR
+ * "Match first hop interface of route\n"
+ * "Interface name\n"
+ *
+ */
DEFUN (no_match_interface,
no_match_interface_cmd,
"no match interface",
return ripng_route_match_delete (vty, vty->index, "interface", argv[3]->arg);
}
-ALIAS (no_match_interface,
- no_match_interface_val_cmd,
- "no match interface WORD",
- NO_STR
- MATCH_STR
- "Match first hop interface of route\n"
- "Interface name\n")
DEFUN (match_tag,
match_tag_cmd,
return ripng_route_match_add (vty, vty->index, "tag", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match tag <1-65535>",
+ * NO_STR
+ * MATCH_STR
+ * "Match tag of route\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_match_tag,
no_match_tag_cmd,
"no match tag",
return ripng_route_match_delete (vty, vty->index, "tag", argv[3]->arg);
}
-ALIAS (no_match_tag,
- no_match_tag_val_cmd,
- "no match tag <1-65535>",
- NO_STR
- MATCH_STR
- "Match tag of route\n"
- "Metric value\n")
/* set functions */
return ripng_route_set_add (vty, vty->index, "metric", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set metric <0-4294967295>",
+ * NO_STR
+ * SET_STR
+ * "Metric value for destination routing protocol\n"
+ * "Metric value\n"
+ *
+ */
DEFUN (no_set_metric,
no_set_metric_cmd,
"no set metric",
return ripng_route_set_delete (vty, vty->index, "metric", argv[3]->arg);
}
-ALIAS (no_set_metric,
- no_set_metric_val_cmd,
- "no set metric <0-4294967295>",
- NO_STR
- SET_STR
- "Metric value for destination routing protocol\n"
- "Metric value\n")
DEFUN (set_ipv6_nexthop_local,
set_ipv6_nexthop_local_cmd,
return ripng_route_set_add (vty, vty->index, "ipv6 next-hop local", argv[4]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set ipv6 next-hop local X:X::X:X",
+ * NO_STR
+ * SET_STR
+ * IPV6_STR
+ * "IPv6 next-hop address\n"
+ * "IPv6 local address\n"
+ * "IPv6 address of next hop\n"
+ *
+ */
DEFUN (no_set_ipv6_nexthop_local,
no_set_ipv6_nexthop_local_cmd,
"no set ipv6 next-hop local",
return ripng_route_set_delete (vty, vty->index, "ipv6 next-hop local", argv[5]->arg);
}
-ALIAS (no_set_ipv6_nexthop_local,
- no_set_ipv6_nexthop_local_val_cmd,
- "no set ipv6 next-hop local X:X::X:X",
- NO_STR
- SET_STR
- IPV6_STR
- "IPv6 next-hop address\n"
- "IPv6 local address\n"
- "IPv6 address of next hop\n")
DEFUN (set_tag,
set_tag_cmd,
return ripng_route_set_add (vty, vty->index, "tag", argv[2]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no set tag <1-65535>",
+ * NO_STR
+ * SET_STR
+ * "Tag value for routing protocol\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_set_tag,
no_set_tag_cmd,
"no set tag",
return ripng_route_set_delete (vty, vty->index, "tag", argv[3]->arg);
}
-ALIAS (no_set_tag,
- no_set_tag_val_cmd,
- "no set tag <1-65535>",
- NO_STR
- SET_STR
- "Tag value for routing protocol\n"
- "Tag value\n")
void
ripng_route_map_reset ()
install_element (RMAP_NODE, &match_metric_cmd);
install_element (RMAP_NODE, &no_match_metric_cmd);
- install_element (RMAP_NODE, &no_match_metric_val_cmd);
install_element (RMAP_NODE, &match_interface_cmd);
install_element (RMAP_NODE, &no_match_interface_cmd);
- install_element (RMAP_NODE, &no_match_interface_val_cmd);
install_element (RMAP_NODE, &match_tag_cmd);
install_element (RMAP_NODE, &no_match_tag_cmd);
- install_element (RMAP_NODE, &no_match_tag_val_cmd);
install_element (RMAP_NODE, &set_metric_cmd);
install_element (RMAP_NODE, &no_set_metric_cmd);
- install_element (RMAP_NODE, &no_set_metric_val_cmd);
install_element (RMAP_NODE, &set_ipv6_nexthop_local_cmd);
install_element (RMAP_NODE, &no_set_ipv6_nexthop_local_cmd);
- install_element (RMAP_NODE, &no_set_ipv6_nexthop_local_val_cmd);
install_element (RMAP_NODE, &set_tag_cmd);
install_element (RMAP_NODE, &no_set_tag_cmd);
- install_element (RMAP_NODE, &no_set_tag_val_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no redistribute " QUAGGA_REDIST_STR_RIPNGD " metric <0-16> route-map WORD",
+ * NO_STR
+ * "Redistribute\n"
+ * QUAGGA_REDIST_HELP_STR_RIPNGD
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ * "no redistribute " QUAGGA_REDIST_STR_RIPNGD " metric <0-16>",
+ * NO_STR
+ * "Redistribute\n"
+ * QUAGGA_REDIST_HELP_STR_RIPNGD
+ * "Metric\n"
+ * "Metric value\n"
+ *
+ * "no redistribute " QUAGGA_REDIST_STR_RIPNGD " route-map WORD",
+ * NO_STR
+ * "Redistribute\n"
+ * QUAGGA_REDIST_HELP_STR_RIPNGD
+ * "Route map reference\n"
+ * "Pointer to route-map entries\n"
+ *
+ */
DEFUN (no_ripng_redistribute_type,
no_ripng_redistribute_type_cmd,
"no redistribute " QUAGGA_REDIST_STR_RIPNGD,
return CMD_SUCCESS;
}
-ALIAS (no_ripng_redistribute_type,
- no_ripng_redistribute_type_metric_cmd,
- "no redistribute " QUAGGA_REDIST_STR_RIPNGD " metric <0-16>",
- NO_STR
- "Redistribute\n"
- QUAGGA_REDIST_HELP_STR_RIPNGD
- "Metric\n"
- "Metric value\n")
DEFUN (ripng_redistribute_type_routemap,
ripng_redistribute_type_routemap_cmd,
return CMD_SUCCESS;
}
-ALIAS (no_ripng_redistribute_type,
- no_ripng_redistribute_type_routemap_cmd,
- "no redistribute " QUAGGA_REDIST_STR_RIPNGD " route-map WORD",
- NO_STR
- "Redistribute\n"
- QUAGGA_REDIST_HELP_STR_RIPNGD
- "Route map reference\n"
- "Pointer to route-map entries\n")
DEFUN (ripng_redistribute_type_metric_routemap,
ripng_redistribute_type_metric_routemap_cmd,
return CMD_SUCCESS;
}
-ALIAS (no_ripng_redistribute_type,
- no_ripng_redistribute_type_metric_routemap_cmd,
- "no redistribute " QUAGGA_REDIST_STR_RIPNGD " metric <0-16> route-map WORD",
- NO_STR
- "Redistribute\n"
- QUAGGA_REDIST_HELP_STR_RIPNGD
- "Route map reference\n"
- "Pointer to route-map entries\n")
void
ripng_redistribute_write (struct vty *vty, int config_mode)
install_element (RIPNG_NODE, &ripng_redistribute_type_metric_cmd);
install_element (RIPNG_NODE, &ripng_redistribute_type_metric_routemap_cmd);
install_element (RIPNG_NODE, &no_ripng_redistribute_type_cmd);
- install_element (RIPNG_NODE, &no_ripng_redistribute_type_routemap_cmd);
- install_element (RIPNG_NODE, &no_ripng_redistribute_type_metric_cmd);
- install_element (RIPNG_NODE, &no_ripng_redistribute_type_metric_routemap_cmd);
}
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no default-metric <1-16>",
+ * NO_STR
+ * "Set a metric of redistribute routes\n"
+ * "Default metric\n"
+ *
+ */
DEFUN (no_ripng_default_metric,
no_ripng_default_metric_cmd,
"no default-metric",
return CMD_SUCCESS;
}
-ALIAS (no_ripng_default_metric,
- no_ripng_default_metric_val_cmd,
- "no default-metric <1-16>",
- NO_STR
- "Set a metric of redistribute routes\n"
- "Default metric\n")
#if 0
/* RIPng update timer setup. */
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no timers basic <0-65535> <0-65535> <0-65535>",
+ * NO_STR
+ * "RIPng timers setup\n"
+ * "Basic timer\n"
+ * "Routing table update timer value in second. Default is 30.\n"
+ * "Routing information timeout timer. Default is 180.\n"
+ * "Garbage collection timer. Default is 120.\n"
+ *
+ */
DEFUN (no_ripng_timers,
no_ripng_timers_cmd,
"no timers basic",
return CMD_SUCCESS;
}
-ALIAS (no_ripng_timers,
- no_ripng_timers_val_cmd,
- "no timers basic <0-65535> <0-65535> <0-65535>",
- NO_STR
- "RIPng timers setup\n"
- "Basic timer\n"
- "Routing table update timer value in second. Default is 30.\n"
- "Routing information timeout timer. Default is 180.\n"
- "Garbage collection timer. Default is 120.\n")
DEFUN (show_ipv6_protocols,
show_ipv6_protocols_cmd,
install_element (RIPNG_NODE, &ripng_default_metric_cmd);
install_element (RIPNG_NODE, &no_ripng_default_metric_cmd);
- install_element (RIPNG_NODE, &no_ripng_default_metric_val_cmd);
install_element (RIPNG_NODE, &ripng_timers_cmd);
install_element (RIPNG_NODE, &no_ripng_timers_cmd);
- install_element (RIPNG_NODE, &no_ripng_timers_val_cmd);
#if 0
install_element (RIPNG_NODE, &ripng_update_timer_cmd);
install_element (RIPNG_NODE, &no_ripng_update_timer_cmd);
return ret;
}
-ALIAS (zebra_interface,
- zebra_interface_vrf_cmd,
- "interface IFNAME " VRF_CMD_STR,
- "Select an interface to configure\n"
- "Interface's name\n"
- VRF_CMD_HELP_STR)
-
static void
interface_update_stats (void)
{
};
/* Show all interfaces to vty. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show interface " VRF_CMD_STR,
+ * SHOW_STR
+ * "Interface status and configuration\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (show_interface,
show_interface_cmd,
"show interface",
return CMD_SUCCESS;
}
-ALIAS (show_interface,
- show_interface_vrf_cmd,
- "show interface " VRF_CMD_STR,
- SHOW_STR
- "Interface status and configuration\n"
- VRF_CMD_HELP_STR)
/* Show all interfaces to vty. */
DEFUN (show_interface_vrf_all,
}
/* Show specified interface to vty. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show interface IFNAME",
+ * SHOW_STR
+ * "Interface status and configuration\n"
+ * "Interface name\n"
+ *
+ */
DEFUN (show_interface_name_vrf_all,
show_interface_name_vrf_all_cmd,
"show interface IFNAME " VRF_ALL_CMD_STR,
return CMD_SUCCESS;
}
-ALIAS (show_interface_name_vrf_all, show_interface_name_cmd,
- "show interface IFNAME",
- SHOW_STR
- "Interface status and configuration\n"
- "Interface name\n")
static void
if_show_description (struct vty *vty, vrf_id_t vrf_id)
}
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show interface description " VRF_CMD_STR,
+ * SHOW_STR
+ * "Interface status and configuration\n"
+ * "Interface description\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (show_interface_desc,
show_interface_desc_cmd,
"show interface description",
return CMD_SUCCESS;
}
-ALIAS (show_interface_desc,
- show_interface_desc_vrf_cmd,
- "show interface description " VRF_CMD_STR,
- SHOW_STR
- "Interface status and configuration\n"
- "Interface description\n"
- VRF_CMD_HELP_STR)
DEFUN (show_interface_desc_vrf_all,
show_interface_desc_vrf_all_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no bandwidth <1-100000>",
+ * NO_STR
+ * "Set bandwidth informational parameter\n"
+ * "Bandwidth in megabits\n"
+ *
+ */
DEFUN (no_bandwidth_if,
no_bandwidth_if_cmd,
"no bandwidth",
return CMD_SUCCESS;
}
-ALIAS (no_bandwidth_if,
- no_bandwidth_if_val_cmd,
- "no bandwidth <1-100000>",
- NO_STR
- "Set bandwidth informational parameter\n"
- "Bandwidth in megabits\n")
struct cmd_node link_params_node =
{
}
/* RFC7471: OSPF Traffic Engineering (TE) Metric extensions & draft-ietf-isis-metric-extensions-07.txt */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "delay <0-16777215> min <0-16777215> max <0-16777215>",
+ * "Unidirectional Average Link Delay (optionally Minimum and Maximum delays)\n"
+ * "Average delay in micro-second as decimal (0...16777215)\n"
+ * "Minimum delay\n"
+ * "Minimum delay in micro-second as decimal (0...16777215)\n"
+ * "Maximum delay\n"
+ * "Maximum delay in micro-second as decimal (0...16777215)\n"
+ *
+ */
DEFUN (link_params_delay,
link_params_delay_cmd,
"delay <0-16777215>",
return CMD_SUCCESS;
}
-ALIAS (link_params_delay,
- link_params_delay_mm_cmd,
- "delay <0-16777215> min <0-16777215> max <0-16777215>",
- "Unidirectional Average Link Delay (optionally Minimum and Maximum delays)\n"
- "Average delay in micro-second as decimal (0...16777215)\n"
- "Minimum delay\n"
- "Minimum delay in micro-second as decimal (0...16777215)\n"
- "Maximum delay\n"
- "Maximum delay in micro-second as decimal (0...16777215)\n")
DEFUN (no_link_params_delay,
no_link_params_delay_cmd,
install_node (&vrf_node, vrf_config_write);
install_element (VIEW_NODE, &show_interface_cmd);
- install_element (VIEW_NODE, &show_interface_vrf_cmd);
install_element (VIEW_NODE, &show_interface_vrf_all_cmd);
- install_element (VIEW_NODE, &show_interface_name_cmd);
install_element (VIEW_NODE, &show_interface_name_vrf_cmd);
install_element (VIEW_NODE, &show_interface_name_vrf_all_cmd);
install_element (ENABLE_NODE, &show_interface_cmd);
- install_element (ENABLE_NODE, &show_interface_vrf_cmd);
install_element (ENABLE_NODE, &show_interface_vrf_all_cmd);
- install_element (ENABLE_NODE, &show_interface_name_cmd);
install_element (ENABLE_NODE, &show_interface_name_vrf_cmd);
install_element (ENABLE_NODE, &show_interface_name_vrf_all_cmd);
install_element (ENABLE_NODE, &show_interface_desc_cmd);
- install_element (ENABLE_NODE, &show_interface_desc_vrf_cmd);
install_element (ENABLE_NODE, &show_interface_desc_vrf_all_cmd);
install_element (CONFIG_NODE, &zebra_interface_cmd);
- install_element (CONFIG_NODE, &zebra_interface_vrf_cmd);
install_element (CONFIG_NODE, &no_interface_cmd);
install_element (CONFIG_NODE, &no_interface_vrf_cmd);
install_default (INTERFACE_NODE);
install_element (INTERFACE_NODE, &no_shutdown_if_cmd);
install_element (INTERFACE_NODE, &bandwidth_if_cmd);
install_element (INTERFACE_NODE, &no_bandwidth_if_cmd);
- install_element (INTERFACE_NODE, &no_bandwidth_if_val_cmd);
install_element (INTERFACE_NODE, &ip_address_cmd);
install_element (INTERFACE_NODE, &no_ip_address_cmd);
#ifdef HAVE_IPV6
install_element(LINK_PARAMS_NODE, &link_params_inter_as_cmd);
install_element(LINK_PARAMS_NODE, &no_link_params_inter_as_cmd);
install_element(LINK_PARAMS_NODE, &link_params_delay_cmd);
- install_element(LINK_PARAMS_NODE, &link_params_delay_mm_cmd);
install_element(LINK_PARAMS_NODE, &link_params_delay_var_cmd);
install_element(LINK_PARAMS_NODE, &link_params_pkt_loss_cmd);
install_element(LINK_PARAMS_NODE, &link_params_ava_bw_cmd);
}
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "router-id A.B.C.D " VRF_CMD_STR,
+ * "Manually set the router-id\n"
+ * "IP address to use for router-id\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (router_id,
router_id_cmd,
"router-id A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (router_id,
- router_id_vrf_cmd,
- "router-id A.B.C.D " VRF_CMD_STR,
- "Manually set the router-id\n"
- "IP address to use for router-id\n"
- VRF_CMD_HELP_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no router-id A.B.C.D",
+ * NO_STR
+ * "Remove the manually configured router-id\n"
+ * "IP address to use for router-id\n"
+ *
+ * "no router-id A.B.C.D " VRF_CMD_STR,
+ * NO_STR
+ * "Remove the manually configured router-id\n"
+ * "IP address to use for router-id\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (no_router_id,
no_router_id_cmd,
"no router-id",
return CMD_SUCCESS;
}
-ALIAS (no_router_id,
- no_router_id_val_cmd,
- "no router-id A.B.C.D",
- NO_STR
- "Remove the manually configured router-id\n"
- "IP address to use for router-id\n")
-ALIAS (no_router_id,
- no_router_id_vrf_cmd,
- "no router-id A.B.C.D " VRF_CMD_STR,
- NO_STR
- "Remove the manually configured router-id\n"
- "IP address to use for router-id\n"
- VRF_CMD_HELP_STR)
static int
router_id_cmp (void *a, void *b)
{
install_element (CONFIG_NODE, &router_id_cmd);
install_element (CONFIG_NODE, &no_router_id_cmd);
- install_element (CONFIG_NODE, &router_id_vrf_cmd);
- install_element (CONFIG_NODE, &no_router_id_val_cmd);
- install_element (CONFIG_NODE, &no_router_id_vrf_cmd);
}
void
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd ra-interval <1-1800>",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Router Advertisement interval\n"
+ *
+ * "no ipv6 nd ra-interval msec <1-1800000>",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Router Advertisement interval\n"
+ * "Router Advertisement interval in milliseconds\n"
+ *
+ */
DEFUN (no_ipv6_nd_ra_interval,
no_ipv6_nd_ra_interval_cmd,
"no ipv6 nd ra-interval",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_ra_interval,
- no_ipv6_nd_ra_interval_val_cmd,
- "no ipv6 nd ra-interval <1-1800>",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Router Advertisement interval\n")
-ALIAS (no_ipv6_nd_ra_interval,
- no_ipv6_nd_ra_interval_msec_val_cmd,
- "no ipv6 nd ra-interval msec <1-1800000>",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Router Advertisement interval\n"
- "Router Advertisement interval in milliseconds\n")
DEFUN (ipv6_nd_ra_lifetime,
ipv6_nd_ra_lifetime_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd ra-lifetime <0-9000>",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Router lifetime\n"
+ * "Router lifetime in seconds (0 stands for a non-default gw)\n"
+ *
+ */
DEFUN (no_ipv6_nd_ra_lifetime,
no_ipv6_nd_ra_lifetime_cmd,
"no ipv6 nd ra-lifetime",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_ra_lifetime,
- no_ipv6_nd_ra_lifetime_val_cmd,
- "no ipv6 nd ra-lifetime <0-9000>",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Router lifetime\n"
- "Router lifetime in seconds (0 stands for a non-default gw)\n")
DEFUN (ipv6_nd_reachable_time,
ipv6_nd_reachable_time_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd reachable-time <1-3600000>",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Reachable time\n"
+ * "Reachable time in milliseconds\n"
+ *
+ */
DEFUN (no_ipv6_nd_reachable_time,
no_ipv6_nd_reachable_time_cmd,
"no ipv6 nd reachable-time",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_reachable_time,
- no_ipv6_nd_reachable_time_val_cmd,
- "no ipv6 nd reachable-time <1-3600000>",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Reachable time\n"
- "Reachable time in milliseconds\n")
DEFUN (ipv6_nd_homeagent_preference,
ipv6_nd_homeagent_preference_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd home-agent-preference <0-65535>",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Home Agent preference\n"
+ * "preference value (default is 0, least preferred)\n"
+ *
+ */
DEFUN (no_ipv6_nd_homeagent_preference,
no_ipv6_nd_homeagent_preference_cmd,
"no ipv6 nd home-agent-preference",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_homeagent_preference,
- no_ipv6_nd_homeagent_preference_val_cmd,
- "no ipv6 nd home-agent-preference <0-65535>",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Home Agent preference\n"
- "preference value (default is 0, least preferred)\n")
DEFUN (ipv6_nd_homeagent_lifetime,
ipv6_nd_homeagent_lifetime_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd home-agent-lifetime <0-65520>",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Home Agent lifetime\n"
+ * "Home Agent lifetime in seconds (0 to track ra-lifetime)\n"
+ *
+ */
DEFUN (no_ipv6_nd_homeagent_lifetime,
no_ipv6_nd_homeagent_lifetime_cmd,
"no ipv6 nd home-agent-lifetime",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_homeagent_lifetime,
- no_ipv6_nd_homeagent_lifetime_val_cmd,
- "no ipv6 nd home-agent-lifetime <0-65520>",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Home Agent lifetime\n"
- "Home Agent lifetime in seconds (0 to track ra-lifetime)\n")
DEFUN (ipv6_nd_managed_config_flag,
ipv6_nd_managed_config_flag_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ipv6 nd prefix X:X::X:X/M (no-autoconfig|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for autoconfiguration\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
+ * "(<0-4294967295>|infinite)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (off-link|) (no-autoconfig|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for onlink determination\n"
+ * "Do not use prefix for autoconfiguration\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (router-address|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Set Router Address flag\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (no-autoconfig|) (off-link|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for autoconfiguration\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
+ * "(<0-4294967295>|infinite) (router-address|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Set Router Address flag\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
+ * "(<0-4294967295>|infinite) (off-link|) (no-autoconfig|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for onlink determination\n"
+ * "Do not use prefix for autoconfiguration\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
+ * "(<0-4294967295>|infinite) (no-autoconfig|) (off-link|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for autoconfiguration\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (off-link|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
+ * "(<0-4294967295>|infinite) (no-autoconfig|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for autoconfiguration"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
+ * "(<0-4294967295>|infinite) (off-link|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
+ * "(<0-4294967295>|infinite) (no-autoconfig|) (off-link|) (router-address|)",
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for autoconfiguration\n"
+ * "Do not use prefix for onlink determination\n"
+ * "Set Router Address flag\n"
+ *
+ */
DEFUN (ipv6_nd_prefix,
ipv6_nd_prefix_cmd,
"ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (off-link|) (no-autoconfig|) (router-address|)",
return CMD_SUCCESS;
}
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_val_nortaddr_cmd,
- "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
- "(<0-4294967295>|infinite) (off-link|) (no-autoconfig|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for onlink determination\n"
- "Do not use prefix for autoconfiguration\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_val_rev_cmd,
- "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
- "(<0-4294967295>|infinite) (no-autoconfig|) (off-link|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for autoconfiguration\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_val_rev_rtaddr_cmd,
- "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
- "(<0-4294967295>|infinite) (no-autoconfig|) (off-link|) (router-address|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for autoconfiguration\n"
- "Do not use prefix for onlink determination\n"
- "Set Router Address flag\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_val_noauto_cmd,
- "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
- "(<0-4294967295>|infinite) (no-autoconfig|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for autoconfiguration")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_val_offlink_cmd,
- "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
- "(<0-4294967295>|infinite) (off-link|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_val_rtaddr_cmd,
- "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
- "(<0-4294967295>|infinite) (router-address|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Set Router Address flag\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_val_cmd,
- "ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) "
- "(<0-4294967295>|infinite)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_noval_cmd,
- "ipv6 nd prefix X:X::X:X/M (no-autoconfig|) (off-link|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for autoconfiguration\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_noval_rev_cmd,
- "ipv6 nd prefix X:X::X:X/M (off-link|) (no-autoconfig|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for onlink determination\n"
- "Do not use prefix for autoconfiguration\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_noval_noauto_cmd,
- "ipv6 nd prefix X:X::X:X/M (no-autoconfig|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for autoconfiguration\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_noval_offlink_cmd,
- "ipv6 nd prefix X:X::X:X/M (off-link|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_noval_rtaddr_cmd,
- "ipv6 nd prefix X:X::X:X/M (router-address|)",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Set Router Address flag\n")
-ALIAS (ipv6_nd_prefix,
- ipv6_nd_prefix_prefix_cmd,
- "ipv6 nd prefix X:X::X:X/M",
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (no-autoconfig|) (off-link|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for autoconfiguration\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (no-autoconfig|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for autoconfiguration"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (off-link|) (no-autoconfig|) (router-address|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for onlink determination\n"
+ * "Do not use prefix for autoconfiguration\n"
+ * "Set Router Address flag\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (off-link|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (no-autoconfig|) (off-link|) (router-address|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Do not use prefix for autoconfiguration\n"
+ * "Do not use prefix for onlink determination\n"
+ * "Set Router Address flag\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (router-address|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Set Router Address flag\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (off-link|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (no-autoconfig|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for autoconfiguration\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (no-autoconfig|) (off-link|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for autoconfiguration\n"
+ * "Do not use prefix for onlink determination\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (off-link|) (no-autoconfig|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Do not use prefix for onlink determination\n"
+ * "Do not use prefix for autoconfiguration\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (router-address|)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ * "Set Router Address flag\n"
+ *
+ * "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Prefix information\n"
+ * "IPv6 prefix\n"
+ * "Valid lifetime in seconds\n"
+ * "Infinite valid lifetime\n"
+ * "Preferred lifetime in seconds\n"
+ * "Infinite preferred lifetime\n"
+ *
+ */
DEFUN (no_ipv6_nd_prefix,
no_ipv6_nd_prefix_cmd,
"no ipv6 nd prefix IPV6PREFIX",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_val_nortaddr_cmd,
- "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (off-link|) (no-autoconfig|) (router-address|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for onlink determination\n"
- "Do not use prefix for autoconfiguration\n"
- "Set Router Address flag\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_val_rev_cmd,
- "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (no-autoconfig|) (off-link|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for autoconfiguration\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_val_rev_rtaddr_cmd,
- "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (no-autoconfig|) (off-link|) (router-address|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for autoconfiguration\n"
- "Do not use prefix for onlink determination\n"
- "Set Router Address flag\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_val_noauto_cmd,
- "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (no-autoconfig|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for autoconfiguration")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_val_offlink_cmd,
- "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (off-link|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_val_rtaddr_cmd,
- "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite) (router-address|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n"
- "Set Router Address flag\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_val_cmd,
- "no ipv6 nd prefix X:X::X:X/M (<0-4294967295>|infinite) (<0-4294967295>|infinite)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Valid lifetime in seconds\n"
- "Infinite valid lifetime\n"
- "Preferred lifetime in seconds\n"
- "Infinite preferred lifetime\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_noval_cmd,
- "no ipv6 nd prefix X:X::X:X/M (no-autoconfig|) (off-link|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for autoconfiguration\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_noval_rev_cmd,
- "no ipv6 nd prefix X:X::X:X/M (off-link|) (no-autoconfig|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for onlink determination\n"
- "Do not use prefix for autoconfiguration\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_noval_noauto_cmd,
- "no ipv6 nd prefix X:X::X:X/M (no-autoconfig|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for autoconfiguration\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_noval_offlink_cmd,
- "no ipv6 nd prefix X:X::X:X/M (off-link|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Do not use prefix for onlink determination\n")
-ALIAS (no_ipv6_nd_prefix,
- no_ipv6_nd_prefix_noval_rtaddr_cmd,
- "no ipv6 nd prefix X:X::X:X/M (router-address|)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Prefix information\n"
- "IPv6 prefix\n"
- "Set Router Address flag\n")
DEFUN (ipv6_nd_router_preference,
ipv6_nd_router_preference_cmd,
return CMD_ERR_NO_MATCH;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd router-preference (high|medium|low)",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Default router preference\n"
+ * "High default router preference\n"
+ * "Low default router preference\n"
+ * "Medium default router preference (default)\n"
+ *
+ */
DEFUN (no_ipv6_nd_router_preference,
no_ipv6_nd_router_preference_cmd,
"no ipv6 nd router-preference",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_router_preference,
- no_ipv6_nd_router_preference_val_cmd,
- "no ipv6 nd router-preference (high|medium|low)",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Default router preference\n"
- "High default router preference\n"
- "Low default router preference\n"
- "Medium default router preference (default)\n")
DEFUN (ipv6_nd_mtu,
ipv6_nd_mtu_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nd mtu <1-65535>",
+ * NO_STR
+ * "Interface IPv6 config commands\n"
+ * "Neighbor discovery\n"
+ * "Advertised MTU\n"
+ * "MTU in bytes\n"
+ *
+ */
DEFUN (no_ipv6_nd_mtu,
no_ipv6_nd_mtu_cmd,
"no ipv6 nd mtu",
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_nd_mtu,
- no_ipv6_nd_mtu_val_cmd,
- "no ipv6 nd mtu <1-65535>",
- NO_STR
- "Interface IPv6 config commands\n"
- "Neighbor discovery\n"
- "Advertised MTU\n"
- "MTU in bytes\n")
/* Write configuration about router advertisement. */
void
install_element (INTERFACE_NODE, &ipv6_nd_ra_interval_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_ra_interval_msec_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_ra_interval_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_ra_interval_val_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_ra_interval_msec_val_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_ra_lifetime_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_ra_lifetime_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_ra_lifetime_val_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_reachable_time_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_reachable_time_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_reachable_time_val_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_managed_config_flag_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_managed_config_flag_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_other_config_flag_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_homeagent_config_flag_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_homeagent_preference_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_homeagent_preference_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_homeagent_preference_val_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_homeagent_lifetime_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_homeagent_lifetime_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_homeagent_lifetime_val_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_adv_interval_config_option_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_adv_interval_config_option_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_prefix_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_val_rev_rtaddr_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_val_nortaddr_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_val_rev_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_val_noauto_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_val_offlink_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_val_rtaddr_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_val_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_noval_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_noval_rev_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_noval_noauto_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_noval_offlink_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_noval_rtaddr_cmd);
- install_element (INTERFACE_NODE, &ipv6_nd_prefix_prefix_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_val_rev_rtaddr_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_val_nortaddr_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_val_rev_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_val_noauto_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_val_offlink_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_val_rtaddr_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_val_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_noval_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_noval_rev_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_noval_noauto_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_noval_offlink_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_prefix_noval_rtaddr_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_router_preference_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_router_preference_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_router_preference_val_cmd);
install_element (INTERFACE_NODE, &ipv6_nd_mtu_cmd);
install_element (INTERFACE_NODE, &no_ipv6_nd_mtu_cmd);
- install_element (INTERFACE_NODE, &no_ipv6_nd_mtu_val_cmd);
}
static int
RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match interface WORD",
+ * NO_STR
+ * MATCH_STR
+ * "Match first hop interface of route\n"
+ * "Interface name\n"
+ *
+ */
DEFUN (no_match_interface,
no_match_interface_cmd,
"no match interface",
return zebra_route_match_delete (vty, vty->index, "interface", argv[0], RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_interface,
- no_match_interface_val_cmd,
- "no match interface WORD",
- NO_STR
- MATCH_STR
- "Match first hop interface of route\n"
- "Interface name\n")
DEFUN (match_tag,
match_tag_cmd,
RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match tag <1-65535>",
+ * NO_STR
+ * MATCH_STR
+ * "Match tag of route\n"
+ *
+ */
DEFUN (no_match_tag,
no_match_tag_cmd,
"no match tag",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_tag,
- no_match_tag_val_cmd,
- "no match tag <1-65535>",
- NO_STR
- MATCH_STR
- "Match tag of route\n")
DEFUN (match_ip_next_hop,
match_ip_next_hop_cmd,
return zebra_route_match_add (vty, vty->index, "ip next-hop", argv[3]->arg, RMAP_EVENT_FILTER_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP Access-list name\n"
+ *
+ */
DEFUN (no_match_ip_next_hop,
no_match_ip_next_hop_cmd,
"no match ip next-hop",
RMAP_EVENT_FILTER_DELETED);
}
-ALIAS (no_match_ip_next_hop,
- no_match_ip_next_hop_val_cmd,
- "no match ip next-hop (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP Access-list name\n")
DEFUN (match_ip_next_hop_prefix_list,
match_ip_next_hop_prefix_list_cmd,
argv[4]->arg, RMAP_EVENT_PLIST_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match next-hop address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_next_hop_prefix_list,
no_match_ip_next_hop_prefix_list_cmd,
"no match ip next-hop prefix-list",
RMAP_EVENT_PLIST_DELETED);
}
-ALIAS (no_match_ip_next_hop_prefix_list,
- no_match_ip_next_hop_prefix_list_val_cmd,
- "no match ip next-hop prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match next-hop address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
DEFUN (match_ip_address,
match_ip_address_cmd,
RMAP_EVENT_FILTER_ADDED);
}
-DEFUN (no_match_ip_address,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address (<1-199>|<1300-2699>|WORD)",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "IP access-list number\n"
+ * "IP access-list number (expanded range)\n"
+ * "IP Access-list name\n"
+ *
+ */
+DEFUN (no_match_ip_address,
no_match_ip_address_cmd,
"no match ip address",
NO_STR
RMAP_EVENT_FILTER_DELETED);
}
-ALIAS (no_match_ip_address,
- no_match_ip_address_val_cmd,
- "no match ip address (<1-199>|<1300-2699>|WORD)",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
- "IP Access-list name\n")
-DEFUN (match_ip_address_prefix_list,
+DEFUN (match_ip_address_prefix_list,
match_ip_address_prefix_list_cmd,
"match ip address prefix-list WORD",
MATCH_STR
argv[4]->arg, RMAP_EVENT_PLIST_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address prefix-list WORD",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match address of route\n"
+ * "Match entries of prefix-lists\n"
+ * "IP prefix-list name\n"
+ *
+ */
DEFUN (no_match_ip_address_prefix_list,
no_match_ip_address_prefix_list_cmd,
"no match ip address prefix-list",
RMAP_EVENT_PLIST_DELETED);
}
-ALIAS (no_match_ip_address_prefix_list,
- no_match_ip_address_prefix_list_val_cmd,
- "no match ip address prefix-list WORD",
- NO_STR
- MATCH_STR
- IP_STR
- "Match address of route\n"
- "Match entries of prefix-lists\n"
- "IP prefix-list name\n")
DEFUN (match_ip_address_prefix_len,
match_ip_address_prefix_len_cmd,
argv[0], RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip address prefix-len NUMBER",
+ * NO_STR
+ * MATCH_STR
+ * IP_STR
+ * "Match prefixlen of ip address of route\n"
+ * "prefix length of ip address\n"
+ *
+ */
DEFUN (no_match_ip_address_prefix_len,
no_match_ip_address_prefix_len_cmd,
"no match ip address prefix-len",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_ip_address_prefix_len,
- no_match_ip_address_prefix_len_val_cmd,
- "no match ip address prefix-len NUMBER",
- NO_STR
- MATCH_STR
- IP_STR
- "Match prefixlen of ip address of route\n"
- "prefix length of ip address\n")
DEFUN (match_ip_nexthop_prefix_len,
match_ip_nexthop_prefix_len_cmd,
argv[0], RMAP_EVENT_MATCH_ADDED);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no match ip next-hop prefix-len NUMBER",
+ * MATCH_STR
+ * "Match prefixlen of ip address of route\n"
+ * "prefix length of ip address\n"
+ *
+ */
DEFUN (no_match_ip_nexthop_prefix_len,
no_match_ip_nexthop_prefix_len_cmd,
"no match ip next-hop prefix-len",
RMAP_EVENT_MATCH_DELETED);
}
-ALIAS (no_match_ip_nexthop_prefix_len,
- no_match_ip_nexthop_prefix_len_val_cmd,
- "no match ip next-hop prefix-len NUMBER",
- MATCH_STR
- "Match prefixlen of ip address of route\n"
- "prefix length of ip address\n")
DEFUN (match_source_protocol,
match_source_protocol_cmd,
return (CMD_SUCCESS);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no zebra route-map delay-timer <0-600>",
+ * NO_STR
+ * "Time to wait before route-map updates are processed\n"
+ * "Reset delay-timer to default value, 30 secs\n"
+ * "0 means event-driven updates are disabled\n"
+ *
+ */
DEFUN (no_zebra_route_map_timer,
no_zebra_route_map_timer_cmd,
"no zebra route-map delay-timer",
return (CMD_SUCCESS);
}
-ALIAS (no_zebra_route_map_timer,
- no_zebra_route_map_timer_val_cmd,
- "no zebra route-map delay-timer <0-600>",
- NO_STR
- "Time to wait before route-map updates are processed\n"
- "Reset delay-timer to default value, 30 secs\n"
- "0 means event-driven updates are disabled\n")
DEFUN (ip_protocol,
ip_protocol_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip protocol " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
+ * NO_STR
+ * IP_STR
+ * "Stop filtering routing info between zebra and protocol\n"
+ * QUAGGA_IP_PROTOCOL_MAP_HELP_STR_ZEBRA
+ * "route map name"
+ *
+ */
DEFUN (no_ip_protocol,
no_ip_protocol_cmd,
"no ip protocol " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA,
return CMD_SUCCESS;
}
-ALIAS (no_ip_protocol,
- no_ip_protocol_val_cmd,
- "no ip protocol " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
- NO_STR
- IP_STR
- "Stop filtering routing info between zebra and protocol\n"
- QUAGGA_IP_PROTOCOL_MAP_HELP_STR_ZEBRA
- "route map name")
DEFUN (show_ip_protocol,
show_ip_protocol_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 protocol " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
+ * NO_STR
+ * IP6_STR
+ * "Stop filtering IPv6 routing info between zebra and protocol\n"
+ * QUAGGA_IP6_PROTOCOL_MAP_HELP_STR_ZEBRA
+ * "route map name"
+ *
+ */
DEFUN (no_ipv6_protocol,
no_ipv6_protocol_cmd,
"no ipv6 protocol " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA,
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_protocol,
- no_ipv6_protocol_val_cmd,
- "no ipv6 protocol " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
- NO_STR
- IP6_STR
- "Stop filtering IPv6 routing info between zebra and protocol\n"
- QUAGGA_IP6_PROTOCOL_MAP_HELP_STR_ZEBRA
- "route map name")
DEFUN (show_ipv6_protocol,
show_ipv6_protocol_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip nht " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
+ * IP_STR
+ * "Filter Next Hop tracking route resolution\n"
+ * QUAGGA_IP_PROTOCOL_MAP_HELP_STR_ZEBRA
+ * "Route map name\n"
+ *
+ */
DEFUN (no_ip_protocol_nht_rmap,
no_ip_protocol_nht_rmap_cmd,
"no ip nht " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA,
return CMD_SUCCESS;
}
-ALIAS (no_ip_protocol_nht_rmap,
- no_ip_protocol_nht_rmap_val_cmd,
- "no ip nht " QUAGGA_IP_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
- IP_STR
- "Filter Next Hop tracking route resolution\n"
- QUAGGA_IP_PROTOCOL_MAP_HELP_STR_ZEBRA
- "Route map name\n")
DEFUN (show_ip_protocol_nht,
show_ip_protocol_nht_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ipv6 nht " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
+ * NO_STR
+ * IP6_STR
+ * "Filter Next Hop tracking route resolution\n"
+ * QUAGGA_IP6_PROTOCOL_MAP_HELP_STR_ZEBRA
+ * "Route map name\n"
+ *
+ */
DEFUN (no_ipv6_protocol_nht_rmap,
no_ipv6_protocol_nht_rmap_cmd,
"no ipv6 nht " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA,
return CMD_SUCCESS;
}
-ALIAS (no_ipv6_protocol_nht_rmap,
- no_ipv6_protocol_nht_rmap_val_cmd,
- "no ipv6 nht " QUAGGA_IP6_PROTOCOL_MAP_STR_ZEBRA " route-map ROUTE-MAP",
- NO_STR
- IP6_STR
- "Filter Next Hop tracking route resolution\n"
- QUAGGA_IP6_PROTOCOL_MAP_HELP_STR_ZEBRA
- "Route map name\n")
DEFUN (show_ipv6_protocol_nht,
show_ipv6_protocol_nht_cmd,
{
install_element (CONFIG_NODE, &ip_protocol_cmd);
install_element (CONFIG_NODE, &no_ip_protocol_cmd);
- install_element (CONFIG_NODE, &no_ip_protocol_val_cmd);
install_element (VIEW_NODE, &show_ip_protocol_cmd);
install_element (ENABLE_NODE, &show_ip_protocol_cmd);
install_element (CONFIG_NODE, &ipv6_protocol_cmd);
install_element (CONFIG_NODE, &no_ipv6_protocol_cmd);
- install_element (CONFIG_NODE, &no_ipv6_protocol_val_cmd);
install_element (VIEW_NODE, &show_ipv6_protocol_cmd);
install_element (ENABLE_NODE, &show_ipv6_protocol_cmd);
install_element (CONFIG_NODE, &ip_protocol_nht_rmap_cmd);
install_element (CONFIG_NODE, &no_ip_protocol_nht_rmap_cmd);
- install_element (CONFIG_NODE, &no_ip_protocol_nht_rmap_val_cmd);
install_element (VIEW_NODE, &show_ip_protocol_nht_cmd);
install_element (ENABLE_NODE, &show_ip_protocol_nht_cmd);
install_element (CONFIG_NODE, &ipv6_protocol_nht_rmap_cmd);
install_element (CONFIG_NODE, &no_ipv6_protocol_nht_rmap_cmd);
- install_element (CONFIG_NODE, &no_ipv6_protocol_nht_rmap_val_cmd);
install_element (VIEW_NODE, &show_ipv6_protocol_nht_cmd);
install_element (ENABLE_NODE, &show_ipv6_protocol_nht_cmd);
install_element (CONFIG_NODE, &zebra_route_map_timer_cmd);
install_element (CONFIG_NODE, &no_zebra_route_map_timer_cmd);
- install_element (CONFIG_NODE, &no_zebra_route_map_timer_val_cmd);
route_map_init ();
route_map_init_vty ();
/* */
install_element (RMAP_NODE, &match_tag_cmd);
install_element (RMAP_NODE, &no_match_tag_cmd);
- install_element (RMAP_NODE, &no_match_tag_val_cmd);
install_element (RMAP_NODE, &match_interface_cmd);
install_element (RMAP_NODE, &no_match_interface_cmd);
- install_element (RMAP_NODE, &no_match_interface_val_cmd);
install_element (RMAP_NODE, &match_ip_next_hop_cmd);
install_element (RMAP_NODE, &no_match_ip_next_hop_cmd);
- install_element (RMAP_NODE, &no_match_ip_next_hop_val_cmd);
install_element (RMAP_NODE, &match_ip_next_hop_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_next_hop_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_ip_address_cmd);
install_element (RMAP_NODE, &no_match_ip_address_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_val_cmd);
install_element (RMAP_NODE, &match_ip_address_prefix_list_cmd);
install_element (RMAP_NODE, &no_match_ip_address_prefix_list_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_prefix_list_val_cmd);
install_element (RMAP_NODE, &match_ip_nexthop_prefix_len_cmd);
install_element (RMAP_NODE, &no_match_ip_nexthop_prefix_len_cmd);
- install_element (RMAP_NODE, &no_match_ip_nexthop_prefix_len_val_cmd);
install_element (RMAP_NODE, &match_ip_address_prefix_len_cmd);
install_element (RMAP_NODE, &no_match_ip_address_prefix_len_cmd);
- install_element (RMAP_NODE, &no_match_ip_address_prefix_len_val_cmd);
install_element (RMAP_NODE, &match_source_protocol_cmd);
install_element (RMAP_NODE, &no_match_source_protocol_cmd);
/* */
}
/* Static unicast routes for multicast RPF lookup. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip mroute A.B.C.D/M (A.B.C.D|INTERFACE)",
+ * IP_STR
+ * "Configure static unicast route into MRIB for multicast RPF lookup\n"
+ * "IP destination prefix (e.g. 10.0.0.0/8)\n"
+ * "Nexthop address\n"
+ * "Nexthop interface name\n"
+ *
+ */
DEFUN (ip_mroute_dist,
ip_mroute_dist_cmd,
"ip mroute A.B.C.D/M (A.B.C.D|INTERFACE) <1-255>",
return zebra_static_ipv4 (vty, SAFI_MULTICAST, 1, argv[2]->arg, NULL, argv[3]->arg, NULL, NULL, argc > 2 ? argv[4]->arg : NULL, NULL);
}
-ALIAS (ip_mroute_dist,
- ip_mroute_cmd,
- "ip mroute A.B.C.D/M (A.B.C.D|INTERFACE)",
- IP_STR
- "Configure static unicast route into MRIB for multicast RPF lookup\n"
- "IP destination prefix (e.g. 10.0.0.0/8)\n"
- "Nexthop address\n"
- "Nexthop interface name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip mroute A.B.C.D/M (A.B.C.D|INTERFACE)",
+ * NO_STR
+ * IP_STR
+ * "Configure static unicast route into MRIB for multicast RPF lookup\n"
+ * "IP destination prefix (e.g. 10.0.0.0/8)\n"
+ * "Nexthop address\n"
+ * "Nexthop interface name\n"
+ *
+ */
DEFUN (no_ip_mroute_dist,
no_ip_mroute_dist_cmd,
"no ip mroute A.B.C.D/M (A.B.C.D|INTERFACE) <1-255>",
return zebra_static_ipv4 (vty, SAFI_MULTICAST, 0, argv[3]->arg, NULL, argv[4]->arg, NULL, NULL, argc > 2 ? argv[5]->arg : NULL, NULL);
}
-ALIAS (no_ip_mroute_dist,
- no_ip_mroute_cmd,
- "no ip mroute A.B.C.D/M (A.B.C.D|INTERFACE)",
- NO_STR
- IP_STR
- "Configure static unicast route into MRIB for multicast RPF lookup\n"
- "IP destination prefix (e.g. 10.0.0.0/8)\n"
- "Nexthop address\n"
- "Nexthop interface name\n")
DEFUN (ip_multicast_mode,
ip_multicast_mode_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip multicast rpf-lookup-mode",
+ * NO_STR
+ * IP_STR
+ * "Multicast options\n"
+ * "RPF lookup behavior\n"
+ *
+ */
DEFUN (no_ip_multicast_mode,
no_ip_multicast_mode_cmd,
"no ip multicast rpf-lookup-mode (urib-only|mrib-only|mrib-then-urib|lower-distance|longer-prefix)",
return CMD_SUCCESS;
}
-ALIAS (no_ip_multicast_mode,
- no_ip_multicast_mode_noarg_cmd,
- "no ip multicast rpf-lookup-mode",
- NO_STR
- IP_STR
- "Multicast options\n"
- "RPF lookup behavior\n")
DEFUN (show_ip_rpf,
show_ip_rpf_cmd,
}
/* Static route configuration. */
-DEFUN (ip_route,
+DEFUN (ip_route,
ip_route_cmd,
"ip route A.B.C.D/M (A.B.C.D|INTERFACE|null0)",
IP_STR
argv[7]->arg, NULL);
}
-DEFUN (no_ip_route,
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip route A.B.C.D/M (A.B.C.D|INTERFACE) (reject|blackhole)",
+ * NO_STR
+ * IP_STR
+ * "Establish static routes\n"
+ * "IP destination prefix (e.g. 10.0.0.0/8)\n"
+ * "IP gateway address\n"
+ * "IP gateway interface name\n"
+ * "Emit an ICMP unreachable when matched\n"
+ * "Silently discard pkts when matched\n"
+ *
+ */
+DEFUN (no_ip_route,
no_ip_route_cmd,
"no ip route A.B.C.D/M (A.B.C.D|INTERFACE|null0)",
NO_STR
NULL, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip route A.B.C.D/M (A.B.C.D|INTERFACE) (reject|blackhole) tag <1-65535>",
+ * NO_STR
+ * IP_STR
+ * "Establish static routes\n"
+ * "IP destination prefix (e.g. 10.0.0.0/8)\n"
+ * "IP gateway address\n"
+ * "IP gateway interface name\n"
+ * "Emit an ICMP unreachable when matched\n"
+ * "Silently discard pkts when matched\n"
+ * "Tag of this route\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_ip_route_tag,
no_ip_route_tag_cmd,
"no ip route A.B.C.D/M (A.B.C.D|INTERFACE|null0) tag <1-65535>",
NULL, NULL);
}
-ALIAS (no_ip_route,
- no_ip_route_flags_cmd,
- "no ip route A.B.C.D/M (A.B.C.D|INTERFACE) (reject|blackhole)",
- NO_STR
- IP_STR
- "Establish static routes\n"
- "IP destination prefix (e.g. 10.0.0.0/8)\n"
- "IP gateway address\n"
- "IP gateway interface name\n"
- "Emit an ICMP unreachable when matched\n"
- "Silently discard pkts when matched\n")
-ALIAS (no_ip_route_tag,
- no_ip_route_flags_tag_cmd,
- "no ip route A.B.C.D/M (A.B.C.D|INTERFACE) (reject|blackhole) tag <1-65535>",
- NO_STR
- IP_STR
- "Establish static routes\n"
- "IP destination prefix (e.g. 10.0.0.0/8)\n"
- "IP gateway address\n"
- "IP gateway interface name\n"
- "Emit an ICMP unreachable when matched\n"
- "Silently discard pkts when matched\n"
- "Tag of this route\n"
- "Tag value\n")
DEFUN (no_ip_route_flags2,
no_ip_route_flags2_cmd,
NULL, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) (reject|blackhole)",
+ * NO_STR
+ * IP_STR
+ * "Establish static routes\n"
+ * "IP destination prefix\n"
+ * "IP destination prefix mask\n"
+ * "IP gateway address\n"
+ * "IP gateway interface name\n"
+ * "Emit an ICMP unreachable when matched\n"
+ * "Silently discard pkts when matched\n"
+ *
+ */
DEFUN (no_ip_route_mask,
no_ip_route_mask_cmd,
"no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE|null0)",
NULL, NULL);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) (reject|blackhole) tag <1-65535>",
+ * NO_STR
+ * IP_STR
+ * "Establish static routes\n"
+ * "IP destination prefix\n"
+ * "IP destination prefix mask\n"
+ * "IP gateway address\n"
+ * "IP gateway interface name\n"
+ * "Emit an ICMP unreachable when matched\n"
+ * "Silently discard pkts when matched\n"
+ * "Tag of this route\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (no_ip_route_mask_tag,
no_ip_route_mask_tag_cmd,
"no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE|null0) tag <1-65535>",
NULL, NULL);
}
-ALIAS (no_ip_route_mask,
- no_ip_route_mask_flags_cmd,
- "no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) (reject|blackhole)",
- NO_STR
- IP_STR
- "Establish static routes\n"
- "IP destination prefix\n"
- "IP destination prefix mask\n"
- "IP gateway address\n"
- "IP gateway interface name\n"
- "Emit an ICMP unreachable when matched\n"
- "Silently discard pkts when matched\n")
-ALIAS (no_ip_route_mask_tag,
- no_ip_route_mask_flags_tag_cmd,
- "no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) (reject|blackhole) tag <1-65535>",
- NO_STR
- IP_STR
- "Establish static routes\n"
- "IP destination prefix\n"
- "IP destination prefix mask\n"
- "IP gateway address\n"
- "IP gateway interface name\n"
- "Emit an ICMP unreachable when matched\n"
- "Silently discard pkts when matched\n"
- "Tag of this route\n"
- "Tag value\n")
DEFUN (no_ip_route_mask_flags2,
no_ip_route_mask_flags2_cmd,
}
/* Static route configuration. */
-DEFUN (ip_route_vrf,
+DEFUN (ip_route_vrf,
ip_route_vrf_cmd,
"ip route A.B.C.D/M (A.B.C.D|INTERFACE|null0) " VRF_CMD_STR,
IP_STR
return zebra_static_ipv4 (vty, SAFI_UNICAST, 1, argv[2]->arg, argv[3]->arg, NULL, argv[4]->arg, argv[6]->arg, argv[7]->arg, argv[10]->arg);
}
-DEFUN (no_ip_route_vrf,
+DEFUN (no_ip_route_vrf,
no_ip_route_vrf_cmd,
"no ip route A.B.C.D/M (A.B.C.D|INTERFACE|null0) " VRF_CMD_STR,
NO_STR
return do_show_ip_route (vty, argv[5]->arg, SAFI_UNICAST, uj);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip nht " VRF_CMD_STR,
+ * SHOW_STR
+ * IP_STR
+ * "IP nexthop tracking table\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (show_ip_nht,
show_ip_nht_cmd,
"show ip nht",
return CMD_SUCCESS;
}
-ALIAS (show_ip_nht,
- show_ip_nht_vrf_cmd,
- "show ip nht " VRF_CMD_STR,
- SHOW_STR
- IP_STR
- "IP nexthop tracking table\n"
- VRF_CMD_HELP_STR)
DEFUN (show_ip_nht_vrf_all,
show_ip_nht_vrf_all_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 nht " VRF_CMD_STR,
+ * SHOW_STR
+ * IPV6_STR
+ * "IPv6 nexthop tracking table\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (show_ipv6_nht,
show_ipv6_nht_cmd,
"show ipv6 nht",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_nht,
- show_ipv6_nht_vrf_cmd,
- "show ipv6 nht " VRF_CMD_STR,
- SHOW_STR
- IPV6_STR
- "IPv6 nexthop tracking table\n"
- VRF_CMD_HELP_STR)
DEFUN (show_ipv6_nht_vrf_all,
show_ipv6_nht_vrf_all_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " tag <1-65535>",
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Show only routes with tag\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (show_ip_route_tag,
show_ip_route_tag_cmd,
"show ip route tag <1-65535>",
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_tag,
- show_ip_route_vrf_tag_cmd,
- "show ip route " VRF_CMD_STR " tag <1-65535>",
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- "Show only routes with tag\n"
- "Tag value\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " A.B.C.D/M longer-prefixes",
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ * "Show route matching the specified Network/Mask pair only\n"
+ *
+ */
DEFUN (show_ip_route_prefix_longer,
show_ip_route_prefix_longer_cmd,
"show ip route A.B.C.D/M longer-prefixes",
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_prefix_longer,
- show_ip_route_vrf_prefix_longer_cmd,
- "show ip route " VRF_CMD_STR " A.B.C.D/M longer-prefixes",
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
- "Show route matching the specified Network/Mask pair only\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " supernets-only",
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Show supernet entries only\n"
+ *
+ */
DEFUN (show_ip_route_supernets,
show_ip_route_supernets_cmd,
"show ip route supernets-only",
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_supernets,
- show_ip_route_vrf_supernets_cmd,
- "show ip route " VRF_CMD_STR " supernets-only",
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- "Show supernet entries only\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " " QUAGGA_IP_REDIST_STR_ZEBRA,
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * QUAGGA_IP_REDIST_HELP_STR_ZEBRA
+ *
+ */
DEFUN (show_ip_route_protocol,
show_ip_route_protocol_cmd,
"show ip route " QUAGGA_IP_REDIST_STR_ZEBRA,
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_protocol,
- show_ip_route_vrf_protocol_cmd,
- "show ip route " VRF_CMD_STR " " QUAGGA_IP_REDIST_STR_ZEBRA,
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- QUAGGA_IP_REDIST_HELP_STR_ZEBRA)
DEFUN (show_ip_route_ospf_instance,
show_ip_route_ospf_instance_cmd,
return CMD_SUCCESS;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " A.B.C.D",
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Network in the IP routing table to display\n"
+ *
+ */
DEFUN (show_ip_route_addr,
show_ip_route_addr_cmd,
"show ip route A.B.C.D",
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_addr,
- show_ip_route_vrf_addr_cmd,
- "show ip route " VRF_CMD_STR " A.B.C.D",
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- "Network in the IP routing table to display\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " A.B.C.D/M",
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"
+ *
+ */
DEFUN (show_ip_route_prefix,
show_ip_route_prefix_cmd,
"show ip route A.B.C.D/M",
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_prefix,
- show_ip_route_vrf_prefix_cmd,
- "show ip route " VRF_CMD_STR " A.B.C.D/M",
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n")
static void
vty_show_ip_route_summary (struct vty *vty, struct route_table *table)
}
/* Show route summary. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " summary",
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Summary of all routes\n"
+ *
+ */
DEFUN (show_ip_route_summary,
show_ip_route_summary_cmd,
"show ip route summary",
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_summary,
- show_ip_route_vrf_summary_cmd,
- "show ip route " VRF_CMD_STR " summary",
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- "Summary of all routes\n")
/* Show route summary prefix. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ip route " VRF_CMD_STR " summary prefix",
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Summary of all routes\n"
+ * "Prefix routes\n"
+ *
+ */
DEFUN (show_ip_route_summary_prefix,
show_ip_route_summary_prefix_cmd,
"show ip route summary prefix",
return CMD_SUCCESS;
}
-ALIAS (show_ip_route_summary_prefix,
- show_ip_route_vrf_summary_prefix_cmd,
- "show ip route " VRF_CMD_STR " summary prefix",
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- "Summary of all routes\n"
- "Prefix routes\n")
DEFUN (show_ip_route_vrf_all,
show_ip_route_vrf_all_cmd,
return static_ipv6_func (vty, 0, argv[3]->arg, argv[4]->arg, argv[5]->arg, argv[6]->arg, argv[8]->arg, argv[9]->arg, argv[12]->arg);
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " {json}",
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 routing table\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (show_ipv6_route,
show_ipv6_route_cmd,
"show ipv6 route {json}",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route,
- show_ipv6_route_vrf_cmd,
- "show ipv6 route " VRF_CMD_STR " {json}",
- SHOW_STR
- IP_STR
- "IPv6 routing table\n"
- VRF_CMD_HELP_STR)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " tag <1-65535>",
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Show only routes with tag\n"
+ * "Tag value\n"
+ *
+ */
DEFUN (show_ipv6_route_tag,
show_ipv6_route_tag_cmd,
"show ipv6 route tag <1-65535>",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route_tag,
- show_ipv6_route_vrf_tag_cmd,
- "show ipv6 route " VRF_CMD_STR " tag <1-65535>",
- SHOW_STR
- IP_STR
- "IPv6 routing table\n"
- VRF_CMD_HELP_STR
- "Show only routes with tag\n"
- "Tag value\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " X:X::X:X/M longer-prefixes",
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 routing table\n"
+ * VRF_CMD_HELP_STR
+ * "IPv6 prefix\n"
+ * "Show route matching the specified Network/Mask pair only\n"
+ *
+ */
DEFUN (show_ipv6_route_prefix_longer,
show_ipv6_route_prefix_longer_cmd,
"show ipv6 route X:X::X:X/M longer-prefixes",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route_prefix_longer,
- show_ipv6_route_vrf_prefix_longer_cmd,
- "show ipv6 route " VRF_CMD_STR " X:X::X:X/M longer-prefixes",
- SHOW_STR
- IP_STR
- "IPv6 routing table\n"
- VRF_CMD_HELP_STR
- "IPv6 prefix\n"
- "Show route matching the specified Network/Mask pair only\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " " QUAGGA_IP6_REDIST_STR_ZEBRA,
+ * SHOW_STR
+ * IP_STR
+ * "IP routing table\n"
+ * VRF_CMD_HELP_STR
+ * QUAGGA_IP6_REDIST_HELP_STR_ZEBRA
+ *
+ */
DEFUN (show_ipv6_route_protocol,
show_ipv6_route_protocol_cmd,
"show ipv6 route " QUAGGA_IP6_REDIST_STR_ZEBRA,
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route_protocol,
- show_ipv6_route_vrf_protocol_cmd,
- "show ipv6 route " VRF_CMD_STR " " QUAGGA_IP6_REDIST_STR_ZEBRA,
- SHOW_STR
- IP_STR
- "IP routing table\n"
- VRF_CMD_HELP_STR
- QUAGGA_IP6_REDIST_HELP_STR_ZEBRA)
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " X:X::X:X",
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 routing table\n"
+ * VRF_CMD_HELP_STR
+ * "IPv6 Address\n"
+ *
+ */
DEFUN (show_ipv6_route_addr,
show_ipv6_route_addr_cmd,
"show ipv6 route X:X::X:X",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route_addr,
- show_ipv6_route_vrf_addr_cmd,
- "show ipv6 route " VRF_CMD_STR " X:X::X:X",
- SHOW_STR
- IP_STR
- "IPv6 routing table\n"
- VRF_CMD_HELP_STR
- "IPv6 Address\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " X:X::X:X/M ",
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 routing table\n"
+ * VRF_CMD_HELP_STR
+ * "IPv6 prefix\n"
+ *
+ */
DEFUN (show_ipv6_route_prefix,
show_ipv6_route_prefix_cmd,
"show ipv6 route X:X::X:X/M",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route_prefix,
- show_ipv6_route_vrf_prefix_cmd,
- "show ipv6 route " VRF_CMD_STR " X:X::X:X/M ",
- SHOW_STR
- IP_STR
- "IPv6 routing table\n"
- VRF_CMD_HELP_STR
- "IPv6 prefix\n")
/* Show route summary. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " summary",
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Summary of all IPv6 routes\n"
+ *
+ */
DEFUN (show_ipv6_route_summary,
show_ipv6_route_summary_cmd,
"show ipv6 route summary",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route_summary,
- show_ipv6_route_vrf_summary_cmd,
- "show ipv6 route " VRF_CMD_STR " summary",
- SHOW_STR
- IP_STR
- "IPv6 routing table\n"
- VRF_CMD_HELP_STR
- "Summary of all IPv6 routes\n")
/* Show ipv6 route summary prefix. */
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 route " VRF_CMD_STR " summary prefix",
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 routing table\n"
+ * VRF_CMD_HELP_STR
+ * "Summary of all IPv6 routes\n"
+ * "Prefix routes\n"
+ *
+ */
DEFUN (show_ipv6_route_summary_prefix,
show_ipv6_route_summary_prefix_cmd,
"show ipv6 route summary prefix",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_route_summary_prefix,
- show_ipv6_route_vrf_summary_prefix_cmd,
- "show ipv6 route " VRF_CMD_STR " summary prefix",
- SHOW_STR
- IP_STR
- "IPv6 routing table\n"
- VRF_CMD_HELP_STR
- "Summary of all IPv6 routes\n"
- "Prefix routes\n")
/*
* Show IPv6 mroute command.Used to dump
* the Multicast routing table.
*/
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "show ipv6 mroute " VRF_CMD_STR,
+ * SHOW_STR
+ * IP_STR
+ * "IPv6 Multicast routing table\n"
+ * VRF_CMD_HELP_STR
+ *
+ */
DEFUN (show_ipv6_mroute,
show_ipv6_mroute_cmd,
"show ipv6 mroute",
return CMD_SUCCESS;
}
-ALIAS (show_ipv6_mroute,
- show_ipv6_mroute_vrf_cmd,
- "show ipv6 mroute " VRF_CMD_STR,
- SHOW_STR
- IP_STR
- "IPv6 Multicast routing table\n"
- VRF_CMD_HELP_STR)
DEFUN (show_ipv6_route_vrf_all,
show_ipv6_route_vrf_all_cmd,
return write;
}
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip import-table <1-252>",
+ * IP_STR
+ * "import routes from non-main kernel table\n"
+ * "kernel routing table id\n"
+ *
+ */
DEFUN (ip_zebra_import_table_distance,
ip_zebra_import_table_distance_cmd,
"ip import-table <1-252> distance <1-255>",
}
-ALIAS (ip_zebra_import_table_distance,
- ip_zebra_import_table_cmd,
- "ip import-table <1-252>",
- IP_STR
- "import routes from non-main kernel table\n"
- "kernel routing table id\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ip import-table <1-252> route-map WORD",
+ * IP_STR
+ * "import routes from non-main kernel table\n"
+ * "kernel routing table id\n"
+ * "route-map for filtering\n"
+ * "route-map name\n"
+ *
+ */
DEFUN (ip_zebra_import_table_distance_routemap,
ip_zebra_import_table_distance_routemap_cmd,
"ip import-table <1-252> distance <1-255> route-map WORD",
return (zebra_import_table(AFI_IP, table_id, distance, rmap_name, 1));
}
-ALIAS (ip_zebra_import_table_distance_routemap,
- ip_zebra_import_table_routemap_cmd,
- "ip import-table <1-252> route-map WORD",
- IP_STR
- "import routes from non-main kernel table\n"
- "kernel routing table id\n"
- "route-map for filtering\n"
- "route-map name\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ip import-table <1-252> distance <1-255> {route-map NAME}",
+ * IP_STR
+ * "import routes from non-main kernel table to main table"
+ * "kernel routing table id\n"
+ * "distance to be used\n"
+ *
+ */
DEFUN (no_ip_zebra_import_table,
no_ip_zebra_import_table_cmd,
"no ip import-table <1-252> {route-map NAME}",
return (zebra_import_table(AFI_IP, table_id, 0, NULL, 0));
}
-ALIAS (no_ip_zebra_import_table,
- no_ip_zebra_import_table_distance_cmd,
- "no ip import-table <1-252> distance <1-255> {route-map NAME}",
- IP_STR
- "import routes from non-main kernel table to main table"
- "kernel routing table id\n"
- "distance to be used\n")
static int
config_write_protocol (struct vty *vty)
install_element (CONFIG_NODE, &allow_external_route_update_cmd);
install_element (CONFIG_NODE, &no_allow_external_route_update_cmd);
- install_element (CONFIG_NODE, &ip_mroute_cmd);
install_element (CONFIG_NODE, &ip_mroute_dist_cmd);
- install_element (CONFIG_NODE, &no_ip_mroute_cmd);
install_element (CONFIG_NODE, &no_ip_mroute_dist_cmd);
install_element (CONFIG_NODE, &ip_multicast_mode_cmd);
install_element (CONFIG_NODE, &no_ip_multicast_mode_cmd);
- install_element (CONFIG_NODE, &no_ip_multicast_mode_noarg_cmd);
install_element (CONFIG_NODE, &ip_route_cmd);
install_element (CONFIG_NODE, &ip_route_tag_cmd);
install_element (CONFIG_NODE, &ip_route_flags_cmd);
install_element (CONFIG_NODE, &ip_route_mask_flags2_tag_cmd);
install_element (CONFIG_NODE, &no_ip_route_cmd);
install_element (CONFIG_NODE, &no_ip_route_tag_cmd);
- install_element (CONFIG_NODE, &no_ip_route_flags_cmd);
- install_element (CONFIG_NODE, &no_ip_route_flags_tag_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags2_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags2_tag_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_tag_cmd);
- install_element (CONFIG_NODE, &no_ip_route_mask_flags_cmd);
- install_element (CONFIG_NODE, &no_ip_route_mask_flags_tag_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_flags2_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_flags2_tag_cmd);
install_element (CONFIG_NODE, &ip_route_distance_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_flags_tag_distance_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_flags_distance2_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_flags_tag_distance2_cmd);
- install_element (CONFIG_NODE, &ip_zebra_import_table_cmd);
install_element (CONFIG_NODE, &ip_zebra_import_table_distance_cmd);
- install_element (CONFIG_NODE, &ip_zebra_import_table_routemap_cmd);
install_element (CONFIG_NODE, &ip_zebra_import_table_distance_routemap_cmd);
install_element (CONFIG_NODE, &no_ip_zebra_import_table_cmd);
- install_element (CONFIG_NODE, &no_ip_zebra_import_table_distance_cmd);
install_element (VIEW_NODE, &show_vrf_cmd);
install_element (VIEW_NODE, &show_ip_route_cmd);
install_element (VIEW_NODE, &show_ip_route_ospf_instance_cmd);
install_element (VIEW_NODE, &show_ip_route_tag_cmd);
install_element (VIEW_NODE, &show_ip_nht_cmd);
- install_element (VIEW_NODE, &show_ip_nht_vrf_cmd);
install_element (VIEW_NODE, &show_ip_nht_vrf_all_cmd);
install_element (VIEW_NODE, &show_ipv6_nht_cmd);
- install_element (VIEW_NODE, &show_ipv6_nht_vrf_cmd);
install_element (VIEW_NODE, &show_ipv6_nht_vrf_all_cmd);
install_element (VIEW_NODE, &show_ip_route_addr_cmd);
install_element (VIEW_NODE, &show_ip_route_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_route_ospf_instance_cmd);
install_element (ENABLE_NODE, &show_ip_route_tag_cmd);
install_element (ENABLE_NODE, &show_ip_nht_cmd);
- install_element (ENABLE_NODE, &show_ip_nht_vrf_cmd);
install_element (ENABLE_NODE, &show_ip_nht_vrf_all_cmd);
install_element (ENABLE_NODE, &show_ipv6_nht_cmd);
- install_element (ENABLE_NODE, &show_ipv6_nht_vrf_cmd);
install_element (ENABLE_NODE, &show_ipv6_nht_vrf_all_cmd);
install_element (ENABLE_NODE, &show_ip_route_addr_cmd);
install_element (ENABLE_NODE, &show_ip_route_prefix_cmd);
install_element (CONFIG_NODE, &no_ip_route_mask_flags_tag_distance2_vrf_cmd);
install_element (VIEW_NODE, &show_ip_route_vrf_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_addr_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_tag_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_prefix_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_prefix_longer_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_protocol_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_supernets_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_summary_cmd);
- install_element (VIEW_NODE, &show_ip_route_vrf_summary_prefix_cmd);
install_element (ENABLE_NODE, &show_ip_route_vrf_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_addr_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_tag_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_prefix_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_protocol_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_supernets_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_summary_cmd);
- install_element (ENABLE_NODE, &show_ip_route_vrf_summary_prefix_cmd);
install_element (VIEW_NODE, &show_ip_route_vrf_all_cmd);
install_element (VIEW_NODE, &show_ip_route_vrf_all_tag_cmd);
install_element (CONFIG_NODE, &no_ipv6_route_ifname_flags_pref_tag_vrf_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_tag_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_summary_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_summary_prefix_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_protocol_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_addr_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_prefix_cmd);
- install_element (VIEW_NODE, &show_ipv6_route_vrf_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_tag_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_protocol_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_addr_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_prefix_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_prefix_longer_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_summary_cmd);
- install_element (ENABLE_NODE, &show_ipv6_route_vrf_summary_prefix_cmd);
install_element (VIEW_NODE, &show_ipv6_route_vrf_all_cmd);
install_element (VIEW_NODE, &show_ipv6_route_vrf_all_tag_cmd);
install_element (ENABLE_NODE, &show_ipv6_route_vrf_all_summary_cmd);
install_element (ENABLE_NODE, &show_ipv6_route_vrf_all_summary_prefix_cmd);
- install_element (VIEW_NODE, &show_ipv6_mroute_vrf_cmd);
- install_element (ENABLE_NODE, &show_ipv6_mroute_vrf_cmd);
install_element (VIEW_NODE, &show_ipv6_mroute_vrf_all_cmd);
install_element (ENABLE_NODE, &show_ipv6_mroute_vrf_all_cmd);