Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Understanding Multiple VLAN Registration Protocol (MVRP)

You can configure Multiple VLAN Registration Protocol (MVRP) on Juniper Networks MX Series routers and EX Series switches. The primary purpose of MVRP is to manage dynamic VLAN registration in switching networks. In managing dynamic VLAN registration, MVRP also prunes VLAN information.

MVRP is an Layer 2 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

The VLAN registration information sent by MVRP protocol data units (PDUs) includes the current VLANs membership—that is, which routers are members of which VLANs—and which router interfaces are in which VLAN. MVRP shares all information in the PDU with all routers participating in MVRP in the switching network.

MVRP stays synchronized using these PDUs. The routers 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 routers 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 routers 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 routers 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

MVRP is disabled by default. You can configure MVRP router 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 or declare VLANS (except statically configured VLANs).
  • normal—The interface accepts MVRP messages and participates in MVRP. This is the default registration mode setting.
  • restricted—The interface—The interface ignores all MVRP JOIN messages received for VLANs that are not statically configured on the interface.

MRP Timers

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 Limitations

The following limitations apply when configuring MVRP:

  • MVRP works with Rapid Spanning Tree Protocol (RSTP) and Multiple Spanning Tree Protocol (MSTP), but not with VLAN Spanning Tree Protocol (VSTP).
  • MVRP is allowed only on single tagged trunk ports.
  • MVRP is not allowed if a physical interface has more than one logical interface.
  • MVRP is only allowed if a logical has one trunk interface (unit 0).

Published: 2013-04-03