Wired Intelligent Edge (Campus Switching and Routing)

ArubaOS-Switch – How to Configure OSPF MD5 Authentication

MVP
MVP
Requirement:

Aruba 2930F Switch running firmware version WC.16.10.0003



Solution:

In the following examples, switches Rack2sw1 and Rack2sw2 are configured for OSPF routing with MD5 authentication.  

 



Configuration:

 

---------- Key Chain Configuration ----------


Rack2sw1# show running-config | include key-chain

key-chain "OSPFAuth"
key-chain "OSPFAuth" key 1 key-string "aruba123""

Rack2sw2# show running-config | include key-chain

key-chain "OSPFAuth"
key-chain "OSPFAuth" key 1 key-string "aruba123"


---------- OSPF Router Configuration ----------


Rack2sw1# show run router ospf

Running configuration:

router ospf
   area backbone
   enable

Rack2sw2# show run router ospf

Running configuration:

router ospf
   area backbone
   enable


---------- OSPF Interface Configuration ----------


Rack2sw1# show running-config vlan 12

Running configuration:

vlan 12
   name "VLAN12"
   tagged Trk12-Trk13
   ip address 192.168.12.1 255.255.255.0
   ip ospf 192.168.12.1 area backbone
   ip ospf 192.168.12.1 md5-auth-key-chain "OSPFAuth" <=====

Rack2sw2# show running-config vlan 12

Running configuration:

vlan 12
   name "VLAN12"
   tagged Trk21,Trk23
   ip address 192.168.12.2 255.255.255.0
   ip ospf 192.168.12.2 area backbone
   ip ospf 192.168.12.2 md5-auth-key-chain "OSPFAuth" <=====



Verification

 

---------- OSPF Interface Verification ----------


Rack2sw1# show ip ospf interface vlan 12

 OSPF configuration and statistics for VLAN 12

 OSPF Interface Status for 192.168.12.1

  IP Address      : 192.168.12.1        Status  : enabled
  Area ID         : backbone

  State  : BDR                          Auth-type : md5 <=====
  Cost   : 1                            Chain     : OSPFAuth
  Type   : BCAST                        Priority  : 1

  Transit Delay     : 1                 Retrans Interval  : 5
  Hello Interval    : 10                Rtr Dead Interval : 40
  Designated Router : 192.168.12.2      Events            : 0
  Backup Desig. Rtr : 192.168.12.1      Passive           : no
  Neighbors         : 1

Rack2sw2# show ip ospf interface vlan 12

 OSPF configuration and statistics for VLAN 12

 OSPF Interface Status for 192.168.12.2

  IP Address      : 192.168.12.2        Status  : enabled
  Area ID         : backbone

  State  : DR                           Auth-type : md5 <=====
  Cost   : 1                            Chain     : OSPFAuth                
  Type   : BCAST                        Priority  : 1

  Transit Delay     : 1                 Retrans Interval  : 5
  Hello Interval    : 10                Rtr Dead Interval : 40
  Designated Router : 192.168.12.2      Events            : 0
  Backup Desig. Rtr : 192.168.12.1      Passive           : no
  Neighbors         : 1


---------- OSPF Debugging ----------


Rack2sw1# debug destination session
Rack2sw1# debug ip ospf packet

Rack2sw1# show debug

 Debug Logging

  Source IP Selection: Outgoing Interface
  Origin identifier: Outgoing Interface IP
  Destination:
   Session

  Enabled debug types:
   ip ospf packet
   ip ospf packet hello-packet
   ip ospf packet dd-packet
   ip ospf packet lsr-packet
   ip ospf packet lsu-packet
   ip ospf packet lsa-packet

0000:22:14:17.86 OSPF eRouteCtrl:OSPF SEND: 192.168.12.1 -> 224.0.0.5: Version
   2, Type Hello (1), Length 48 ret 84
0000:22:14:17.99 OSPF eRouteCtrl:       Router ID 1.1.1.1, Area 0.0.0.0,
   Authentication <MD5> (2) <=====
0000:22:14:18.09 OSPF eRouteCtrl:       Zero: 0, Key ID: 1, Length: 16, Sequence: 0
0000:22:14:18.17 OSPF eRouteCtrl:       Mask 255.255.255, Options <E> (2), Priority 1,
   Neighbors 1
0000:22:14:18.28 OSPF eRouteCtrl:       Intervals: Hello 10s, Dead Router 40s,
   Designated Router 192.168.12.2, Backup 192.168.12.1
0000:22:14:18.41 OSPF eRouteCtrl:       Neighbors: 2.2.2.2
 

Version history
Revision #:
1 of 1
Last update:
‎04-15-2020 12:56 PM
Updated by:
 
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: