ip ospf authentication-key
Mode
Interface configuration: G3
Example
This example shows how to set the dead interval to 20 for the VLAN 1 interface:
G3(su)->router(Config)#interface vlan 1
G3(su)->router(Config-if(Vlan 1))#ip ospf dead-interval 20
ip ospf authentication-key
Use this command to assign a password to be used by neighboring routers using OSPF's simple
password authentication.The no form of this command removes an OSPF authentication
password on an interface.
Syntax
ip ospf authentication-key password
no ip ospf authentication-key
Parameters
password
Defaults
None.
Mode
Interface configuration: G3
Usage
This password is used as a "key" that is inserted directly into the OSPF header in routing protocol
packets. A separate password can be assigned to each OSPF network on a per‐interface basis.
All neighboring routers on the same network must have the same password configured to be able
to exchange OSPF information.
Example
This example shows how to enables an OSPF authentication key on the VLAN 1 interface with the
password "yourpass":
G3(su)->router(Config)#interface vlan 1
G3(su)->router(Config-if(Vlan 1))#ip ospf authentication-key yourpass
ip ospf message digest key md5
Use this command to enable or disable OSPF MD5 authentication on an interface. This validates
OSPF MD5 routing updates between neighboring routers. The no form of this command disables
MD5 authentication on an interface.
16-18 IPv4 Routing Protocol Configuration
(su)‐>router(Config‐if(Vlan 1))#
Specifies an OSPF authentication password. Valid values are alphanumeric
strings up to 8 characters in length.
(su)‐>router(Config‐if(Vlan 1))#