Stp Max-Hops - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

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 Ethernet interface view, the setting takes effect on the current interface only;
configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate
interface. Configured on the member port in an aggregation group, the setting can take effect only
after the port leaves the aggregation group.
Examples
# Enable the loop guard function on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp loop-protection

stp max-hops

Syntax
stp max-hops hops
undo stp max-hops
View
System view
Default Level
2: System level
Parameters
hops: Maximum hops, in the range of 1 to 40
Description
Use the stp max-hops command to set the maximum hops of the MST region on the device.
Use the undo stp max-hops command to restore the maximum hops to the default setting.
Setting the maximum hops of MST regions is to limit the sizes of MST regions. By default, the
maximum number of hops of an MST region is 20.
Related commands: display stp.
Examples
# Set the maximum hops of the MST region on the device to 35.
<Sysname> system-view
[Sysname] stp max-hops 35
4-24

Advertisement

Table of Contents
loading

Table of Contents