Stp Timer Max-Age - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Syntax
stp [ vlan vlan-list ] timer hello time
undo stp [ vlan vlan-list ] timer hello
View
System view
Default level
2: System level
Parameters
vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1- 1 0>, where the
vlan-id parameter represents the VLAN ID, in the range of 1 to 4094, and &<1- 1 0> indicates that you can
specify up to 10 VLAN IDs or VLAN ID ranges.
time: Sets the hello time in centiseconds, in the range of 100 to 1000 in increments of 100 (as in 100,
200, 300).
Examples
# In MSTP mode, set the hello time to 400 centiseconds.
<Sysname> system-view
[Sysname] stp timer hello 400
# In PVST mode, set the hello time in VLAN 2 to 400 centiseconds.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] stp vlan 2 timer hello 400

stp timer max-age

Description
Use the stp timer max-age command to set the max age timer of the device.
Use the undo stp timer max-age command to restore the default.
By default, the max age is 2000 centiseconds.
In the CIST of an MSTP network or each VLAN of a PVST network, the device determines whether a
configuration BPDU received on a port has expired based on the max age timer. If yes, a new spanning
tree calculation process starts. The max age timer is ineffective for MSTIs.
To set the max age timer in STP/RSTP/MSTP mode, use this command without any VLAN specified. To set
the max age timer for a specific VLAN or multiple VLANs in PVST mode, use this command with a VLAN
list specified.
HP does not recommend that you set the max age timer with this command. Instead, you can specify the
network diameter of the switched network by using the stp bridge-diameter command and let spanning
tree protocols automatically calculate optimal settings of the max age timer. If the network diameter uses
the default value, the max age timer also uses the default value.
Related commands: stp timer forward-delay, stp timer hello, and stp bridge-diameter.
136

Advertisement

Table of Contents
loading

Table of Contents