42
11. spanning hellotime
Syntax:
spanning hellotime [<time>]
Description:
Reads or sets the time in seconds, after which the spanning tree process sends notification of
topology changes to the root bridge, and is used when the bridge is or is attempting to become the
root bridge. The hello time may be any value between 1 and 10 and is also constrained by the
forwarddelay and maxage times. The hello time may also be changed by SNMP command.
Configuration saving saves this information. By default the hello time is set to 2 seconds.
Example:
DSL bridge>
spanning hellotime 5
;
Sets the hello time
to 5 seconds
12. spanning maxage
Syntax:
spanning maxage [<time>]
Description:
Reads or sets the maximum age of received spanning tree protocol information before it is
discarded, and is used when the bridge is or is attempting to become the root bridge. The maxage
time may be any value between 6 and 40 and is also constrained by the forwarddelay and hellotime
times. The maxage time may also be changed by SNMP command.
Configuration saving saves this information. By default the maxage time is set to 20 seconds.
Example:
DSL bridge>
spanning maxage 6
;
Sets the maxage
time to 6 seconds
13. spanning port <number>
The port commands, described in subsequent sections, control the configuration of the bridge’s
ports so far as the operation of the spanning tree protocol is concerned. Ports are numbered from 1.
Every port on the bridge may be specified by typing
all
instead of a port number.
14. spanning port <number> disabled | enable
Syntax:
spanning port <number> disable | enable
Description:
Allows a port to be disabled or enabled. The state of a port may also be changed by SNMP
command. A port, which is enabled will take part in the operation of the spanning tree protocol. If
enabled, the physical port may be “enabled” or “disabled” as demanded by the operation of the
protocol.
Configuration saving saves this information. By default ports are enabled.
Example:
DSL bridge>
spanning port 1 enable
;
Enables port 1 on
the bridge.
15. spanning port <number> pathcost
Syntax:
spanning port <number> pathcost [<cost>]
Description:
Reads or sets the cost of using this port. The cost may be any number between 1 and 65535. The
cost of the port is used when deciding which is the best path to the root bridge. The cost of a port
may also be changed by SNMP command.
Configuration saving saves this information. By default a cost of 10 is assigned to a port
Example:
DSL bridge>
spanning port 2 pathcost
;
Displays the path
cost for port 2 on the bridge