Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Question on OSPF mdf5 key, new system

Imagine on a new site, I am configuring new routers and networks and I need to advertise networks via OSPF. Does it work if I copy the md5 key from another router (from another site within the company) and pasted it onto the new router like shown below? I read the documentation in the link below and it sounds like I should create new md5 key. How people are doing to maintain such md5 keys in practical situations?

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_osp2.html#wp1011693

Basically I thought abotu copying the key from the example below and I want to confirm whether that approach works and it is recommended?

int vlan 305

description to switch5

(...)

ip ospf message-digest-key 10 mdf 5 7 99348548584

(...)

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: Question on OSPF mdf5 key, new system

Just tried and it works:

On the source router:

interface FastEthernet0/1

description R1

ip address 192.168.13.3 255.255.255.0

ip ospf authentication message-digest

ip ospf message-digest-key 1 md5 7 123A2C243124

On the destination router:

R1(config)#int f0/1

R1(config-if)#ip ospf authentication message-digest

R1(config-if)# ip ospf message-digest-key 1 md5 7 123A2C243124

R1(config-if)#

00:03:50: %OSPF-5-ADJCHG: Process 1, Nbr 33.3.3.3 on FastEthernet0/1 from LOADING to FULL, Loading Done

R1(config-if)#do show ip os int | be Message

Message digest authentication enabled

Youngest key id is 1

R3#sh ip os int | be Message

Message digest authentication enabled

Youngest key id is 1

HTH,

__

Edison.

1 REPLY
Hall of Fame Super Bronze

Re: Question on OSPF mdf5 key, new system

Just tried and it works:

On the source router:

interface FastEthernet0/1

description R1

ip address 192.168.13.3 255.255.255.0

ip ospf authentication message-digest

ip ospf message-digest-key 1 md5 7 123A2C243124

On the destination router:

R1(config)#int f0/1

R1(config-if)#ip ospf authentication message-digest

R1(config-if)# ip ospf message-digest-key 1 md5 7 123A2C243124

R1(config-if)#

00:03:50: %OSPF-5-ADJCHG: Process 1, Nbr 33.3.3.3 on FastEthernet0/1 from LOADING to FULL, Loading Done

R1(config-if)#do show ip os int | be Message

Message digest authentication enabled

Youngest key id is 1

R3#sh ip os int | be Message

Message digest authentication enabled

Youngest key id is 1

HTH,

__

Edison.

578
Views
0
Helpful
1
Replies
CreatePlease to create content