Stp Loop-Protection; Stp Max-Hops - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents