How to configure OSPF authentication

2023-12-21 09:33:04 Published
  • 0 Followed
  • 0Collected ,1744Browsed

Network Topology

None


Problem Description

How to configure OSPF authentication


Process Analysis

OSPF adds the configured key into sent packets, and uses the key to authenticate received packets. Only packets that pass the authentication can be received. 

If a packet fails the authentication, the OSPF neighbor relationship cannot be established.

If you configure OSPF authentication for both an area and an interface in that area, the interface uses the OSPF authentication configured on it.


Solution

Configure area authentication to ensure consistency between authentication type and password.

[spine] 

ospf 1 router-id 172.16.13.1 

 area 0.0.0.0 

 authentication-mode hmac-md5 99 plain h3c.com

[Leaf] 

ospf 1 router-id 172.16.13.2

 area 0.0.0.0 

 authentication-mode hmac-md5 99 plain h3c.com


Please rate this case:   
0 Comments

No Comments

Add Comments: