Examples
stp loop-protection
Syntax
View
Parameters
Description
Examples
stp max-hops
Syntax
View
Parameters
Normally, configuration BPDUs from other devices cannot reach an edge port
■
because it does not connect to any other device. Before the BPDU guard
function is enabled, if a port receives a configuration BPDU, the port is working
actually as a non-edge port even if you have configured in as an edge port.
# Configure port Ethernet 1/1 as a non-edge port.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] stp edged-port disable
stp loop-protection
undo stp loop-protection
Ethernet interface view, port group view
None
Use the
stp loop-protection
port or a group of ports.
Use the
undo stp loop-protection
setting for a port of a group of ports.
By default, the loop guard function is disabled.
Note that, configured in Ethernet interface view, the setting is effective on the
current port only; configured in port group view, the setting is effective on all the
ports in the port group.
# Enable the loop guard function for port Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] stp loop-protection
stp max-hops hops
undo stp max-hops
System view
hops: Maximum hops, in the range of 1 to 40
command to enable the loop guard function for a
command to restore default loop guard
613
Need help?
Do you have a question about the MSR 20-20 and is the answer not in the manual?
Questions and answers