Configuring the VLAN registration mode on the interface

By default, the registration mode for an MVRP-enabled interface is set to Normal. For a static VLAN configuration, the registration mode is automatically set to Fixed. To prune the advertisement propagation and deregistration of a dynamic VLAN on an MVRP-enabled interface port, you can register the VLAN as Forbidden.

Before you begin

This procedure assumes that MVRP is enabled on the device.

Note

Note

You cannot configure a static VLAN as forbidden. If a VLAN is configured in the forbidden list and then it is configured as a static VLAN on the device, this VLAN is implicitly removed from the forbidden list.

About this task

Perform the following steps.

Procedure

  1. In privileged EXEC mode, enter global configuration mode.
    device# configure terminal
  2. Configure an Ethernet interface and access interface configuration mode.
    device(config)# interface ethernet 0/9
    
  3. Enable MVRP on the interface.
    device(conf-if-eth-0/9)# mvrp enable
    
  4. Register the VLAN on the forbidden list.
    device(conf-if-eth-0/9)# mvrp registration-mode forbidden vlan add 10
    
    You can also provide a range of VLANs.

Example

The following example are the steps in the previous configuration.

device# configure terminal
device(config)# interface ethernet 0/9
device(conf-if-eth-0/9)# mvrp enable
device(conf-if-eth-0/9)# mvrp registration-mode forbidden vlan add 10