OSPF Interface Configuration
© Copyright Lenovo 2017
The following table describes the OSPF Interface commands.
Table 269.
OSPF Interface Configuration Options
Command Syntax and Usage
ip ospf area <0‐5>
Configures the OSPF area index.
Command mode: Interface IP
ip ospf cost <1‐65535>
Configures cost set for the selected path—preferred or backup. Usually the
cost is inversely proportional to the bandwidth of the interface. Low cost
indicates high bandwidth.
Command mode: Interface IP
ip ospf deadinterval <1‐65535>
ip ospf deadinterval <1000‐65535 ms>
Configures the health parameters of a hello packet, in seconds or
milliseconds, before declaring a silent router to be down.
Command mode: Interface IP
[no] ip ospf enable
Enables or disables the OSPF interface.
Command mode: Interface IP
ip ospf hellointerval <1‐65535>
ip ospf hellointerval <50‐65535 ms>
Configures the interval, in seconds or milliseconds, between the hello
packets for the interfaces.
Command mode: Interface IP
ip ospf key <key string>
Sets the authentication key to clear the password.
Command mode: Interface IP
no ip ospf key
Removes the authentification key to clear the password.
Command mode: Interface IP
ip ospf messagedigestkey <1‐255>
Assigns an MD5 key to the interface.
Command mode: Interface IP
no ip ospf messagedigestkey
Removes the MD5 key form the interface.
Command mode: Interface IP
Chapter 4: Configuration Commands
489