ECS2020 Series CLI Reference Guide R04

83
spanning-tree max-age
Configure the port BPDU aging time. The timer aging reset is updated upon receipt of a BPDU,
when participating in a spanning tree. When a port (root port and port blocking) timer reaches max-
age due to no BPDU message being received, the switch will
recalculate the topology.
spanning-tree max-age [6-40s]
20s
Global configuration mode
Sets the BPDU timeout time of the switch in global mode.
Set the BPDU timeout of the switch to 30 seconds:
ECS2020-10P(config)# spanning-tree max-age 30
spanning-tree max-hops
The maximum BPDU hops of a switch-port, BPDU, is reduced by 1 per passing device. If the
switch receives a hops value of 0, the BPDU message will be discarded, and the switch will control
the spanning tree size by that value.
spanning-tree max-hops [1-40]
Parameter
Parameter
Description
max-age
This command is used to set the switch BPDU
timeout time, default 20s
Command
Command
Description
show spanning-tree
View the current spanning tree status
and configuration.
Parameter
Parameter
Description
max-hops
This command is used to set the maximum hop count
of the switch BPDU, thus controlling the size of the
spanning tree. The default is 20 hops.
Default
Mode
Usage
Example