top of page

OSPFv2 Cryptographic Authentication

  • Writer: Malik Zaib
    Malik Zaib
  • Mar 7, 2018
  • 1 min read

Rx(config)# key chain CCIE

Rx(config-keychain)#key 1

Rx(config-keychain-key)#key-string cisco123

Rx(config-keychain-key)#cryptographic-algorithm ?

hmac-sha-1 HMAC-SHA-1 authentication algorithm

hmac-sha-256 HMAC-SHA-256 authentication algorithm

hmac-sha-384 HMAC-SHA-384 authentication algorithm

hmac-sha-512 HMAC-SHA-512 authentication algorithm

md5 MD5 authentication algorithm

Rx(config-keychain-key)#cryptographic-algorithm hmac-sha-256

Rx(config-keychain-key)#exit

Rx(config-keychain)#exit

Note: Same cryptographic algorithm should be configure on both neighbor routers.

Apply the authentication on interfaces:

Rx(config)#interface serial1/0

Rx(config)#ip ospf authentication key-chain CCIE

Rx(config)#interface eth0/0

Rx(config)#ip ospf authentication key-chain CCIE

 
 
 

Comments


bottom of page