Wired Intelligent Edge (Campus Switching and Routing)

ArubaOS-Switch – How to Configure OSPF Simple 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 simple authentication.  

 



Configuration:

 

---------- 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 authentication-key "aruba123" <=====

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 authentication-key "aruba123" <======
 



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 : simple <=====
  Cost   : 1                            Chain     : 
  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 : simple <=====
  Cost   : 1                            Chain     :                         
  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

The hex data “61727562 61313233” in the authentication data field has the ASCII value of “aruba123”

0000:21:15:10.37 OSPF eRouteCtrl:OSPF RECV: 192.168.12.2 -> 224.0.0.5: Version
   2, Type Hello (1), Length 48 ret 0
0000:21:15:10.54 OSPF eRouteCtrl:       Router ID 2.2.2.2, Area 0.0.0.0,
   Authentication <Simple> (1) <=====
0000:21:15:10.66 OSPF eRouteCtrl:       Authentication data: 61727562 61313233 <=====
0000:21:15:10.75 OSPF eRouteCtrl:       Mask 255.255.255, Options <E> (2), Priority 1,
   Neighbors 1
0000:21:15:10.87 OSPF eRouteCtrl:       Intervals: Hello 10s, Dead Router 40s,
   Designated Router 192.168.12.2, Backup 192.168.12.1
0000:21:15:11.03 OSPF eRouteCtrl:       Neighbors: 1.1.1.1

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