mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 12:18:12 +00:00
ALIAS removal for bgp, ospf, pim, isis, rip, ripng, lib and zebra
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
c66bbd697d
commit
f412b39a33
@ -638,6 +638,18 @@ DEFUN_HIDDEN (neighbor_bfd_type,
|
||||
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",
|
||||
@ -660,16 +672,6 @@ DEFUN (no_neighbor_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,
|
||||
@ -711,6 +713,5 @@ bgp_bfd_init(void)
|
||||
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);
|
||||
}
|
||||
|
@ -1538,6 +1538,14 @@ DEFUN (debug_bgp_allow_martians,
|
||||
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",
|
||||
@ -1556,12 +1564,6 @@ DEFUN (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,
|
||||
@ -1862,7 +1864,6 @@ bgp_debug_init (void)
|
||||
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);
|
||||
|
3716
bgpd/bgp_route.c
3716
bgpd/bgp_route.c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
5919
bgpd/bgp_vty.c
5919
bgpd/bgp_vty.c
File diff suppressed because it is too large
Load Diff
@ -357,6 +357,15 @@ DEFUN (match_ip_address,
|
||||
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)",
|
||||
@ -373,13 +382,6 @@ DEFUN (no_match_ip_address,
|
||||
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")
|
||||
|
||||
/* ------------------------------------------------------------*/
|
||||
|
||||
@ -395,6 +397,17 @@ DEFUN (match_ip_address_prefix_list,
|
||||
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",
|
||||
@ -409,15 +422,6 @@ DEFUN (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")
|
||||
|
||||
/* ------------------------------------------------------------*/
|
||||
|
||||
@ -432,6 +436,15 @@ DEFUN (match_ipv6_address,
|
||||
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",
|
||||
@ -446,13 +459,6 @@ DEFUN (no_match_ipv6_address,
|
||||
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")
|
||||
|
||||
/* ------------------------------------------------------------*/
|
||||
|
||||
@ -468,6 +474,17 @@ DEFUN (match_ipv6_address_prefix_list,
|
||||
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",
|
||||
@ -482,15 +499,6 @@ DEFUN (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")
|
||||
|
||||
/* ------------------------------------------------------------*/
|
||||
|
||||
@ -498,7 +506,7 @@ ALIAS (no_match_ipv6_address_prefix_list,
|
||||
* 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"
|
||||
@ -507,8 +515,19 @@ DEFUN (set_metric,
|
||||
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
|
||||
@ -520,15 +539,6 @@ DEFUN (no_set_metric,
|
||||
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();
|
||||
@ -536,25 +546,20 @@ isis_route_map_init(void)
|
||||
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);
|
||||
}
|
||||
|
604
isisd/isis_vty.c
604
isisd/isis_vty.c
File diff suppressed because it is too large
Load Diff
@ -1978,6 +1978,14 @@ DEFUN (topology_baseis,
|
||||
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",
|
||||
@ -1995,12 +2003,6 @@ DEFUN (no_topology_baseis,
|
||||
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,
|
||||
@ -2418,7 +2420,6 @@ isis_init ()
|
||||
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 */
|
||||
|
@ -952,6 +952,12 @@ DEFUN (disable,
|
||||
}
|
||||
|
||||
/* 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",
|
||||
@ -1011,10 +1017,6 @@ DEFUN (config_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,
|
||||
@ -1124,6 +1126,18 @@ DEFUN (config_list,
|
||||
}
|
||||
|
||||
/* 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>]",
|
||||
@ -1268,19 +1282,8 @@ finished:
|
||||
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,
|
||||
@ -1352,7 +1355,8 @@ DEFUN (config_no_hostname,
|
||||
}
|
||||
|
||||
/* 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"
|
||||
@ -1393,7 +1397,8 @@ DEFUN (config_password, password_cmd,
|
||||
}
|
||||
|
||||
/* 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"
|
||||
@ -1448,7 +1453,8 @@ DEFUN (config_enable_password, enable_password_cmd,
|
||||
}
|
||||
|
||||
/* 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"
|
||||
@ -1515,7 +1521,8 @@ DEFUN (no_service_password_encrypt,
|
||||
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"
|
||||
@ -1535,7 +1542,8 @@ DEFUN (config_terminal_length, config_terminal_length_cmd,
|
||||
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
|
||||
@ -1545,7 +1553,8 @@ DEFUN (config_terminal_no_length, config_terminal_no_length_cmd,
|
||||
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"
|
||||
@ -1565,7 +1574,8 @@ DEFUN (service_terminal_length, service_terminal_length_cmd,
|
||||
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"
|
||||
@ -2085,13 +2095,11 @@ void
|
||||
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. */
|
||||
@ -2125,7 +2133,6 @@ cmd_init (int terminal)
|
||||
{
|
||||
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);
|
||||
@ -2136,7 +2143,6 @@ cmd_init (int terminal)
|
||||
|
||||
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);
|
||||
@ -2149,7 +2155,6 @@ cmd_init (int terminal)
|
||||
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);
|
||||
|
48
lib/filter.c
48
lib/filter.c
@ -1381,6 +1381,20 @@ DEFUN (access_list_remark,
|
||||
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",
|
||||
@ -1396,18 +1410,6 @@ DEFUN (no_access_list_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,
|
||||
@ -1550,6 +1552,17 @@ DEFUN (ipv6_access_list_remark,
|
||||
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",
|
||||
@ -1562,15 +1575,6 @@ DEFUN (no_ipv6_access_list_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 *);
|
||||
@ -1958,7 +1962,6 @@ access_list_init_ipv4 (void)
|
||||
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
|
||||
@ -2022,7 +2025,6 @@ access_list_init_ipv6 (void)
|
||||
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 */
|
||||
|
||||
|
@ -209,6 +209,16 @@ if_rmap_unset (const char *ifname, enum if_rmap_type type,
|
||||
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",
|
||||
@ -235,15 +245,18 @@ DEFUN (if_rmap,
|
||||
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",
|
||||
@ -276,15 +289,6 @@ DEFUN (no_if_rmap,
|
||||
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
|
||||
@ -333,8 +337,6 @@ if_rmap_init (int node)
|
||||
{
|
||||
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);
|
||||
|
42
lib/plist.c
42
lib/plist.c
@ -1824,6 +1824,17 @@ DEFUN (ip_prefix_list_description,
|
||||
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",
|
||||
@ -1836,15 +1847,6 @@ DEFUN (no_ip_prefix_list_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,
|
||||
@ -2420,6 +2422,17 @@ DEFUN (ipv6_prefix_list_description,
|
||||
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",
|
||||
@ -2432,15 +2445,6 @@ DEFUN (no_ipv6_prefix_list_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,
|
||||
@ -2946,7 +2950,6 @@ prefix_list_init_ipv4 (void)
|
||||
|
||||
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);
|
||||
@ -3023,7 +3026,6 @@ prefix_list_init_ipv6 (void)
|
||||
|
||||
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);
|
||||
|
@ -1530,6 +1530,16 @@ DEFUN (no_rmap_onmatch_next,
|
||||
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)",
|
||||
@ -1578,6 +1588,18 @@ DEFUN (rmap_onmatch_goto,
|
||||
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",
|
||||
@ -1596,30 +1618,10 @@ DEFUN (no_rmap_onmatch_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,
|
||||
@ -1809,8 +1811,6 @@ route_map_init_vty (void)
|
||||
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);
|
||||
|
15
lib/vty.c
15
lib/vty.c
@ -2923,6 +2923,14 @@ DEFUN (terminal_monitor,
|
||||
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",
|
||||
@ -2934,12 +2942,6 @@ DEFUN (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,
|
||||
@ -3149,7 +3151,6 @@ vty_init (struct thread_master *master_thread)
|
||||
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);
|
||||
|
@ -433,6 +433,32 @@ ospf6_area_show (struct vty *vty, struct ospf6_area *oa)
|
||||
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",
|
||||
@ -503,35 +529,37 @@ DEFUN (area_range,
|
||||
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",
|
||||
@ -584,36 +612,8 @@ DEFUN (no_area_range,
|
||||
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)
|
||||
@ -1094,13 +1094,7 @@ ospf6_area_init (void)
|
||||
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);
|
||||
|
@ -679,6 +679,16 @@ DEFUN (ospf6_redistribute_routemap,
|
||||
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,
|
||||
@ -698,14 +708,6 @@ DEFUN (no_ospf6_redistribute,
|
||||
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)
|
||||
@ -1051,6 +1053,15 @@ DEFUN (ospf6_routemap_match_interface,
|
||||
}
|
||||
|
||||
/* "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",
|
||||
@ -1063,13 +1074,6 @@ DEFUN (ospf6_routemap_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,
|
||||
@ -1114,6 +1118,15 @@ DEFUN (set_metric,
|
||||
}
|
||||
|
||||
/* 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",
|
||||
@ -1132,13 +1145,6 @@ DEFUN (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,
|
||||
@ -1189,7 +1195,6 @@ ospf6_routemap_init (void)
|
||||
/* 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);
|
||||
@ -1198,7 +1203,6 @@ ospf6_routemap_init (void)
|
||||
/* 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);
|
||||
@ -1351,7 +1355,6 @@ ospf6_asbr_init (void)
|
||||
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
|
||||
@ -1408,12 +1411,3 @@ config_write_ospf6_debug_asbr (struct vty *vty)
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -986,6 +986,16 @@ ospf6_interface_show (struct vty *vty, struct interface *ifp)
|
||||
}
|
||||
|
||||
/* 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",
|
||||
@ -1019,15 +1029,34 @@ DEFUN (show_ipv6_ospf6_interface,
|
||||
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",
|
||||
@ -1063,34 +1092,33 @@ DEFUN (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",
|
||||
@ -1117,31 +1145,7 @@ DEFUN (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 */
|
||||
@ -1352,6 +1356,15 @@ DEFUN (auto_cost_reference_bandwidth,
|
||||
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",
|
||||
@ -1375,13 +1388,6 @@ DEFUN (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,
|
||||
@ -1899,22 +1905,12 @@ ospf6_interface_init (void)
|
||||
/* 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);
|
||||
@ -1946,7 +1942,6 @@ ospf6_interface_init (void)
|
||||
/* 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 */
|
||||
|
@ -816,6 +816,16 @@ ospf6_lsa_handler_name (struct ospf6_lsa_handler *h)
|
||||
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)",
|
||||
@ -860,15 +870,18 @@ DEFUN (debug_ospf6_lsa_type,
|
||||
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)",
|
||||
@ -913,27 +926,14 @@ DEFUN (no_debug_ospf6_lsa_type,
|
||||
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
|
||||
|
@ -2338,6 +2338,24 @@ ospf6_lsack_send_interface (struct thread *thread)
|
||||
|
||||
|
||||
/* 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)",
|
||||
@ -2393,24 +2411,28 @@ DEFUN (debug_ospf6_message,
|
||||
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)",
|
||||
@ -2467,24 +2489,6 @@ DEFUN (no_debug_ospf6_message,
|
||||
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)
|
||||
@ -2549,12 +2553,8 @@ install_element_ospf6_debug_message (void)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -827,6 +827,18 @@ ospf6_neighbor_show_detail (struct vty *vty, struct ospf6_neighbor *on)
|
||||
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",
|
||||
@ -870,16 +882,6 @@ DEFUN (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,
|
||||
@ -920,11 +922,20 @@ void
|
||||
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",
|
||||
@ -948,16 +959,19 @@ DEFUN (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",
|
||||
@ -982,16 +996,6 @@ DEFUN (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,
|
||||
@ -1054,14 +1058,10 @@ void
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -900,6 +900,18 @@ DEFUN (ospf6_timers_throttle_spf,
|
||||
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",
|
||||
@ -914,16 +926,6 @@ DEFUN (no_ospf6_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)
|
||||
@ -972,5 +974,4 @@ ospf6_spf_init (void)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
@ -423,6 +423,16 @@ DEFUN (ospf6_timers_lsa,
|
||||
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",
|
||||
@ -451,14 +461,6 @@ DEFUN (no_ospf6_timers_lsa,
|
||||
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,
|
||||
@ -774,6 +776,31 @@ DEFUN (show_ipv6_ospf6,
|
||||
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",
|
||||
@ -789,19 +816,19 @@ DEFUN (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",
|
||||
@ -837,29 +864,7 @@ DEFUN (show_ipv6_ospf6_route_match_detail,
|
||||
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,
|
||||
@ -965,18 +970,12 @@ ospf6_top_init (void)
|
||||
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);
|
||||
@ -989,7 +988,6 @@ ospf6_top_init (void)
|
||||
/* 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);
|
||||
|
@ -707,6 +707,15 @@ ospf6_zebra_init (struct thread_master *master)
|
||||
|
||||
/* 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)",
|
||||
@ -733,15 +742,18 @@ DEFUN (debug_ospf6_zebra_sendrecv,
|
||||
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)",
|
||||
@ -769,14 +781,6 @@ DEFUN (no_debug_ospf6_zebra_sendrecv,
|
||||
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)
|
||||
@ -796,12 +800,8 @@ 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);
|
||||
}
|
||||
|
1052
ospf6d/ospf6d.c
1052
ospf6d/ospf6d.c
File diff suppressed because it is too large
Load Diff
@ -404,6 +404,18 @@ DEFUN (ip_ospf_bfd_param,
|
||||
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",
|
||||
@ -427,16 +439,6 @@ DEFUN (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)
|
||||
@ -451,5 +453,4 @@ 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);
|
||||
}
|
||||
|
@ -814,6 +814,37 @@ 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
|
||||
* "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)",
|
||||
@ -830,38 +861,41 @@ DEFUN (debug_ospf_packet,
|
||||
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)",
|
||||
@ -885,39 +919,7 @@ DEFUN (debug_ospf_instance_packet,
|
||||
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,
|
||||
@ -982,6 +984,39 @@ 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)",
|
||||
@ -999,40 +1034,43 @@ DEFUN (no_debug_ospf_packet,
|
||||
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)",
|
||||
@ -1057,41 +1095,7 @@ DEFUN (no_debug_ospf_instance_packet,
|
||||
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
|
||||
@ -1130,6 +1134,17 @@ debug_ospf_ism_common (struct vty *vty, int arg_base, int argc, struct cmd_token
|
||||
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",
|
||||
@ -1140,16 +1155,19 @@ DEFUN (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",
|
||||
@ -1167,16 +1185,6 @@ DEFUN (debug_ospf_instance_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,
|
||||
@ -1214,6 +1222,18 @@ 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",
|
||||
@ -1225,17 +1245,20 @@ DEFUN (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",
|
||||
@ -1254,17 +1277,6 @@ DEFUN (no_debug_ospf_instance_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)
|
||||
@ -1302,6 +1314,17 @@ debug_ospf_nsm_common (struct vty *vty, int arg_base, int argc, struct cmd_token
|
||||
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",
|
||||
@ -1312,16 +1335,19 @@ DEFUN (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",
|
||||
@ -1339,16 +1365,6 @@ DEFUN (debug_ospf_instance_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)
|
||||
@ -1386,6 +1402,18 @@ no_debug_ospf_nsm_common (struct vty *vty, int arg_base, int argc, struct cmd_to
|
||||
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",
|
||||
@ -1397,17 +1425,20 @@ DEFUN (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",
|
||||
@ -1426,17 +1457,6 @@ DEFUN (no_debug_ospf_instance_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
|
||||
@ -1479,6 +1499,18 @@ debug_ospf_lsa_common (struct vty *vty, int arg_base, int argc, struct cmd_token
|
||||
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",
|
||||
@ -1489,17 +1521,20 @@ DEFUN (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",
|
||||
@ -1517,17 +1552,6 @@ DEFUN (debug_ospf_instance_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)
|
||||
@ -1569,6 +1593,19 @@ no_debug_ospf_lsa_common (struct vty *vty, int arg_base, int argc, struct cmd_to
|
||||
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",
|
||||
@ -1580,18 +1617,21 @@ DEFUN (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",
|
||||
@ -1610,18 +1650,6 @@ DEFUN (no_debug_ospf_instance_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
|
||||
@ -1656,6 +1684,16 @@ debug_ospf_zebra_common (struct vty *vty, int arg_base, int argc, struct cmd_tok
|
||||
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",
|
||||
@ -1666,15 +1704,18 @@ DEFUN (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",
|
||||
@ -1692,15 +1733,6 @@ DEFUN (debug_ospf_instance_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,
|
||||
@ -1735,6 +1767,17 @@ 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",
|
||||
@ -1746,16 +1789,19 @@ DEFUN (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",
|
||||
@ -1774,16 +1820,6 @@ DEFUN (no_debug_ospf_instance_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,
|
||||
@ -2286,116 +2322,68 @@ debug_init ()
|
||||
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);
|
||||
|
@ -763,6 +763,13 @@ out:
|
||||
* 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",
|
||||
@ -786,12 +793,15 @@ DEFUN (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",
|
||||
@ -816,20 +826,12 @@ DEFUN (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;
|
||||
}
|
||||
|
||||
|
@ -1174,6 +1174,13 @@ ospf_router_info_config_write_router (struct vty *vty)
|
||||
* 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",
|
||||
@ -1236,11 +1243,6 @@ DEFUN (router_info,
|
||||
|
||||
}
|
||||
|
||||
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,
|
||||
@ -1625,7 +1627,6 @@ ospf_router_info_register_vty (void)
|
||||
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);
|
||||
|
@ -703,6 +703,18 @@ DEFUN (match_ip_nexthop,
|
||||
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",
|
||||
@ -714,16 +726,6 @@ DEFUN (no_match_ip_nexthop,
|
||||
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,
|
||||
@ -738,6 +740,17 @@ DEFUN (match_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",
|
||||
@ -751,15 +764,6 @@ DEFUN (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,
|
||||
@ -774,6 +778,18 @@ DEFUN (match_ip_address,
|
||||
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",
|
||||
@ -785,16 +801,6 @@ DEFUN (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,
|
||||
@ -809,6 +815,17 @@ DEFUN (match_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",
|
||||
@ -822,15 +839,6 @@ DEFUN (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,
|
||||
@ -842,6 +850,15 @@ DEFUN (match_interface,
|
||||
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",
|
||||
@ -852,13 +869,6 @@ DEFUN (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,
|
||||
@ -870,6 +880,15 @@ DEFUN (match_tag,
|
||||
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",
|
||||
@ -880,13 +899,6 @@ DEFUN (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,
|
||||
@ -898,6 +910,15 @@ DEFUN (set_metric,
|
||||
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",
|
||||
@ -908,13 +929,6 @@ DEFUN (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,
|
||||
@ -932,6 +946,16 @@ DEFUN (set_metric_type,
|
||||
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",
|
||||
@ -942,14 +966,6 @@ DEFUN (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,
|
||||
@ -961,6 +977,15 @@ DEFUN (set_tag,
|
||||
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",
|
||||
@ -971,13 +996,6 @@ DEFUN (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
|
||||
@ -1003,30 +1021,21 @@ ospf_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);
|
||||
}
|
||||
|
@ -2297,6 +2297,14 @@ DEFUN (ospf_mpls_te_on,
|
||||
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",
|
||||
@ -2325,12 +2333,6 @@ DEFUN (no_ospf_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,
|
||||
@ -2655,7 +2657,6 @@ ospf_mpls_te_register_vty (void)
|
||||
|
||||
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);
|
||||
|
2141
ospfd/ospf_vty.c
2141
ospfd/ospf_vty.c
File diff suppressed because it is too large
Load Diff
233
pimd/pim_cmd.c
233
pimd/pim_cmd.c
@ -3531,6 +3531,16 @@ DEFUN (interface_no_ip_mroute_source,
|
||||
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>",
|
||||
@ -3558,14 +3568,6 @@ DEFUN (interface_ip_pim_hello,
|
||||
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,
|
||||
@ -3607,6 +3609,13 @@ DEFUN (debug_igmp,
|
||||
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",
|
||||
@ -3620,11 +3629,6 @@ DEFUN (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,
|
||||
@ -3637,6 +3641,14 @@ DEFUN (debug_igmp_events,
|
||||
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",
|
||||
@ -3649,12 +3661,6 @@ DEFUN (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,
|
||||
@ -3667,6 +3673,14 @@ DEFUN (debug_igmp_packets,
|
||||
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",
|
||||
@ -3679,12 +3693,6 @@ DEFUN (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,
|
||||
@ -3697,6 +3705,14 @@ DEFUN (debug_igmp_trace,
|
||||
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",
|
||||
@ -3709,12 +3725,6 @@ DEFUN (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,
|
||||
@ -3726,6 +3736,13 @@ DEFUN (debug_mroute,
|
||||
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",
|
||||
@ -3737,11 +3754,6 @@ DEFUN (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,
|
||||
@ -3753,6 +3765,13 @@ DEFUN (debug_static,
|
||||
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",
|
||||
@ -3764,11 +3783,6 @@ DEFUN (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,
|
||||
@ -3782,6 +3796,13 @@ DEFUN (debug_pim,
|
||||
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",
|
||||
@ -3799,11 +3820,6 @@ DEFUN (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,
|
||||
@ -3816,6 +3832,14 @@ DEFUN (debug_pim_events,
|
||||
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",
|
||||
@ -3828,12 +3852,6 @@ DEFUN (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,
|
||||
@ -3869,6 +3887,14 @@ DEFUN (debug_pim_packets_filter,
|
||||
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",
|
||||
@ -3907,12 +3933,6 @@ DEFUN (no_debug_pim_packets_filter,
|
||||
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,
|
||||
@ -3926,6 +3946,15 @@ DEFUN (debug_pim_packetdump_send,
|
||||
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",
|
||||
@ -3939,13 +3968,6 @@ DEFUN (no_debug_pim_packetdump_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,
|
||||
@ -3959,6 +3981,15 @@ DEFUN (debug_pim_packetdump_recv,
|
||||
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",
|
||||
@ -3972,13 +4003,6 @@ DEFUN (no_debug_pim_packetdump_recv,
|
||||
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,
|
||||
@ -3991,6 +4015,14 @@ DEFUN (debug_pim_trace,
|
||||
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",
|
||||
@ -4003,12 +4035,6 @@ DEFUN (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,
|
||||
@ -4021,6 +4047,14 @@ DEFUN (debug_ssmpingd,
|
||||
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",
|
||||
@ -4033,12 +4067,6 @@ DEFUN (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,
|
||||
@ -4051,6 +4079,14 @@ DEFUN (debug_pim_zebra,
|
||||
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",
|
||||
@ -4063,12 +4099,6 @@ DEFUN (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,
|
||||
@ -4901,7 +4931,6 @@ void pim_cmd_init()
|
||||
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
|
||||
@ -4991,81 +5020,59 @@ void pim_cmd_init()
|
||||
|
||||
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);
|
||||
}
|
||||
|
@ -1393,6 +1393,18 @@ DEFUN (ip_rip_receive_version_2,
|
||||
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",
|
||||
@ -1412,16 +1424,6 @@ DEFUN (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,
|
||||
@ -1495,6 +1497,18 @@ DEFUN (ip_rip_send_version_2,
|
||||
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",
|
||||
@ -1514,17 +1528,21 @@ DEFUN (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)",
|
||||
@ -1582,19 +1600,31 @@ DEFUN (ip_rip_authentication_mode,
|
||||
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",
|
||||
@ -1616,30 +1646,7 @@ DEFUN (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,
|
||||
@ -1677,6 +1684,17 @@ DEFUN (ip_rip_authentication_string,
|
||||
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",
|
||||
@ -1700,15 +1718,6 @@ DEFUN (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,
|
||||
@ -1740,6 +1749,17 @@ DEFUN (ip_rip_authentication_key_chain,
|
||||
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",
|
||||
@ -1763,15 +1783,6 @@ DEFUN (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
|
||||
@ -2098,27 +2109,20 @@ rip_if_init (void)
|
||||
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);
|
||||
|
@ -735,7 +735,7 @@ static struct route_map_rule_cmd route_set_tag_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
|
||||
@ -745,6 +745,15 @@ DEFUN (match_metric,
|
||||
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",
|
||||
@ -755,13 +764,6 @@ DEFUN (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,
|
||||
@ -773,6 +775,15 @@ DEFUN (match_interface,
|
||||
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",
|
||||
@ -783,13 +794,6 @@ DEFUN (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,
|
||||
@ -804,6 +808,18 @@ DEFUN (match_ip_next_hop,
|
||||
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",
|
||||
@ -815,16 +831,6 @@ DEFUN (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,
|
||||
@ -838,6 +844,17 @@ DEFUN (match_ip_next_hop_prefix_list,
|
||||
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",
|
||||
@ -850,15 +867,6 @@ DEFUN (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,
|
||||
@ -874,7 +882,19 @@ DEFUN (match_ip_address,
|
||||
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
|
||||
@ -885,18 +905,8 @@ DEFUN (no_match_ip_address,
|
||||
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
|
||||
@ -908,6 +918,17 @@ DEFUN (match_ip_address_prefix_list,
|
||||
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",
|
||||
@ -920,17 +941,8 @@ DEFUN (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
|
||||
@ -940,6 +952,15 @@ DEFUN (match_tag,
|
||||
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",
|
||||
@ -950,16 +971,17 @@ DEFUN (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>",
|
||||
@ -970,13 +992,22 @@ DEFUN (set_metric,
|
||||
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",
|
||||
@ -987,21 +1018,7 @@ DEFUN (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,
|
||||
@ -1031,6 +1048,16 @@ DEFUN (set_ip_nexthop,
|
||||
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",
|
||||
@ -1042,14 +1069,6 @@ DEFUN (no_set_ip_nexthop,
|
||||
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,
|
||||
@ -1061,6 +1080,15 @@ DEFUN (set_tag,
|
||||
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",
|
||||
@ -1071,13 +1099,6 @@ DEFUN (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 ()
|
||||
@ -1108,35 +1129,23 @@ rip_route_map_init ()
|
||||
|
||||
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);
|
||||
}
|
||||
|
51
ripd/ripd.c
51
ripd/ripd.c
@ -2962,6 +2962,14 @@ DEFUN (rip_version,
|
||||
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",
|
||||
@ -2975,12 +2983,6 @@ DEFUN (no_rip_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,
|
||||
@ -3085,6 +3087,14 @@ DEFUN (rip_default_metric,
|
||||
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",
|
||||
@ -3100,12 +3110,6 @@ DEFUN (no_rip_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,
|
||||
@ -3155,6 +3159,17 @@ DEFUN (rip_timers,
|
||||
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",
|
||||
@ -3173,15 +3188,6 @@ DEFUN (no_rip_timers,
|
||||
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;
|
||||
@ -4156,13 +4162,10 @@ rip_init (void)
|
||||
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);
|
||||
|
@ -1038,6 +1038,16 @@ DEFUN (ipv6_ripng_split_horizon_poisoned_reverse,
|
||||
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",
|
||||
@ -1056,14 +1066,6 @@ DEFUN (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,
|
||||
@ -1210,5 +1212,4 @@ ripng_if_init ()
|
||||
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);
|
||||
}
|
||||
|
@ -500,7 +500,7 @@ static struct route_map_rule_cmd route_set_tag_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
|
||||
@ -510,6 +510,15 @@ DEFUN (match_metric,
|
||||
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",
|
||||
@ -520,13 +529,6 @@ DEFUN (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,
|
||||
@ -538,6 +540,15 @@ DEFUN (match_interface,
|
||||
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",
|
||||
@ -548,13 +559,6 @@ DEFUN (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,
|
||||
@ -566,6 +570,15 @@ DEFUN (match_tag,
|
||||
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",
|
||||
@ -576,13 +589,6 @@ DEFUN (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 */
|
||||
|
||||
@ -596,6 +602,15 @@ DEFUN (set_metric,
|
||||
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",
|
||||
@ -606,13 +621,6 @@ DEFUN (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,
|
||||
@ -642,6 +650,17 @@ DEFUN (set_ipv6_nexthop_local,
|
||||
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",
|
||||
@ -654,15 +673,6 @@ DEFUN (no_set_ipv6_nexthop_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,
|
||||
@ -674,6 +684,15 @@ DEFUN (set_tag,
|
||||
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",
|
||||
@ -684,13 +703,6 @@ DEFUN (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 ()
|
||||
@ -715,21 +727,15 @@ ripng_route_map_init ()
|
||||
|
||||
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);
|
||||
}
|
||||
|
@ -345,6 +345,30 @@ DEFUN (ripng_redistribute_type,
|
||||
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,
|
||||
@ -394,14 +418,6 @@ DEFUN (ripng_redistribute_type_metric,
|
||||
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,
|
||||
@ -427,14 +443,6 @@ DEFUN (ripng_redistribute_type_routemap,
|
||||
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,
|
||||
@ -464,14 +472,6 @@ DEFUN (ripng_redistribute_type_metric_routemap,
|
||||
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)
|
||||
@ -582,7 +582,4 @@ zebra_init (struct thread_master *master)
|
||||
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);
|
||||
}
|
||||
|
@ -2400,6 +2400,14 @@ DEFUN (ripng_default_metric,
|
||||
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",
|
||||
@ -2414,12 +2422,6 @@ DEFUN (no_ripng_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. */
|
||||
@ -2552,6 +2554,17 @@ DEFUN (ripng_timers,
|
||||
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",
|
||||
@ -2570,15 +2583,6 @@ DEFUN (no_ripng_timers,
|
||||
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,
|
||||
@ -3110,11 +3114,9 @@ ripng_init ()
|
||||
|
||||
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);
|
||||
|
@ -1249,13 +1249,6 @@ DEFUN_NOSH (zebra_interface,
|
||||
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)
|
||||
{
|
||||
@ -1305,6 +1298,14 @@ struct cmd_node vrf_node =
|
||||
};
|
||||
|
||||
/* 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",
|
||||
@ -1327,12 +1328,6 @@ DEFUN (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,
|
||||
@ -1388,6 +1383,14 @@ DEFUN (show_interface_name_vrf,
|
||||
}
|
||||
|
||||
/* 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,
|
||||
@ -1423,11 +1426,6 @@ DEFUN (show_interface_name_vrf_all,
|
||||
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)
|
||||
@ -1469,6 +1467,15 @@ 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",
|
||||
@ -1486,13 +1493,6 @@ DEFUN (show_interface_desc,
|
||||
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,
|
||||
@ -1700,6 +1700,14 @@ DEFUN (bandwidth_if,
|
||||
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",
|
||||
@ -1719,12 +1727,6 @@ DEFUN (no_bandwidth_if,
|
||||
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 =
|
||||
{
|
||||
@ -2086,6 +2088,17 @@ DEFUN (no_link_params_inter_as,
|
||||
}
|
||||
|
||||
/* 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>",
|
||||
@ -2169,15 +2182,6 @@ DEFUN (link_params_delay,
|
||||
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,
|
||||
@ -2946,22 +2950,16 @@ zebra_if_init (void)
|
||||
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);
|
||||
@ -2975,7 +2973,6 @@ zebra_if_init (void)
|
||||
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
|
||||
@ -2998,7 +2995,6 @@ zebra_if_init (void)
|
||||
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);
|
||||
|
@ -214,6 +214,14 @@ router_id_write (struct vty *vty)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* 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",
|
||||
@ -238,13 +246,21 @@ DEFUN (router_id,
|
||||
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",
|
||||
@ -266,20 +282,7 @@ DEFUN (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)
|
||||
@ -295,9 +298,6 @@ router_id_cmd_init (void)
|
||||
{
|
||||
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
|
||||
|
727
zebra/rtadv.c
727
zebra/rtadv.c
@ -985,6 +985,22 @@ DEFUN (ipv6_nd_ra_interval,
|
||||
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",
|
||||
@ -1013,22 +1029,7 @@ DEFUN (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,
|
||||
@ -1062,6 +1063,16 @@ DEFUN (ipv6_nd_ra_lifetime,
|
||||
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",
|
||||
@ -1081,14 +1092,6 @@ DEFUN (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,
|
||||
@ -1104,6 +1107,16 @@ DEFUN (ipv6_nd_reachable_time,
|
||||
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",
|
||||
@ -1123,14 +1136,6 @@ DEFUN (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,
|
||||
@ -1146,6 +1151,16 @@ DEFUN (ipv6_nd_homeagent_preference,
|
||||
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",
|
||||
@ -1165,14 +1180,6 @@ DEFUN (no_ipv6_nd_homeagent_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,
|
||||
@ -1188,6 +1195,16 @@ DEFUN (ipv6_nd_homeagent_lifetime,
|
||||
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",
|
||||
@ -1207,14 +1224,6 @@ DEFUN (no_ipv6_nd_homeagent_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,
|
||||
@ -1364,6 +1373,139 @@ DEFUN (no_ipv6_nd_other_config_flag,
|
||||
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|)",
|
||||
@ -1445,162 +1587,152 @@ DEFUN (ipv6_nd_prefix,
|
||||
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",
|
||||
@ -1636,159 +1768,17 @@ DEFUN (no_ipv6_nd_prefix,
|
||||
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,
|
||||
@ -1820,6 +1810,18 @@ DEFUN (ipv6_nd_router_preference,
|
||||
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",
|
||||
@ -1839,16 +1841,6 @@ DEFUN (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,
|
||||
@ -1864,6 +1856,16 @@ DEFUN (ipv6_nd_mtu,
|
||||
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",
|
||||
@ -1878,14 +1880,6 @@ DEFUN (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
|
||||
@ -2052,14 +2046,10 @@ rtadv_cmd_init (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);
|
||||
@ -2068,45 +2058,16 @@ rtadv_cmd_init (void)
|
||||
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
|
||||
|
@ -305,6 +305,15 @@ DEFUN (match_interface,
|
||||
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",
|
||||
@ -318,13 +327,6 @@ DEFUN (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,
|
||||
@ -337,6 +339,14 @@ DEFUN (match_tag,
|
||||
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",
|
||||
@ -352,12 +362,6 @@ DEFUN (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,
|
||||
@ -372,6 +376,18 @@ DEFUN (match_ip_next_hop,
|
||||
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",
|
||||
@ -388,16 +404,6 @@ DEFUN (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,
|
||||
@ -412,6 +418,17 @@ DEFUN (match_ip_next_hop_prefix_list,
|
||||
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",
|
||||
@ -431,15 +448,6 @@ DEFUN (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,
|
||||
@ -456,7 +464,19 @@ DEFUN (match_ip_address,
|
||||
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
|
||||
@ -472,18 +492,8 @@ DEFUN (no_match_ip_address,
|
||||
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
|
||||
@ -496,6 +506,17 @@ DEFUN (match_ip_address_prefix_list,
|
||||
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",
|
||||
@ -515,15 +536,6 @@ DEFUN (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,
|
||||
@ -538,6 +550,16 @@ DEFUN (match_ip_address_prefix_len,
|
||||
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",
|
||||
@ -557,14 +579,6 @@ DEFUN (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,
|
||||
@ -579,6 +593,14 @@ DEFUN (match_ip_nexthop_prefix_len,
|
||||
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",
|
||||
@ -598,12 +620,6 @@ DEFUN (no_match_ip_nexthop_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,
|
||||
@ -736,6 +752,15 @@ DEFUN (zebra_route_map_timer,
|
||||
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",
|
||||
@ -748,13 +773,6 @@ DEFUN (no_zebra_route_map_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,
|
||||
@ -793,6 +811,16 @@ DEFUN (ip_protocol,
|
||||
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,
|
||||
@ -831,14 +859,6 @@ DEFUN (no_ip_protocol,
|
||||
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,
|
||||
@ -906,6 +926,16 @@ DEFUN (ipv6_protocol,
|
||||
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,
|
||||
@ -945,14 +975,6 @@ DEFUN (no_ipv6_protocol,
|
||||
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,
|
||||
@ -1017,6 +1039,15 @@ DEFUN (ip_protocol_nht_rmap,
|
||||
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,
|
||||
@ -1050,13 +1081,6 @@ DEFUN (no_ip_protocol_nht_rmap,
|
||||
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,
|
||||
@ -1115,6 +1139,16 @@ DEFUN (ipv6_protocol_nht_rmap,
|
||||
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,
|
||||
@ -1153,14 +1187,6 @@ DEFUN (no_ipv6_protocol_nht_rmap,
|
||||
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,
|
||||
@ -1816,27 +1842,22 @@ zebra_route_map_init ()
|
||||
{
|
||||
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 ();
|
||||
@ -1859,28 +1880,20 @@ zebra_route_map_init ()
|
||||
/* */
|
||||
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);
|
||||
/* */
|
||||
|
@ -181,6 +181,16 @@ zebra_static_ipv4 (struct vty *vty, safi_t safi, int add_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>",
|
||||
@ -194,15 +204,18 @@ DEFUN (ip_mroute_dist,
|
||||
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>",
|
||||
@ -216,15 +229,6 @@ DEFUN (no_ip_mroute_dist,
|
||||
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,
|
||||
@ -258,6 +262,15 @@ DEFUN (ip_multicast_mode,
|
||||
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)",
|
||||
@ -275,13 +288,6 @@ DEFUN (no_ip_multicast_mode,
|
||||
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,
|
||||
@ -324,7 +330,7 @@ DEFUN (show_ip_rpf_addr,
|
||||
}
|
||||
|
||||
/* 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
|
||||
@ -716,7 +722,20 @@ DEFUN (ip_route_mask_flags_tag_distance2,
|
||||
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
|
||||
@ -731,6 +750,21 @@ DEFUN (no_ip_route,
|
||||
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>",
|
||||
@ -748,31 +782,7 @@ DEFUN (no_ip_route_tag,
|
||||
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,
|
||||
@ -804,6 +814,20 @@ DEFUN (no_ip_route_flags2_tag,
|
||||
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)",
|
||||
@ -820,6 +844,22 @@ DEFUN (no_ip_route_mask,
|
||||
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>",
|
||||
@ -838,33 +878,7 @@ DEFUN (no_ip_route_mask_tag,
|
||||
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,
|
||||
@ -1109,7 +1123,7 @@ DEFUN (no_ip_route_mask_flags_tag_distance2,
|
||||
}
|
||||
|
||||
/* 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
|
||||
@ -1501,7 +1515,7 @@ DEFUN (ip_route_mask_flags_tag_distance2_vrf,
|
||||
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
|
||||
@ -2436,6 +2450,15 @@ DEFUN (show_ip_route_vrf,
|
||||
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",
|
||||
@ -2452,13 +2475,6 @@ DEFUN (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,
|
||||
@ -2481,6 +2497,15 @@ DEFUN (show_ip_nht_vrf_all,
|
||||
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",
|
||||
@ -2497,13 +2522,6 @@ DEFUN (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,
|
||||
@ -2588,6 +2606,17 @@ DEFUN (no_ipv6_nht_default_route,
|
||||
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>",
|
||||
@ -2633,16 +2662,18 @@ DEFUN (show_ip_route_tag,
|
||||
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",
|
||||
@ -2693,16 +2724,17 @@ DEFUN (show_ip_route_prefix_longer,
|
||||
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",
|
||||
@ -2746,15 +2778,17 @@ DEFUN (show_ip_route_supernets,
|
||||
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,
|
||||
@ -2803,14 +2837,6 @@ DEFUN (show_ip_route_protocol,
|
||||
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,
|
||||
@ -2848,6 +2874,16 @@ DEFUN (show_ip_route_ospf_instance,
|
||||
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",
|
||||
@ -2894,15 +2930,17 @@ DEFUN (show_ip_route_addr,
|
||||
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",
|
||||
@ -2949,14 +2987,6 @@ DEFUN (show_ip_route_prefix,
|
||||
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)
|
||||
@ -3108,6 +3138,16 @@ vty_show_ip_route_summary_prefix (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",
|
||||
@ -3131,16 +3171,19 @@ DEFUN (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",
|
||||
@ -3165,15 +3208,6 @@ DEFUN (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,
|
||||
@ -4740,6 +4774,15 @@ DEFUN (no_ipv6_route_ifname_flags_pref_tag_vrf,
|
||||
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}",
|
||||
@ -4834,14 +4877,18 @@ DEFUN (show_ipv6_route,
|
||||
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>",
|
||||
@ -4887,16 +4934,18 @@ DEFUN (show_ipv6_route_tag,
|
||||
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",
|
||||
@ -4947,16 +4996,17 @@ DEFUN (show_ipv6_route_prefix_longer,
|
||||
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,
|
||||
@ -5005,15 +5055,17 @@ DEFUN (show_ipv6_route_protocol,
|
||||
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",
|
||||
@ -5060,15 +5112,17 @@ DEFUN (show_ipv6_route_addr,
|
||||
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",
|
||||
@ -5115,16 +5169,18 @@ DEFUN (show_ipv6_route_prefix,
|
||||
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",
|
||||
@ -5148,16 +5204,19 @@ DEFUN (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",
|
||||
@ -5182,21 +5241,21 @@ DEFUN (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",
|
||||
@ -5231,13 +5290,6 @@ DEFUN (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,
|
||||
@ -5738,6 +5790,14 @@ zebra_ip_config (struct vty *vty)
|
||||
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>",
|
||||
@ -5773,13 +5833,17 @@ DEFUN (ip_zebra_import_table_distance,
|
||||
|
||||
}
|
||||
|
||||
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",
|
||||
@ -5823,15 +5887,16 @@ DEFUN (ip_zebra_import_table_distance_routemap,
|
||||
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}",
|
||||
@ -5865,13 +5930,6 @@ DEFUN (no_ip_zebra_import_table,
|
||||
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)
|
||||
@ -5914,13 +5972,10 @@ zebra_vty_init (void)
|
||||
|
||||
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);
|
||||
@ -5935,14 +5990,10 @@ zebra_vty_init (void)
|
||||
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);
|
||||
@ -5969,22 +6020,17 @@ zebra_vty_init (void)
|
||||
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);
|
||||
@ -5998,10 +6044,8 @@ zebra_vty_init (void)
|
||||
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);
|
||||
@ -6068,23 +6112,7 @@ zebra_vty_init (void)
|
||||
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);
|
||||
@ -6198,22 +6226,6 @@ zebra_vty_init (void)
|
||||
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);
|
||||
@ -6232,8 +6244,6 @@ zebra_vty_init (void)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user