Stp Loop-Protection - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Description
Use the stp ignored vlan command to enable VLAN Ignore for the specified VLAN(s).
Use the undo stp ignored vlan command to disable VLAN Ignore for the specified VLAN(s).
Examples
# Enable VLAN Ignore for VLAN 2.
<Sysname> system-view
[Sysname] stp ignored vlan 2
# Enable VLAN Ignore for VLAN 1 through VLAN 10.
[Sysname] stp ignored vlan 1 to 10

stp loop-protection

Syntax
stp loop-protection
undo stp loop-protection
View
Layer 2 Ethernet port view, port group view, Layer 2 aggregate port view
Default Level
2: System level
Parameters
None
Description
Use the stp loop-protection command to enable the loop guard function on the port(s).
Use the undo stp loop-protection command to restore the system default.
By default, the loop guard function is disabled.
Note that:
Configured in Layer 2 Ethernet port view, the setting takes effect on the current port only;
configured in port group view, the setting takes effect on all ports in the port group; configured in
Layer 2 aggregate port view, the setting takes effect only on the aggregate port; configured on a
member port in an aggregation group, the setting can take effect only after the port leaves the
aggregation group.
Among loop guard, root guard and edge port settings, only one function (whichever is configured
the earliest) can take effect on a port at the same time.
Related commands: stp edged-port, stp root-protection.
Examples
# Enable the loop guard function on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
1-24

Advertisement

Table of Contents
loading

Table of Contents