From 813d4307f91165d25588408cc1e8f1f729e3e24e Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Mon, 23 Nov 2015 18:05:03 +0000 Subject: Should be able to "no" the full text of any config line Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-5816 --- ospf6d/ospf6_interface.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ospf6d/ospf6_interface.c') diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 4b7745a625..3bc6ded437 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1370,6 +1370,14 @@ 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, "ipv6 ospf6 hello-interval <1-65535>", @@ -1933,6 +1941,7 @@ 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 */ -- cgit v1.2.3