
105
Relevant Commands: ip ospf dead-interval
1.6.3.22 ip ospf message-digest-key
Command: ip ospf [<ip-address>] message-digest-key
<key_id> MD5 <LINE>
no ip ospf [<ip-address>] message-digest-key <key_id>
Function:
Specify the key id and value of MD5 authentication on the interface; the “
no ip ospf
[<ip-address>] message-digest-key <key_id>
“ restores the default value.
Parameter: <ip-address>
is the interface IP address show in dotted decimal notation;
<key_id>
ranges between 1-255;
<LINE>
is the OSPF key.
Default:
MD5 key not configured.
Command Mode:
Interface Mode.
Usage Guide:
MD5 key encrypted authentication is used for ensure the safety between the
OSPF routers on the network. Same key id and key should be configured between neighbors
when using this command or else no adjacent relationship will not be created. The last
configuration of this command will overwrite the previous one to prevent the system from
communicating with the former key id.
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf message-digest-key 2 MD5 yourpassword
1.6.3.23 ip ospf mtu
Command: ip ospf mtu <mtu>
no ip ospf mtu
Function:
Specify the mtu value of the interface as the OSPF group structure according; the “
no
ip ospf mtu
” command restores the default value.
Parameter: <mtu>
is the interface mtu value ranging between 576~65535.
Default:
Use the interface mtu acquired from the kernel.
Command Mode:
Interface Mode.
Usage Guide:
The interface value configured by this command is only used by OSPF protocol
other than updated into kernel.
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf mtu 1480
1.6.3.24 ip ospf mtu-ignore