OSPF Key Chain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 09:04 AM - edited 07-14-2022 09:06 AM
Are there any different requirements or variables when Configuring OSPF Key Chain auth from IOS to Nexus vs IOS to IOS?
I am having issues doing just that on Nexus to IOS. All the configuration options are present on both OS however the authentication/neighbor-ship is not establishing...any thoughts?
- Labels:
-
Routing Protocols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 09:08 AM
https://community.cisco.com/t5/switching/nx-os-ospf-key-chain-authentication-algorithms/td-p/3186162
it is nexus issue it not support HASH so you only have MD5
check link above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 09:11 AM
hmac-sha-256 is present on both of the switches I want to configure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 09:24 AM
check the link again it seem to me even if the NSK support it platform is not support it.
that what I know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 09:53 AM
Those are on Nexus 5/6k , Im on Nexus 9k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 10:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 10:48 AM
http://www.uni-koeln.de/~pbogusze/posts/OSPF_authentication_between_IOS-XE_and_NX-OS.html
try specify the algorithm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 11:54 AM - edited 07-14-2022 11:57 AM
That is what I have on each switch and appropriate interface. Obv the date is not correct now but rest assured it is updated to the current time
conf t
key chain OSPF_KEY_CHAIN1
key 1
key-string Test1
cryptographic-algorithm hmac-sha-256
send-lifetime 02:40:00 Jul 11 2022 05:55:00 Jul 11 2022
accept-lifetime 02:40:00 Jul 11 2022 05:55:00 Jul 11 2022
exit
key 2
key-string Test2
cryptographic-algorithm hmac-sha-256
send-lifetime 20:19:00 Jul 10 2022 20:30:00 Jul 10 2022
accept-lifetime 20:18:00 Jul 10 2022 20:31:00 Jul 10 2022
end
conf t
interface gigabitethernet 0/0
ip ospf authentication key-chain OSPF_KEY_CHAIN1
end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 12:22 PM
Check workaround if it success then the algorithm is issue with nexus,
Only config key chain with md5 and see result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 01:22 PM
Yeah I will give that a try. Ill let you know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 09:09 AM
how is your config look like - as per i know nexus have different support algorithm compare to IOS and IOS XE
good to know IOS and nexus version you having issue, along with sample config. (i would also check MTU)
show ip ospf traffic give you what went wrong :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 02:31 PM
Hello
Unless it has changed my understanding is key-chain isnt supported for OSPFv2
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
