Install guide
Rapier Layer 3 Gigabit Switch Software Release 2.1.0 45
Rapier Switch Software Release 2.1.0
C613-10200-01 Rev 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 PORT={port-list|ALL} PATHCOST=1..1000000 [other-
parameters...]
The PATHCOST parameter sets the path cost for each port. The PATHCOST for
a LAN port should be set to a maximum of 65535. If the port is to be the root
port then this value is used to determine the total cost from the switch to the
Root Bridge. The pathcost can be calculated using the formula:
PATHCOST = 1000 / Port_Speed_in_MB_per_second
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 PORT={port-list|ALL} DEFAULTS
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-list|ALL}
DISABLE STP PORT={port-list|ALL}
To display STP port information, use the command:
SHOW STP PORT[={port-list|ALL}]
Figure 17: Example output from the SHOW STP PORT command.
Spanning Tree Protocol
------------------------------------------------------------
Port .................... 1
State ................. Forwarding
STP ................... default
STP Status ............ ON
Pathcost .............. 19
Designated Cost ....... 0
Designated Bridge ..... 32768 : 00-00-cd-00-a9-a5
Port Priority ......... 128
Port .................... 2
State ................. Disabled
STP ................... all1
STP Status ............ OFF
Pathcost .............. 19
Designated Cost ....... 0
Designated Bridge ..... 32768 : 00-00-cd-00-a9-a5
Port Priority ......... 128
------------------------------------------------------------