IP6_STR
OSPF6_STR
"Interface cost\n"
- "Outgoing metric of this interface\n"
- )
+ "Outgoing metric of this interface\n")
{
VTY_DECLVAR_CONTEXT(interface, ifp);
int idx_number = 3;
DEFUN (no_ipv6_ospf6_cost,
no_ipv6_ospf6_cost_cmd,
- "no ipv6 ospf6 cost",
+ "no ipv6 ospf6 cost [(1-65535)]",
NO_STR
IP6_STR
OSPF6_STR
"Calculate interface cost from bandwidth\n"
- )
+ "Outgoing metric of this interface\n")
{
VTY_DECLVAR_CONTEXT(interface, ifp);
struct ospf6_interface *oi;
DEFUN (no_ipv6_ospf6_network,
no_ipv6_ospf6_network_cmd,
- "no ipv6 ospf6 network",
+ "no ipv6 ospf6 network [<broadcast|point-to-point>]",
NO_STR
IP6_STR
OSPF6_STR
- "Set default network type\n")
+ "Set default network type\n"
+ "Specify OSPF6 broadcast network\n"
+ "Specify OSPF6 point-to-point network\n")
{
VTY_DECLVAR_CONTEXT(interface, ifp);
struct ospf6_interface *oi;
DEFUN (ospf_area_authentication_message_digest,
ospf_area_authentication_message_digest_cmd,
- "area <A.B.C.D|(0-4294967295)> authentication message-digest",
+ "[no] area <A.B.C.D|(0-4294967295)> authentication message-digest",
+ NO_STR
"OSPF area parameters\n"
"OSPF area ID in IP address format\n"
"OSPF area ID as a decimal value\n"
area = ospf_area_get(ospf, area_id);
ospf_area_display_format_set(ospf, area, format);
- area->auth_type = OSPF_AUTH_CRYPTOGRAPHIC;
+ area->auth_type = strmatch(argv[0]->text, "no") ? OSPF_AUTH_NULL : OSPF_AUTH_CRYPTOGRAPHIC;
return CMD_SUCCESS;
}
DEFUN_HIDDEN (no_ospf_transmit_delay,
no_ospf_transmit_delay_cmd,
- "no ospf transmit-delay",
+ "no ospf transmit-delay [(1-65535) [A.B.C.D]]",
NO_STR
"OSPF interface commands\n"
- "Link state transmit delay\n")
+ "Link state transmit delay\n"
+ "Seconds\n"
+ "Address of interface")
{
return no_ip_ospf_transmit_delay(self, vty, argc, argv);
}