Here’s a nice command to quickly verify that your OSPF authentication is enabled:
r5#sh ip os int | i proto|auth|Area
OSPF_VL0 is up, line protocol is up
Internet Address 191.1.45.5/25, Area 0
Message digest authentication enabled
Loopback0 is up, line protocol is up
Internet Address 150.1.5.5/24, Area 0
Serial0/0 is up, line protocol is up
Internet Address 191.1.125.5/24, Area 0
Message digest authentication enabled
FastEthernet0/0 is up, line protocol is up
Internet Address 191.1.5.5/24, Area 5
Simple password authentication enabled
FastEthernet0/1.45 is up, line protocol is up
Internet Address 191.1.45.5/25, Area 45
Simple password authentication enabled
FastEthernet0/1.59 is up, line protocol is up
Internet Address 191.1.59.5/24, Area 90
FastEthernet0/1.50 is up, line protocol is up
Internet Address 191.1.50.5/24, Area 90
This command shows us all of the OSPF enabled interfaces, what area they are they are in, whether they are using authentication or not, and – if so – what type of authentication we are using.
For example, we can see that s0/0 is OSPF enabled, is in area 0, is running authentication, and the authentication type is md5.
Leave a Reply