Next: , Previous: OSPF area, Up: OSPFv2



7.4 OSPF interface

— Interface Command: ip ospf authentication-key AUTH_KEY
— Interface Command: no ip ospf authentication-key

Set OSPF authentication key to a simple password. After setting AUTH_KEY, all OSPF packets are authenticated. AUTH_KEY has length up to 8 chars.

— Interface Command: ip ospf message-digest-key KEYID md5 KEY
— Interface Command: no ip ospf message-digest-key

Set OSPF authentication key to a cryptographic password. The cryptographic algorithm is MD5. KEYID identifies secret key used to create the message digest. KEY is the actual message digest key up to 16 chars. Note that OSPF MD5 authentication requires that time never go backwards, even across resets, if ospfd is to be able to promptly reestabish adjacencies with it's neighbours after restarts/reboots. The host should have system time be set at boot from an external source (eg battery backed clock, NTP, etc.) if MD5 authentication is to be expected to work reliably.

— Interface Command: ip ospf cost <1-65535>
— Interface Command: no ip ospf cost

Set link cost for the specified interface. The cost value is set to router-LSA's metric field and used for SPF calculation.

— Interface Command: ip ospf dead-interval <1-65535>
— Interface Command: no ip ospf dead-interval

Set number of seconds for RouterDeadInterval timer value used for Wait Timer and Inactivity Timer. This value must be the same for all routers attached to a common network. The default value is 40 seconds.

— Interface Command: ip ospf hello-interval <1-65535>
— Interface Command: no ip ospf hello-interval

Set number of seconds for HelloInterval timer value. Setting this value, Hello packet will be sent every timer value seconds on the specified interface. This value must be the same for all routers attached to a common network. The default value is 10 seconds.

— Interface Command: ip ospf network (broadcast|non-broadcast|point-to-multipoint|point-to-point)
— Interface Command: no ip ospf network

Set explicitly network type for specifed interface.

— Interface Command: ip ospf priority <0-255>
— Interface Command: no ip ospf priority

Set RouterPriority integer value. Setting higher value, router will be more eligible to become Designated Router. Setting the value to 0, router is no longer eligible to Designated Router. The default value is 1.

— Interface Command: ip ospf retransmit-interval <1-65535>
— Interface Command: no ip ospf retransmit interval

Set number of seconds for RxmtInterval timer value. This value is used when retransmitting Database Description and Link State Request packets. The default value is 5 seconds.

— Interface Command: ip ospf transmit-delay
— Interface Command: no ip ospf transmit-delay

Set number of seconds for InfTransDelay value. LSAs' age should be incremented by this value when transmitting. The default value is 1 seconds.