beautypg.com

Spanning port disabled | enable, Spanning port pathcost – IBM ADSL Bridge/ Router Heritage User Manual

Page 78

background image

Heritage Series ADSL Bridge/ Router

7-13

Command Sets for Command Line Interface

13. spanning port

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 disabled | enable

Syntax:

spanning port 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 pathcost

Syntax:

spanning port pathcost []

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