Configuring MVRP Configuring MVRP
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 12-11
To view the timer value assigned to a particular port, use the show mvrp timer command.
-> show mvrp port 1/2 timer
Join Timer (msec) : 600,
Leave Timer (msec) : 1800,
LeaveAll Timer (msec) : 30000,
Periodic-Timer (sec) : 1
Restricting VLAN Registration
Restricted VLAN registration restricts MVRP from dynamically registering specific VLAN or VLANs on
a switch. It decides whether VLANs can be dynamically created on a device or only be mapped to the
ports (if the VLANs are already statically created on the device).
By default, the dynamic VLAN registrations are not restricted and the VLAN can either be created on the
device or mapped to another port.
To restrict a VLAN from being dynamically learned on the device, you can configure the dynamic VLAN
registrations by using the mvrp restrict-vlan-registration command as shown:
-> mvrp port 1/1 restrict-vlan-registration vlan 4
Here, VLAN 4 cannot be learned by the device dynamically. However, if the VLAN exists on the device
as a static VLAN, it can be mapped to the receiving port.
To allow dynamic VLAN registrations on the port, use the no form of the mvrp restrict-vlan-
registration command as shown:
-> no mvrp port 1/1 restrict-vlan-registration vlan 4
Restricting Static VLAN Registration
Ports can be exempted from becoming members of statically created VLANs. To restrict a port from
becoming a member of a statically configured VLAN, use the mvrp static-vlan-restrict command as
shown:
-> mvrp port 1/9 static-vlan-restrict vlan 5
Here, the port 1/9 is restricted from becoming a MVRP member of VLAN 5.
To restrict a port from becoming a member of a range of statically created VLANs, enter the mvrp static-
vlan-restrict command as shown:
-> mvrp port 1/9 static-vlan-restrict vlan 5-9
Here, port 1/9 is restricted from becoming a MVRP member of VLANs 5 to 9.
A port can be allowed to become a member of statically created VLANs using the no form of the mvrp
static-vlan-restrict command. To allow port 1/2 to become a member of a statically created VLAN, enter
the command as shown:
-> no mvrp port 1/2 static-vlan-restrict vlan 5-9
Note. Set the same MVRP timer value on all the connected devices.
Note. This command does not apply to dynamic VLANs.