Compare VRRP (active-standby) with VSX active-gateway (active-active) and choose the right FHRP for a given topology.
Verify all of the above with the right show commands.
6.1 Layer 3 Interface Types
AOS-CX is a fully routed switching platform — every Aruba CX 6000, 8000, and 10000 series switch can be a Layer 3 device on every port. Before any inter-VLAN forwarding works, the global feature must be on:
switch(config)# ip routing
Without ip routing, the switch will accept Layer 3 configuration on interfaces but will not forward packets between subnets.
SVI (Switched Virtual Interface)
An SVI — interface vlan <id> — is a logical L3 interface bound to a VLAN. It is the gateway for hosts in that VLAN. SVIs come up administratively down by default (no shutdown is mandatory) and require at least one forwarding member port for the VLAN to bring line-protocol up.
Routed Port
A physical port stripped of switching behavior with the routed keyword (or no switchport). Preferred over SVIs for transit links because it skips spanning-tree, has predictable up/down on cable failure, and avoids 802.1Q overhead.
Loopback
Always-up logical L3 interface; ideal for stable management address and OSPF/BGP router-id.
Table 6.1 — AOS-CX Layer 3 Interface Types
Type
Command
Use Case
Up When
SVI
interface vlan <id>
VLAN gateway, inter-VLAN routing
A member port forwarding AND no shutdown
Routed port
routed + ip address
P2P inter-switch / upstream link
Cable up + no shutdown
Loopback
interface loopback <n>
Stable router-id, mgmt
Always
Sub-interface
interface 1/1/x.<vid>
Router-on-a-stick
Parent up + encapsulation dot1Q
Pre-Reading Quiz — Section 1: L3 Interface Types
1. You configure interface vlan 10, assign an IP, and no shutdown, but the SVI stays line-protocol down. What is the most likely cause?
2. Which interface type is the most appropriate for a clean point-to-point link between two CX switches in a routed core?
3. Why is a loopback the conventional source for an OSPF router-id?
4. Without the ip routing global command, what happens to inter-VLAN traffic?
6.2 Static and Default Routing
Static routes are deterministic plumbing: ip route <prefix>/<len> <next-hop> [distance]. Default AD for a static is 1 (beats OSPF's 110). A "floating static" sets a high AD (e.g., 200) so the route only installs if the preferred dynamic source disappears.
Table 6.2 — Default Administrative Distance
Source
AD
Connected
0
Static
1
eBGP
20
OSPF (intra/inter)
110
iBGP
200
Floating static (typical)
200+
ECMP — Equal-Cost Multipath
Multiple equal-cost routes for the same prefix are all installed and flows are hashed across them (typical 5-tuple of src/dst IP, src/dst port, protocol). This is what makes leaf-spine fabrics work — every leaf has equal-cost paths to every other leaf via every spine, with no single bottleneck.
Animation 1 — ECMP Load Balancing in a Leaf-Spine Fabric
Hover any node for context. Per-flow hashing keeps a single conversation on one path while spreading flows across all four spines.
Static-Route Decision Flow
flowchart TD
A[Packet arrives] --> B{Longest match?}
B -->|Yes| C{Multiple equal-cost paths?}
C -->|Yes| D[Hash flow across paths - ECMP]
C -->|No| E[Forward via single next-hop]
B -->|No| F{Default 0.0.0.0/0 exists?}
F -->|Yes| E
F -->|No| G[Drop - ICMP unreachable if enabled]
Pre-Reading Quiz — Section 2: Static and Default Routing
5. Which administrative distance value is the AOS-CX default for a static route?
6. A switch has both a static ip route 10.10.0.0/16 ... 200 and an OSPF intra-area route to the same prefix. Which is installed in the routing table while OSPF is healthy?
7. What is the purpose of ECMP in a leaf-spine fabric?
8. Which command best installs a backup default route that should only be used when the OSPF-learned default disappears?
6.3 OSPFv2 on AOS-CX
OSPFv2 is a link-state IGP. Every router in an area builds an identical map of the area, then runs Dijkstra (SPF) to compute its routing table. Failures are detected via hello/dead timers and the area re-converges in seconds.
The AOS-CX trap: OSPF is enabled per interface with ip ospf <id> area <area>. There are no Cisco-style network statements under the OSPF process.
switch(config)# router ospf 1
switch(config-ospf-1)# router-id 1.1.1.1
switch(config-ospf-1)# area 0
switch(config-ospf-1)# exit
switch(config)# interface 1/1/1
switch(config-if)# ip address 10.0.1.1/30
switch(config-if)# ip ospf 1 area 0
switch(config-if)# ip ospf network point-to-point
Table 6.3 — OSPFv2 LSA Types
Type
Name
Originated By
Scope
1
Router LSA
Every OSPF router
Within an area
2
Network LSA
DR on multi-access
Within an area
3
Summary LSA
ABR
Inter-area
4
ASBR Summary
ABR
How to reach an ASBR
5
AS-External
ASBR
Throughout AS (not stub/NSSA)
7
NSSA External
ASBR in NSSA
NSSA only — translated to Type 5 at ABR
Table 6.4 — Stub Area Variants
Area
Type 3?
Type 5?
Type 7?
Standard
Yes
Yes
No
Stub
Yes
No (default route only)
No
Totally Stubby
No (default only)
No
No
NSSA
Yes
No
Yes
Totally NSSA
No
No
Yes
Animation 2 — OSPF Neighbor Adjacency State Machine
CSS-only fallback: state boxes light up sequentially (0.4s per step) without JS.
Passive Interfaces, Authentication, Timers
Mark user-facing SVIs ip ospf passive — the subnet is still advertised but no hellos are sent. MD5 authentication (ip ospf message-digest-key) prevents rogue neighbors. Default timers are hello 10s / dead 40s; tighten only when BFD is unavailable.
Pre-Reading Quiz — Section 3: OSPFv2
9. How is an interface added to OSPF process 1, area 0 on AOS-CX?
10. Which LSA type does an ABR generate to advertise inter-area prefixes into a non-originating area?
11. A point-to-point OSPF neighbor remains stuck in EXSTART. What is the most likely cause?
12. Which area type permits Type 7 LSAs (NSSA External) but blocks Type 5 LSAs?
6.4 First-Hop Redundancy: VRRP and VSX Active-Gateway
A host has one default gateway. Lose it and traffic stops. AOS-CX offers two FHRPs:
VRRP (RFC 5798): standards-based active-standby. One master answers ARP for the VIP; the backup waits and takes over when the master goes silent.
VSX active-gateway: Aruba-proprietary, VSX-only active-active. Both peers continuously share a virtual MAC and route locally.