Understanding Multiple VLAN Registration Protocol (MVRP) on EX Series Switches
You can configure Multiple VLAN Registration Protocol (MVRP) on Juniper Networks EX Series Ethernet Switches. The primary purpose of MVRP is to manage dynamic VLAN registration in a LAN. In managing dynamic VLAN registration, MVRP also prunes VLAN information. MVRP can also be used to dynamically create VLANs in switching networks.
MVRP is an application protocol of the Multiple Registration Protocol (MRP) and is defined in the IEEE 802.1ak standard. MRP and MVRP were designed by IEEE to perform the same functions as Generic Attribute Registration Protocol (GARP) and GARP VLAN Registration Protocol (GVRP) while overcoming some GARP and GVRP limitations, in particular limitations involving bandwidth usage and convergence time in large networks with large numbers of VLANs.
MVRP was created by IEEE as a replacement application for GVRP. MVRP and GVRP cannot be run concurrently to share VLAN information in a switching network.
This topic describes:
How MVRP Works on EX Series Switches
The VLAN registration information sent by MVRP protocol data units (PDUs) includes the current VLANs membership—that is, which switches are members of which VLANs—and which switch interfaces are in which VLAN. MVRP shares all information in the PDU with all switches participating in MVRP in the switching network.
MVRP stays synchronized using these PDUs. The MVRP PDUs are sent to other switches on the network only when an MVRP state change occurs. The switches in the network participating in MVRP receive these PDUs during state changes and update their MVRP states accordingly. MVRP timers dictate when PDUs can be sent and when switches receiving MVRP PDUs can update their MVRP information.
VLAN information is distributed as part of the MVRP message exchange process and can be used to dynamically create VLANs, which are VLANs created on one switch and propagated to other switches as part of the MVRP message exchange process. Dynamic VLAN creation using MVRP is enabled by default but can be disabled.
As part of ensuring that VLAN membership information is current, MVRP removes switches and interfaces from the VLAN information when they become unavailable. Pruning VLAN information has these benefits:
- Limits the network VLAN configuration to active participants only, reducing network overhead.
- Targets the scope of broadcast, unknown unicast, and multicast (BUM) traffic to interested devices only.
Basics of MVRP on EX Series Switches
MVRP is disabled by default on all EX Series switches. You can configure MVRP on EX Series switch interfaces to participate in MVRP for the switching network. MVRP can only be enabled on trunk interfaces, and dynamic VLAN configuration through MVRP is enabled by default when MVRP is enabled.
MVRP Registration Modes
The MVRP registration mode defines whether an interface does or does not participate in MVRP.
The following MVRP registration modes are configurable:
- forbidden—The interface does not register and does not participate in MVRP.
- normal—The interface accepts MVRP messages and participates in MVRP. This is the default registration mode setting.
MVRP registration and updates are controlled by timers that are part of the MRP protocol. These timers are set on a per-interface basis and define when MVRP PDUs can be sent and when MVRP information can be updated on a switch.
The following timers are used to control the operation of MVRP:
- Join timer—Controls the interval for the next MVRP PDU transmit opportunity.
- Leave timer—Controls the period of time that an interface on the switch waits in the Leave state before changing to the unregistered state.
- LeaveAll timer—Controls the frequency with which the interface generates LeaveAll messages.
Best Practice: Maintain default timer settings unless there is a compelling reason to change the settings. Modifying timers to inappropriate values might cause an imbalance in the operation of MVRP.
MRP VLAN Messages
MVRP uses MRP messages to register and declare MVRP states for a switch and to inform the switching network that a switch is leaving MVRP. These messages are communicated as part of the PDU to communicate the state of a particular switch interface on the switching network to the other switches in the network.
The following messages are communicated for MVRP:
- Empty—VLAN information is not being declared and is not registered.
- In—VLAN information is not being declared but is registered.
- JoinEmpty—VLAN information is being declared but not registered.
- JoinIn—VLAN information is being declared and is registered.
- Leave—VLAN information that was previously registered is being withdrawn.
- LeaveAll—All registrations will be de-registered. Participants that want to participate in MVRP will need to re-register.
- New—VLAN information is new and possibly not previously registered.
MVRP does not work with any versions of Spanning Tree Protocol (STP) except Rapid Spanning Tree Protocol (RSTP).