loop-protect vlan


loop-protect vlan <VLAN-LIST>

no loop-protect vlan


Specifies the trunk allowed VLANs on which loop protection packets are sent. By default, loop protection packets are only sent on access VLANs and native VLANs on a port. To send loop protection packets on trunk allowed VLANs, the VLANs must be explicitly added using this command.

Loop protection can be configured on a maximum of 4094 VLANs across all interfaces.

The no form of this command removes loop protection from all VLANs on the interface.

Command context




Specifies the number of a single VLAN, or a series of numbers for a range of VLANs, separated by commas (1, 2, 3, 4), dashes (1-4), or both (1-4,6).


Administrators or local user group members with execution rights for this command.


switch# config
switch(config)# interface 1/1/1
switch(config-if)# loop-protect vlan 2-6,10,15-20