Configuring the VLAN registration mode on the interface

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.

Perform the following steps.
  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.

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