05-28-2009 09:59 AM - edited 03-04-2019 04:55 AM
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
(...)
Solved! Go to Solution.
05-28-2009 11:28 AM
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.
05-28-2009 11:28 AM
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.
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: