Configuring Multiple VLAN Registration Protocol (MVRP) (CLI Procedure)
Multiple VLAN Registration Protocol (MVRP) is used to manage dynamic VLAN registration in a LAN. You can use MVRP on EX Series switches.
MVRP is disabled by default on EX Series switches.
To enable MVRP or set MVRP options, follow these instructions:
MVRP can only be enabled on trunk interfaces.
To enable MVRP on all trunk interfaces on the switch:
To enable MVRP on a specific trunk interface:
MVRP is disabled by default. You only need to perform this procedure if you have previously enabled MVRP.
To disable MVRP on all trunk interfaces on the switch:
To disable MVRP on a specific trunk interface:
Disabling Dynamic VLANs
Dynamic VLANs can be created on interfaces participating in MVRP by default. Dynamic VLANs are VLANs created on one switch that are propagated to other switches dynamically; in this case, using MVRP.
Dynamic VLAN creation through MVRP cannot be disabled per switch interface. To disable dynamic VLAN creation for interfaces participating in MVRP, you must disable it for all interfaces on the switch.
To disable dynamic VLAN creation:
Configuring Timer Values
The timers in MVRP define the amount of time an interface waits to join or leave MVRP or to send or process the MVRP information for the switch after receiving an MVRP PDU. The join timer controls the amount of time the switch waits to accept a registration request, the leave timer controls the period of time that the switch waits in the Leave state before changing to the unregistered state, and the leaveall timer controls the frequency with which the LeaveAll messages are communicated.
The default MVRP timer values are 200 ms for the join timer, 1000 ms for the leave timer, and 10000 ms for the leaveall timer.
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.
To set the join timer for all interfaces on the switch:
To set the join timer for a specific interface:
To set the leave timer for all interfaces on the switch:
To set the leave timer for a specific interface:
To set the leaveall timer for all interfaces on the switch:
To set the leaveall timer for a specific interface:
Configuring MVRP Registration Mode
The default MVRP registration mode for any interface participating in MVRP is normal. An interface in normal registration mode participates in MVRP when MVRP is enabled on the switch.
An interface in forbidden registration mode does not participate in MVRP even if MVRP is enabled on the switch.
To set all interfaces to forbidden registration mode:
To set one interface to forbidden registration mode:
To set all interfaces to normal registration mode:
To set one interface to normal registration mode: