DEFUN (rip_redistribute_type,
rip_redistribute_type_cmd,
- "redistribute (kernel|connected|static|ospf|bgp)",
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n")
+ "redistribute " QUAGGA_REDIST_STR_RIPD,
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD)
{
int i;
DEFUN (no_rip_redistribute_type,
no_rip_redistribute_type_cmd,
- "no redistribute (kernel|connected|static|ospf|bgp)",
+ "no redistribute " QUAGGA_REDIST_STR_RIPD,
NO_STR
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n")
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD)
{
int i;
DEFUN (rip_redistribute_type_routemap,
rip_redistribute_type_routemap_cmd,
- "redistribute (kernel|connected|static|ospf|bgp) route-map WORD",
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n"
+ "redistribute " QUAGGA_REDIST_STR_RIPD " route-map WORD",
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD
"Route map reference\n"
"Pointer to route-map entries\n")
{
DEFUN (no_rip_redistribute_type_routemap,
no_rip_redistribute_type_routemap_cmd,
- "no redistribute (kernel|connected|static|ospf|bgp) route-map WORD",
+ "no redistribute " QUAGGA_REDIST_STR_RIPD " route-map WORD",
NO_STR
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n"
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD
"Route map reference\n"
"Pointer to route-map entries\n")
{
DEFUN (rip_redistribute_type_metric,
rip_redistribute_type_metric_cmd,
- "redistribute (kernel|connected|static|ospf|bgp) metric <0-16>",
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n"
+ "redistribute " QUAGGA_REDIST_STR_RIPD " metric <0-16>",
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD
"Metric\n"
"Metric value\n")
{
DEFUN (no_rip_redistribute_type_metric,
no_rip_redistribute_type_metric_cmd,
- "no redistribute (kernel|connected|static|ospf|bgp) metric <0-16>",
+ "no redistribute " QUAGGA_REDIST_STR_RIPD " metric <0-16>",
NO_STR
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n"
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD
"Metric\n"
"Metric value\n")
{
DEFUN (rip_redistribute_type_metric_routemap,
rip_redistribute_type_metric_routemap_cmd,
- "redistribute (kernel|connected|static|ospf|bgp) metric <0-16> route-map WORD",
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n"
+ "redistribute " QUAGGA_REDIST_STR_RIPD " metric <0-16> route-map WORD",
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD
"Metric\n"
"Metric value\n"
"Route map reference\n"
DEFUN (no_rip_redistribute_type_metric_routemap,
no_rip_redistribute_type_metric_routemap_cmd,
- "no redistribute (kernel|connected|static|ospf|bgp) metric <0-16> route-map WORD",
+ "no redistribute " QUAGGA_REDIST_STR_RIPD
+ " metric <0-16> route-map WORD",
NO_STR
- "Redistribute information from another routing protocol\n"
- "Kernel routes\n"
- "Connected\n"
- "Static routes\n"
- "Open Shortest Path First (OSPF)\n"
- "Border Gateway Protocol (BGP)\n"
+ REDIST_STR
+ QUAGGA_REDIST_HELP_STR_RIPD
"Metric\n"
"Metric value\n"
"Route map reference\n"