Configuring MVRP

The following configuration steps show basic MVRP configuration in a network topology that has two devices.

  1. Enable MVRP at the system level on the devices.
    device1(config)# mvrp enable
    device2(config)# mvrp enable
    MVRP must be enabled globally to allow the devices to participate in the protocol.
  2. 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
    
  3. Create a user VLAN on device 1.
    device1(config)# vlan 10
  4. Add an access port to the VLAN.
    device1(config-vlan-10)# untagged ethernet 1/1/48
    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.
  5. (Optional) Configure MVRP timers globally.
    device1(config)# mvrp timer join 250 leave 1200 leave-all 12000
    MVRP global timers are enabled by default. Global timer configurations reflect on 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.
  6. (Optional) Configure a port as a point-to-point interface for MVRP.
    device1(config)# interface ethernet 1/1/2
    device1(config-if-e10000-1/1/2)# mvrp point-to-point
    device2(config)# interface ethernet 2/1/2
    device2(config-if-e10000-2/1/2)# mvrp point-to-point
  7. (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.
  8. (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.
    device2(config)# interface lag 1
    device2(config-lag-if-lg1)# mvrp registration-mode forbidden vlan 10
    
  9. (Optional) Disable dynamic VLAN creation by MVRP unless the VLAN that is being learned is already defined in the device.
    device2(config)# mvrp vlan-creation-disable