ip ospf message digest key md5

Example

This example shows how to enables an OSPF authentication key on the VLAN 1 interface with the password “yourpass”:

C3(su)->router(Config)#interface vlan 1

C3(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.

Syntax

ip ospf message-digest-key keyid md5 key no ip ospf message-digest-key keyid

Parameters

keyid

Specifies the key identifier on the interface where MD5 authentication is

 

enabled. Valid values are integers from 1 to 255.

 

 

key

Specifies a password for MD5 authentication to be used with the keyid. Valid

 

values are alphanumeric strings of up to 16 characters.

 

 

Defaults

None.

Mode

Interface configuration: C3(su)‐>router(Config‐if(Vlan 1))#

Example

This example shows how to enable OSPF MD5 authentication on the VLAN 1 interface, set the key identifier to 20, and set the password to “passone”:

C3(su)->router(Config)#interface vlan 1 C3(su)->router(Config-if(Vlan 1))#ip ospf message-digest-key 20 md5 passone

distance ospf

Use this command to configure the administrative distance for OSPF routes. The no form of this command resets OSPF administrative distance to the default values.

Syntax

distance ospf {external inter-area intra-area}weight no distance ospf {external inter-area intra-area}

20-20 IPv4 Routing Protocol Configuration

Page 590
Image 590
Enterasys Networks 9034313-07 manual Ip ospf message digest key md5, Distance ospf