Layer 2 Switching

93

so that a port operating at 10Mbps has a default pathcost of 100, a port operating at 100 Mbps has a default pathcost of 10, and a port operating at 1 Gbps has a default pathcost of 1. Setting the pathcost to a larger value on a particular port is likely to reduce the traffic over the LAN connected to it. This may be appropriate if the LAN has lower bandwidth, or if there are reasons for limiting the traffic across it. To modify the STP port pathcost, use the command:

SET STP={stp-nameALL} PORT={port-listALL}

PATHCOST=1..1000000

If the PATHCOST of a port has not been explicitly set by the user, or the default values have been restored to the port, then the default PATHCOST for the port will vary as the speed of the port varies.

The default value for PATHCOST is set according to the speed. For a port operating at 100 Mbps, the default value is 19. For a port operating at 10 Mbps, the default value is 100.

To restore default port pathcost and priority, use the command:

SET STP={stp-nameALL} PORT={port-listALL} DEFAULT

When an STP is enabled in a looped or meshed network, it disables and enables particular ports belonging to it dynamically, to eliminate redundant links. All ports in a VLAN belong to the same STP, and their participation in STP configuration, and hence the possibility of them being elected to the STP’s active topology is enabled by default. To enable or disable particular ports, use the commands:

ENABLE STP PORT={port-listALL}

DISABLE STP PORT={port-listALL}

To display STP port information, use the command:

SHOW STP[={stp-nameALL}] PORT={port-listALL}

Software Release 2.6.1 C613-02039-00 REV A

Page 93
Image 93
Allied Telesis 2.6.1 manual To display STP port information, use the command, Layer 2 Switching