mvrp registration-mode forbidden vlan

Configures the forbidden registration mode for a VLAN or a range of VLANs on an MVRP-enabled Ethernet or port-channel interface.

Syntax

mvrp registration-mode forbidden vlan { add | remove } vlanID

Command Default

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.

Parameters

add
Adds the specified VLAN to the forbidden VLAN list on the interface.
remove
Removes the specified VLAN from the forbidden list on the interface and allows advertising of non-forbidden VLANs through the MVRP messages on the interface.
vlanID
Specifies an individual VLAN or a range of VLANs. For example, to add VLANs 25 through 30 to the forbidden list, enter mvrp registration-mode forbidden vlan add 25-30 .

Modes

Interface configuration mode

Usage Guidelines

This feature is supported on the SLX 9250, SLX 9540, SLX 9640, SLX 9740, Extreme 8720, and Extreme 8820 devices.

The add keyword prevents the VLANs specified in the command from being advertised on all other MVRP-enabled ports and also removes the specified VLANs that are dynamically registered from this interface.

Before you configure this command, you must configure the interface as switchport and must enable MVRP both globally and on the interface.

You cannot configure a static VLAN as forbidden.

Examples

The following example adds VLANs 25 through 30 to the forbidden list, and removes VLAN 26 from the forbidden list.

device# configure terminal
device(config)# protocol mvrp
device(config-mvrp)# exit
device(config)# interface ethernet 1/1
device(conf-if-eth-1/1)# switchport
device(conf-if-eth-1/1)# mvrp enable
device(conf-if-eth-1/1)# switchport mode trunk
device(conf-if-eth-1/1)# switchport trunk allowed vlan add 20-24
device(conf-if-eth-1/1)# mvrp registration-mode forbidden vlan add 25-30
device(conf-if-eth-1/1)# mvrp registration-mode forbidden vlan remove 26