How to Debug OSPF Authentication Problems

MVP Expert
MVP Expert

OSPF neighboring not occurring when authentication is enabled.


This article describes how to use the debug facility when troubleshooting OSPF authentication problems on Aruba switches


In the diagram, two Aruba switches are configured for IPV4 and OSPF. All interfaces are configured for OSPF area backbone.OSPF authentication has only been enabled on Rack2sw1. The debug output indicates that switch Rack2sw1 is sending MD5 authentication, and switch Racksw2 is sending no authentication.

The following describes how to enable debug, send the debug output to the buffer, and search the buffer.

Rack2sw2# debug ip ospf packet 
Rack2sw2# debug destination buffer 

Search debug buffer for the "authentication" 

Rack2sw2# show debug buffer | include authentication 

Smiley SurprisedSPF: invalid packet: Invalid authentication 
Smiley SurprisedSPF: invalid packet: Invalid authentication 

Search debug buffer for the "Authentication" 

Rack2sw2# show debug buffer | include  Authentication 

   Authentication <MD5> (2 
   Authentication <None> (0 

Search debug buffer to view the complete Hello Message 

Rack2sw2# show debug buffer | begin RECV 

Smiley SurprisedSPF RECV: -> Version   2, Type Hello (1), Length 44 ret 
:       Router ID, Area,   Authentication <MD5> (2 
:       Zero: 0, Key ID: 1, Length: 16, Sequence: 
Smiley SurprisedSPF: invalid packet: Invalid authentication   type (5 

Smiley SurprisedSPF SEND: -> Version   2, Type Hello (1), Length 44 ret 

:       Router ID, Area,   Authentication <None> (0 
:       Authentication data: 00000000 0000000 
:       Mask 255.255.255, Options <E> (2), Priority 1,   Neighbours 
:       Intervals: Hello 10s, Dead Router 40s,   Designated Router, Backup 

Version history
Revision #:
1 of 1
Last update:
‎06-22-2018 03:16 PM
Updated by:
Search Airheads
Showing results for 
Search instead for 
Did you mean: