AOS-CX Switch Simulator - MVRP Lab Guide
AOS-CX Switch Simulator - MVRP Lab Guide
MVRP Fundamentals
IMPORTANT! THIS GUIDE ASSUMES THAT THE AOS-CX OVA HAS BEEN INSTALLED AND WORKS IN GNS3 OR EVE-NG.
PLEASE REFER TO GNS3/EVE-NG INITIAL SETUP LABS IF REQUIRED.
https://www.eve-ng.net/index.php/documentation/howtos/howto-add-aruba-cx-switch/
TABLE OF CONTENTS
Lab Objective ......................................................................................................................................... 1
Lab Overview ......................................................................................................................................... 1
Lab Network Layout ............................................................................................................................... 2
Part I Lab Tasks..................................................................................................................................... 2
Task 1 - Lab setup ................................................................................................................................. 2
Task 2 - Configure MVRP and Native VLAN on Switch A and C ............................................................ 3
Task 3 - Configure MVRP and Native VLAN on Switch D ...................................................................... 5
Part II Lab Tasks.................................................................................................................................... 6
Task 4 – Part II Lab setup ...................................................................................................................... 7
Task 5 - Configure MVRP and STP ....................................................................................................... 8
Task 6 – Check configurations and output ............................................................................................. 9
Task 6 – Basic connectivity test ........................................................................................................... 10
Appendix – Complete Configurations ................................................................................................... 12
Lab Objective
At the end of this lab you will be able to implement the basic configuration of MVRP (Multiple VLAN Registration Protocol)
and show how MVRP propagates local VLAN information to other Aruba CX switches.
The use case for MVRP is to simplify VLAN configuration and deployment in Layer 2 networks. MVRP provides a
mechanism of dynamically propagating VLAN information from a source switch to other switches in the Layer 2 LAN.
For further details on MVRP please refer to the latest Aruba documentation located on https://asp.arubanetworks.com/
Lab Overview
This lab set up is as shown in Figure 1 and Figure 2. This will allow you to observe the propagation of dynamic VLANs
Part II we see MVRP in an MSTP environment and how it works in conjunction with MSTP, as well as coexistence with
static vlans
1
Lab Guide
MVRP
• Open each switch console and log in with user “admin” and no password
• Change all hostnames as shown in the topology:
configure
hostname <device host name>
int 1/1/2-1/1/3
no routing
no shutdown
• Validate LLDP neighbors appear as expected on each switch. Here we show SwitchA output only.
Figure 1 you should see Switch C and D through Switch A as shown below using LLDP.
2
Lab Guide
MVRP
Switch A
• On Switch C enable MVRP globally with native VLAN and define a VLAN 10
Switch A
int 1/1/2-1/1/3
vlan trunk native 1
mvrp
vlan trunk native 1
exit
mvrp
Switch C
int 1/1/2
mvrp
exit
vlan 10
exit
mvrp
3
Lab Guide
MVRP
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
1/1/2 1 IN QA No
1/1/2 10 IN VO No
1/1/3 1 MT AA No
1/1/3 10 MT AA No
• On Switch A we see the MVRP register and applicant state. Interface 1/1/2 is IN (Registered) and 1/1/3 is MT
(empty-Unregistered)
• Applicant states on 1/1/2 for VLAN 1 is QA(Quite Active), VLAN 10 is VO (Very Anxious Observer)
Note: Register and Applicant states are as defined in IEEE Std 802.1Q 2011.
The MVRP “applicant state” can vary as this is continuously checked/refreshed and may be slightly different from the
outputs shown above.
4
Lab Guide
MVRP
SwitchD(config)#
int 1/1/3
mvrp
exit
vlan 20
exit
mvrp
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
On Switch C below the Dynamic VLAN 20 is present, that was defined in Switch D
SwitchC#show vlan
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
5
Lab Guide
MVRP
The assumption is made Part I has already been completed. This is a prerequisite for Part II .
All other VLANs assigned to the default MSTI 0 make C Root, not shown in Figure 3
6
Lab Guide
MVRP
First clear some of the VLAN Configurations, and enable all the relevant ports, as well as add Switch D as shown in
Figure 2
A prerequisite to follow Part II lab steps below, the assumption is Part I lab has been completed already.
configure
hostname <device host name>
int 1/1/1-1/1/3
no routing
no shutdown
int 1/1/1
no routing
no shutdown
int 1/1/3
no routing
no shutdown
int 1/1/2
no routing
no shutdown
• Validate LLDP neighbors appear as expected on each Switch A and B as shown below
7
Lab Guide
MVRP
• On Switch A add VLAN 10, Configure STP making Switch A Root for instance 1 VLAN 10,and Secondary Root for
Instance 2 ,VLAN 20 and a add trunk to interface 1/1/1 with MVRP
SwitchA(config)#
vlan 10
Do you wish to convert it to static VLAN (y/n)?
y
exit
spanning-tree
spanning-tree config-name sp1
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 2 vlan 20
spanning-tree instance 1 priority 0
spanning-tree instance 2 priority 1
int 1/1/1
vlan trunk native 1
mvrp
exit
• On Switch B add VLAN 20 ,Configure STP making Switch B Root for Instance 2, VLAN 20, and Secondary Root for
Instance 1, VLAN 10, and add trunk to all interfaces with MVRP
SwitchB(config)#
vlan 20
exit
spanning-tree
spanning-tree config-name sp1
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 2 vlan 20
spanning-tree instance 2 priority 0
spanning-tree instance 1 priority 1
interface 1/1/1-1/1/3
no shutdown
no routing
vlan trunk native 1
mvrp
exit
mvrp
• On Switch C ,remove VLAN 10, add STP making C Root for other VLANS , and add a trunk to interface 1/1/3 with
MVRP
• We also statically add VLAN 20 overriding dynamic allocation for this VLAN (Enables to observe differences in
MVRP outputs later)
SwitchC(config)#
no vlan 10
vlan 20
exit
spanning-tree
spanning-tree priority 0
spanning-tree config-name sp1
8
Lab Guide
MVRP
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 2 vlan 20
interface 1/1/3
vlan trunk native 1
mvrp
• On Switch D Configure STP and add trunk to interfaces 1/1/2 with MVRP
SwitchD(config)#
spanning-tree
spanning-tree config-name sp1
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 2 vlan 20
interface 1/1/2
vlan trunk native 1
mvrp
#### MST1
Vlans mapped: 10
Bridge Address:08:00:09:ee:11:82 Priority:32768
Root Address:08:00:09:8a:14:fa Priority:0
Port:1/1/3, Cost:20000, Rem Hops:19
Port Role State Cost Priority Type BPDU-Tx BPDU-Rx TCN-Tx TCN-Rx
-------------- -------------- ---------- ------- ---------- ---------------- ---------- ---------- ---------- --------
1/1/2 Alternate Blocking 20000 128 P2P 9 3767 4 5
1/1/3 Root Forwarding 20000 128 P2P 10 3765 1 4
#### MST2
Vlans mapped: 20
Bridge Address:08:00:09:ee:11:82 Priority:32768
Root Address:08:00:09:12:8e:9e Priority:0
Port:1/1/2, Cost:20000, Rem Hops:19
Port Role State Cost Priority Type BPDU-Tx BPDU-Rx TCN-Tx TCN-Rx
-------------- -------------- ---------- ------- ---------- ---------------- ---------- ---------- ---------- --------
1/1/2 Root Forwarding 20000 128 P2P 9 3770 4 5
1/1/3 Alternate Blocking 20000 128 P2P 10 3767 1 4
• It can be seen below that both VLAN 10 and 20 are dynamically learned on Switch D aligned to STP interfaces as
expected
SwitchD# show vlan
-------------------------------------------------------------------------------------------------------
VLAN Name Status Reason Type Interfaces
-------------------------------------------------------------------------------------------------------
1 DEFAULT_VLAN_1 up ok default 1/1/2-1/1/3
10 VLAN10 up ok dynamic 1/1/3
20 VLAN20 up ok dynamic 1/1/2
SwitchD#
9
Lab Guide
MVRP
• It can be observed above Switch D has IN Register for VLAN 10 on interface 1/1/3 and for VLAN 20 on interface
1/1/2. This follows the STP topology, and applicant states is in VO (Very Anxious Observer)
• Now observe the VLANs and MVRP State and VLANS on Switch C
SwitchC#show vlan
-------------------------------------------------------------------------------------------------------
VLAN Name Status Reason Type Interfaces
-------------------------------------------------------------------------------------------------------
1 DEFAULT_VLAN_1 up ok default 1/1/2-1/1/3
10 VLAN10 up ok dynamic 1/1/2
20 VLAN20 up ok static 1/1/2-1/1/3
• It can be seen we now only have a single dynamic VLAN 10 as we statically defined VLAN 20 on Switch C earlier
• Below it is seen the Register IN for both VLAN 10 and 20 in the MVRP State. However VLAN 20 is in QA (Quietly
Active) State. As VLAN 20 was locally defined is on Switch C we only see VLAN 10 as Dynamically learned
NOTE: The MVRP “applicant state” can vary as this is continuously checked/refreshed and may be slightly different from
the outputs shown above
• Now we will observe some basic Layer 3 connectivity from Switch D to Switch C on Vlan 20
• Add VLAN interface 20 to Switch C with an IPV4 address
SwitchC#
configure
int vlan 20
ip address 1.1.1.1/30
on Switch D add VLAN interface 20, and then add an IPV4 address
SwitchD#
configure
interface vlan 20
Ignoring the operation on dynamic VLAN(s) 20.
• You will see the above message, you cannot add a VLAN interface or an access port VLAN to a dynamic defined
VLAN, MVRP is only supported on trunk ports on Aruba CX.
10
Lab Guide
MVRP
• When you convert a Dynamic VLAN to a static VLAN you will be asked if you wish to do this.
SwitchD#
configure
vlan 20
VLAN 20 is a Dynamic VLAN.
Do you wish to convert it to static VLAN (y/n)? y
Exit
interface vlan 20
ip address 1.1.1.2/30
• It should now be possible to ping between SVI interfaces on VLAN 20 which will traverse the Core
SwitchD#
ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 100(128) bytes of data.
108 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=56.6 ms
108 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=11.0 ms
108 bytes from 1.1.1.1: icmp_seq=3 ttl=64 time=14.3 ms
108 bytes from 1.1.1.1: icmp_seq=4 ttl=64 time=16.6 ms
108 bytes from 1.1.1.1: icmp_seq=5 ttl=64 time=9.87 ms
11
Lab Guide
MVRP
• If configs are the same, try powering off/powering on the switches to reboot them
Part I Configurations
Switch A
hostname SwitchA
mvrp
!
ssh server vrf mgmt
vlan 1
interface mgmt
no shutdown
ip dhcp
interface 1/1/2
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/3
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
!
https-server vrf mgmt
Switch C
hostname SwitchC
mvrp
!
ssh server vrf mgmt
vlan 1,10
interface mgmt
no shutdown
ip dhcp
interface 1/1/2
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
!
https-server vrf mgmt
Switch D
hostname SwitchD
led locator on
mvrp
!
ssh server vrf mgmt
vlan 1,20
interface mgmt
no shutdown
ip dhcp
interface 1/1/3
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
!
https-server vrf mgmt
12
Lab Guide
MVRP
Part II Configurations
Switch A
hostname SwitchA
mvrp
!
!
ssh server vrf mgmt
vlan 1,10
spanning-tree
spanning-tree config-name sp1
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 1 priority 0
spanning-tree instance 2 vlan 20
spanning-tree instance 2 priority 1
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/2
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/3
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
!
https-server vrf mgmt
Switch B
hostname SwitchB
mvrp
!
!
ssh server vrf mgmt
vlan 1,20
spanning-tree
spanning-tree config-name sp1
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 1 priority 1
spanning-tree instance 2 vlan 20
spanning-tree instance 2 priority 0
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/2
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/3
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
13
Lab Guide
MVRP
mvrp
!
https-server vrf mgmt
Switch C
hostname SwitchC
mvrp
!
!
ssh server vrf mgmt
vlan 1,20
spanning-tree
spanning-tree priority 0
spanning-tree config-name sp1
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 2 vlan 20
interface mgmt
no shutdown
ip dhcp
interface 1/1/2
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/3
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
!
https-server vrf mgmt
Switch D
hostname SwitchD
mvrp
!
!
ssh server vrf mgmt
vlan 1
spanning-tree
spanning-tree config-name sp1
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 2 vlan 20
interface mgmt
no shutdown
ip dhcp
interface 1/1/2
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/3
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed all
mvrp
interface 1/1/9
no routing
vlan access 1
!
!
https-server vrf mgmt
14
www.arubanetworks.com
3333 Scott Blvd. Santa Clara, CA 95054
1.844.472.2782 | T: 1.408.227.4500 | FAX: 1.408.227.4550 | [email protected]
15