IBM Heritage Network Router User Manual


 
Herita
g
e Series ADSL Brid
g
e/ Router
7-13
Command Sets for Command Line Interface
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