Professional Documents
Culture Documents
VRF FUNDAMENTALS
VIRTUAL ARUBAOS-CX IN GNS3
Important! This guide assumes that the ArubaOS-CX OVA has been installed in VirtualBox and a template has been
created in GNS3.
LAYER 2 CONFIGURATION
• On both devices, configure the VLANs and a LAG between the switches
Note: VLANs/SVIs are required to transport VRFs using 802.1Q tags
configure
vlan 101,102
!
interface lag 100
no shutdown
no routing
lacp mode active
vlan trunk allow 101,102
interface 1/1/1
no shutdown
mtu 2048
lag 100
interface 1/1/2
no shutdown
mtu 2048
lag 100
end
1
----------------------------------------------------------------------------------
Port Native Mode Type Enabled Status Reason Speed
VLAN (Mb/s)
----------------------------------------------------------------------------------
1/1/1 1 trunk -- yes up 1000
1/1/2 1 trunk -- yes up 1000
1/1/3 -- routed -- no down Administratively down --
1/1/4 -- routed -- no down Administratively down --
1/1/5 -- routed -- no down Administratively down --
1/1/6 -- routed -- no down Administratively down --
lag100 1 trunk -- yes up -- 2000
• LACP aggregation
show lacp aggregates
Aggregate-name : lag100
Interfaces : 1/1/1 1/1/2
Heartbeat rate : slow
Hash : l3-src-dst
Aggregate mode : active
• And interfaces
show lacp interfaces
State abbreviations :
A - Active P - Passive F - Aggregable I - Individual
S - Short-timeout L - Long-timeout N - InSync O - OutofSync
C - Collecting D - Distributing
X - State m/c expired E - Default neighbor state
2
LAYER 3 CONFIGURATION
Configure the VRFs and VLAN interfaces (SVIs).
• On the 8400-1 switch
configure
vrf VRF101
router ospf 11 vrf VRF101
area 0
interface loopback 101
vrf attach VRF101
ip address 1.101.1.1/32
ip ospf 11 area 0
interface vlan 101
vrf attach VRF101
ip address 10.101.1.1/24
ip ospf 11 area 0
!
vrf VRF102
router ospf 12 vrf VRF102
area 0
interface loopback 102
vrf attach VRF102
ip address 1.102.1.1/32
ip ospf 12 area 0
interface vlan 102
vrf attach VRF102
ip address 10.102.1.1/24
ip ospf 12 area 0
!
end
3
The output should be:
VRF Configuration:
------------------
VRF Name : default
Interfaces Status
-----------------------------
o On the 8400-1
show ip ospf neighbor vrf VRF101
And
show ip ospf neighbor vrf VRF102
with output
OSPF Process ID 12 VRF VRF102
==============================
4
3333 Scott Blvd. | Santa Clara, CA 95054
1.844.472.2782 | T: 1.408.227.4500 | FAX: 1.408.227.4550 | info@arubanetworks.com
www.arubanetworks.com 5