Juniper EX Series Switches support MVRP (Multi-VLAN Registration Protocol) which will make VLAN administration easier by advertising VLAN information to other connected switches.
As layer 2 networks get larger and larger so does the administrative overhead of maintaining VLAN information among multiple switches in the environment. This of course was foreseen and Juniper which supports the Multi-VLAN Registration Protocol, also known as MVRP.
MVRP is a standards based protocol that uses Multi-Attribute Registration Protocol (MARP) to deliver messages to neighboring switches over 802.1q trunk interfaces. MARP is also a standards based layer 2 protocol that provides the underlying transport protocol for MVRP which allows for registration and de-registration of attributes between multiple switches such as dynamic VLAN information.
MVRP is very similar in nature to Cisco VTP (Virtual Trunking Protocol) in which it achieves propagating VLAN information from switch to switch however there are some significant differences. MVRP does not use a “Server” and “Client” relationship model. With that being said, MVRP advertises dynamic VLAN information over 802.1q trunks to neighboring switching with MVRP enabled on the same interface. The neighboring switch receives the MVRP information and builds a dynamic VLAN table.
MVRP can be extremely useful when trying to administer large layer 2 networks that span multiple switches.
MVRP is configured on a per 802.1q trunk basis using the set protocols mvrp interface ge-0/0/23 whereas ge-0/0/23 is an example interface. Also note that MVRP can only be enabled on 802.1q trunk interfaces which requires the set interfaces ge-0/0/23.0 family ethernet-switching port-mode trunk vlan members all command on the configured interface.
MVRP will only advertise static VLAN’s which are currently active on the advertising switch. For example if you have a VLAN created called Sales with the tag-id of 100, if no interfaces on the switch have an active membership to that vlan, that vlan will not be advertised to the neighboring switch with MVRP.
For verification you will need to familiarize yourself with the show mvrp command which will show the MVRP status as well as interface status of all interfaces participating in MVRP.
To view dynamic VLAN’s created by MVRP use the show vlans command and you’ll see VLAN’s called __mvrp_##__ whereas ## is the VLAN Tad ID. Note that the VLAN Names will not be shared using MVRP.
In this lab you will use two EX3200 switches. We’re going to configure SW1 as the Distro switch with multiple VLAN’s and SW2 will be configured as access switches which will receive the VLAN information dynamically via MVRP over 802.1q trunk interfaces.
The following logical topology is used in all labs found through out Section 4 of the Junos Workbook;
To view the physical cabling topology please visit the Topology page.
No initial configurations are provided with this lab. Please continue on to the Lab Objectives.
This lab requires that you have access to real Juniper EX Series Switches and cannot be completed using the vSRX platform. If you do not have Juniper switches or you cannot afford to purchase them than you can rent lab time on the Juno Lab provided by Junos Workbook where you have access to four EX3200-24 Switches and four J2320 routers which can be used to complete this lab.
In this lab you will complete the following objectives.
It is recommended that you attempt to complete these lab objectives the first time without looking at the Lab Instruction section.
If you are a student preparing for the Juniper JNCIA Certification Exam than you are more likely to remember how to complete these objectives if you attempt to complete them the first time on your own with the use of the core knowledge section found in this lab. You should only resort to the Lab Instruction section to verify your work.
Configure interface Ge-0/0.23 on both SW1 and SW2 as trunk ports and allow all VLAN’s.
root@SW1> configure Entering configuration mode  root@SW1# set interface ge-0/0/23.0 family ethernet-switching port-mode trunk vlan members all  root@SW1#
root@SW2> configure Entering configuration mode  root@SW2# set interface ge-0/0/23.0 family ethernet-switching port-mode trunk vlan members all  root@SW2#
Create VLAN “Sales” with the VLAN-id of 100 and place interface Ge-0/0/0 on SW1 into this VLAN. Note that you may need to commit your config once you create your VLAN before you can assign Ge-0/0/0 into VLAN “Sales” as demonstrated below;
root@SW1# set vlans Sales vlan-id 100  root@SW1# commit commit complete  root@SW1# set interfaces ge-0/0/0.0 family ethernet-switching vlan members Sales  root@SW1# commit commit complete
Configure MVRP on the newly created trunk link between SW1 and SW2.
root@SW1# set protocols mvrp interface ge-0/0/23 root@SW1# commit and-quit commit complete Exiting configuration mode root@SW1>
root@SW2# set protocols mvrp interface ge-0/0/23 root@SW2# commit and-quit commit complete Exiting configuration mode root@SW2>
Verify that VLAN 10 has been dynamically created on SW2 via MVRP.
root@SW2> show vlans Name Tag Interfaces __mvrp_100__ 100 ge-0/0/23.0* default ge-0/0/1.0, ge-0/0/2.0, ge-0/0/3.0, ge-0/0/4.0, ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0, ge-0/0/8.0, ge-0/0/9.0, ge-0/0/10.0, ge-0/0/11.0, ge-0/0/12.0, ge-0/0/13.0, ge-0/0/14.0, ge-0/0/15.0, ge-0/0/16.0, ge-0/0/17.0, ge-0/0/18.0*, ge-0/0/19.0*, ge-0/0/20.0*, ge-0/0/21.0* root@SW2> show mvrp MVRP configuration MVRP status : Enabled MVRP dynamic VLAN creation : Enabled MVRP timers (ms): Interface Join Leave LeaveAll -------------- ----- ----- -------- ge-0/0/23.0 200 1000 10000 Interface Status Registration Mode -------------- -------- ----------------- ge-0/0/1.0 Disabled Normal ge-0/0/10.0 Disabled Normal ge-0/0/11.0 Disabled Normal ge-0/0/12.0 Disabled Normal ge-0/0/13.0 Disabled Normal ge-0/0/14.0 Disabled Normal ge-0/0/15.0 Disabled Normal ge-0/0/16.0 Disabled Normal ge-0/0/17.0 Disabled Normal ge-0/0/18.0 Disabled Normal ge-0/0/19.0 Disabled Normal ge-0/0/2.0 Disabled Normal ge-0/0/20.0 Disabled Normal ge-0/0/21.0 Disabled Normal ge-0/0/23.0 Enabled Normal ge-0/0/3.0 Disabled Normal ge-0/0/4.0 Disabled Normal ge-0/0/5.0 Disabled Normal ge-0/0/6.0 Disabled Normal ge-0/0/7.0 Disabled Normal ge-0/0/8.0 Disabled Normal ge-0/0/9.0 Disabled Normal root@SW2>