459
no router ospf [process <id>]
Disables OSPF routing protocol
14.6.3 Command For OSPF
14.6.3.1 area authentication
Command: area <id> authentication [message-digest]
no area <id> authentication
Function:
Configure the authentication mode of the OSPF area; the “
no area <id>
authentication
” command restores the default value.
Parameter: <id>
is the area number which could be shown in digit, ranging between 0
~
4294967295, or in IP address.
Default:
No authentication
Command Mode:
OSPF protocol mode
Usage Guide:
Set the authentication mode to plaintext authentication or MD5
authentication. The authentication mode is also configurable under interface mode of
which the priority is higher than those in the area. It is required to use ip ospf
authentication-key to set the password while no authentication mode configured at the
interface and the area is plaintext authentication., and use ip sopf message-digest. key
command to configure MD5 key if is MD5 authentication. The are authentication mode
could not affect the authentication mode of the interface in this area.
Example:
Set the authentication mode in area 0 to MD5.
Switch(config-router)#area 0 authentication message-digest
14.6.3.2 area default cost
Command: area <id> default-cost <cost>
no area <id> default-cost
Function:
Configure the cost of sending to the default summary route in stub or NSSA
area; the “
no area <id> default-cost
” command restores the default value.
Parameter: <id>
is the area number which could be shown as digits 0
~
4294967295, or
as an IP address;
<cost>
ranges between <0-16777215>
Default:
Default OSPF cost is 1
Command Mode:
OSPF protocol mode
Usage Guide:
The command is only adaptive to the ABR router connected to the stub
area or NSSA area.
Example:
Set the default-cost of area 1 to 10
Switch(config-router)#area 1 default-cost 10