loop-protect vlan

Syntax

loop-protect vlan <VLAN-LIST>

no loop-protect vlan

Description

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

config-if

Parameters

<VLAN-LIST>

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).

Authority

Administrators

Example

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