Configuring MVRP
The following configuration steps show basic MVRP configuration in a network topology
that has two devices.
- Enable MVRP at the system level on the devices.
MVRP must be enabled globally to allow the devices to participate in the protocol.
- Enable MVRP on uplink ports on both devices.
device1(config)# interface ethernet 1/1/2 device1(config-if-e10000-1/1/2)# mvrp enable
device2(config)# interface ethernet 2/1/2 device2(config-if-e10000-2/1/2)# mvrp enable device2(config)# interface ethernet 1/1/10 device2(config-if-e10000-1/1/10)# mvrp enable device2(config-if-e10000-2/1/2)# interface lag 1 device2(config-lag-if-lg1)# mvrp enable
- Create a user VLAN on device 1.
- Add an access port to the VLAN.
MVRP-enabled uplink port (1/1/2) will be auto-added to the user VLAN 10.Device 1 declares VLAN 10 and device 2 dynamically learns it and adds the port (2/1/2) as a dynamic member.
- (Optional) Configure MVRP timers globally.
MVRP global timers are enabled by default. Global timer configurations impact all MVRP-enabled ports. MVRP timers are per interface level and apply only to the specified interface. Interface-level timer configuration takes precedence over global timer configurations.
- (Optional) Configure a port as a point-to-point interface for MVRP.
- (Optional) Configure the applicant state of the port that defines the MVRP participation
of the port.
device2(config)# interface ethernet 1/1/10 device2(config-if-e10000-1/1/10)# mvrp applicant-mode non-participant
By default, the applicant mode of the port is normal. - (Optional) Configure registration mode to forbid the VLAN from participating in MVRP.
By default, registration mode is set to Normal which allows the VLAN to be learned or declared through MVRP. For a static VLAN configuration, registration mode is automatically set to Fixed.
- (Optional) Disable dynamic VLAN creation by MVRP unless the VLAN that is being learned is already defined in the device.