Requirement:
AOS Mobility Controller and ArubaOS Switch
Solution:In the following example, OSPF routing is configured on an AOS mobility controller and an ArubaOS switch.
Configuration:
---------- OSPF Router and Interface Mobility Controller Configuration ----------
(Standalone-VMC) ^[mynode] (config) #router ospf
(Standalone-VMC) ^[mynode] (config) #router ospf area 0.0.0.0
(Standalone-VMC) ^[mynode] (config-submode)#interface vlan 108
(Standalone-VMC) ^[mynode] (config-submode)#ip ospf area 0.0.0.0
(Standalone-VMC) ^[mynode] (config-submode)#write memory
---------- OSPF Router and Interface Switch Configuration ----------
Core-Switch# show running-config router ospf
Running configuration:
router ospf
area backbone
redistribute static
enable
Core-Switch# show running-config vlan 108
Running configuration:
vlan 108
name "Standalone-VMC"
tagged 9
ip address 10.0.108.1 255.255.255.0
ip ospf 10.0.108.1 area backbone
Verification
---------- OSPF Neighbor and Interface Mobility Controller Verification ----------
(Standalone-VMC) [mynode] #show ip ospf interface
Vlan 108 is up, line protocol is up
Internet Address 10.0.108.100, Mask 255.255.255.0, Area 0.0.0.0
Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router id 1.1.1.1, Interface Address 10.0.108.100
Backup designated Router id 2.2.2.2, Interface Address 10.0.108.1
Timer intervals configured, Hello 10, Dead 40, Retransmit 5
Neighbor Count is 1
Tx Stat: Hellos 86 DbDescr 3 LsReq 1 LsUpdate 3 LsAck 4 Pkts 97
Tx Err: BufNull 0 BufCorrupt 0 NoMem 0 SendFail 0
Rx Stat: Hellos 77 DbDescr 2 LsReq 1 LsUpdate 5 LsAck 3 Pkts 88
LoopSend 0 RxVirtualLink 0
Rx Err: DisCd 0 BadVer 0 BadNet 0 BadArea 0 BadDstAdr 0 BadAuType 0
BadAuth 0 BadNeigh 0 BadPckType 0 BadVirtLink 0
IntfDown 0 MySource 0 Legal 0
(Standalone-VMC) [mynode] #show ip ospf neighbor
OSPF Neighbor Table
-------------------
Neighbor ID Pri State Address Interface
----------- --- ----- ------- ---------
2.2.2.2 1 FULL/BDR 10.0.108.1 Vlan 108
---------- OSPF Neighbor and Interface Switch Verification ----------
Core-Switch# show ip ospf interface
OSPF Interface Status
IP Address Status Area ID State Auth-type Cost Pri Passive
--------------- -------- --------------- -------- --------- ----- --- -------
10.0.108.1 enabled backbone BDR none 1 1 no
Core-Switch# show ip ospf neighbor
OSPF Neighbor Information
Router ID Pri IP Address NbIfState State QLen Events Status
--------------- --- --------------- --------- -------- ----- ------ ------
1.1.1.1 1 10.0.108.100 DR FULL 0 6 None
---------- Static Routes Configured on the Core-Switch ----------
Core-Switch(config)# show ip route static
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
10.0.40.0/24 192.168.0.2 192 static 1 1
10.34.8.0/22 15.250.96.1 1000 static 1 1
---------- OSPF Routes Received on the Standalone Mobility Controller ----------
(Standalone-VMC) [mynode] #show ip route
Codes: C - connected, O - OSPF, R - RIP, S - static, B - Bgw peer uplink
M - mgmt, U - route usable, * - candidate default, V - RAPNG VPN/Branch
I - Ike-overlay, N - not redistributed
Gateway of last resort is Imported from DHCP to network 0.0.0.0 at cost 10
Gateway of last resort is Imported from CELL to network 0.0.0.0 at cost 10
Gateway of last resort is Imported from PPPOE to network 0.0.0.0 at cost 10
Gateway of last resort is 10.0.108.1 to network 0.0.0.0 at cost 1
S* 0.0.0.0/0 [0/1] via 10.0.108.1*
S 10.34.0.0/16 [0/1] via 15.250.96.1*
O 10.34.8.0/22 [0/10] via 10.0.108.1* <=====
O 10.0.40.0/24 [0/10] via 10.0.108.1* <=====
C 10.0.108.0/24 is directly connected, VLAN108