loop-protect vlan
Syntax
loop-protect vlan no loop-protect vlan
Description
允许指定主干循环公关的vlanotection 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 of40942048VLANs across all interfaces.
Theno
form of this command removes loop protection from all VLANs on the interface.Command context
config-if
Parameters
-
-
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 or local user group members with execution rights for this command.
Example
switch(config-if)#loop-protect vlan 2-6,10,15-20