cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1013
Views
0
Helpful
1
Replies

Question on OSPF mdf5 key, new system

news2010a
Level 3
Level 3

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

Edison Ortiz
Hall of Fame
Hall of Fame

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.

View solution in original post

1 Reply 1

Edison Ortiz
Hall of Fame
Hall of Fame

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card