4-38
stp timer max-age
Syntax
stp timer max-age
time
undo stp
timer max-age
View
System view
Default Level
2: System level
Parameters
time
: Max age in centiseconds, ranging from 600 to 4000 at the step of 100.
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 system default.
By default, the max age is set to 2,000 centiseconds.
MSTP can detect link failures and automatically restore the forwarding state of the redundant link. In
the CIST, the device determines whether a configuration BPDU received on a port has expired based
on the max age timer. If a port receives a configuration BPDU that has expired, that MSTI needs to be
re-computed.
The max age timer is not meaningful for MSTIs. If the current device is the root bridge of the CIST, it
determines whether a configuration BPDU has expired based on the configured max age timer; if the
current device is not the root bridge of the CIST, it uses the max age timer set on the CIST root bridge.
The settings of the hello time, forward delay and max age timers must meet the following formulae,
thus avoiding frequent network changes:
z
2 × (forward delay – 1 second)
ú
max age
z
Max age
ú
2 × (hello time + 1 second)
We recommend that you specify the network diameter using the
stp root primary
command and let
MSTP automatically calculate an optimal setting of these three timers.
Related commands:
stp timer forward-delay
,
stp timer hello
,
stp bridge-diameter
.
Examples
# Set the max age timer of the device to 1,000 centiseconds.
<Sysname> system-view
[Sysname] stp timer max-age 1000
stp timer-factor
Syntax
stp timer-factor factor
undo
stp timer-factor
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...