54 | Rapier Switch User Guide |
To restore default port pathcost and priority, use the command:
SET STP
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
DISABLE STP
To display STP port information, use the command:
SHOW STP
Figure 15: Example output from the SHOW STP PORT command.
STP Port Information |
|
Port | 1 |
State | Forwarding |
STP | default |
STP Status | ON |
Port Priority | 128 |
Port Identifier | 8001 |
Pathcost | 19 |
Designated Root | 32768 : |
Designated Cost | 0 |
Designated Bridge ..... 32768 : | |
Designated Port | 8001 |
Table 11: Parameters displayed in the output of the SHOW STP PORT command
Parameter | Meaning |
|
|
Port | The number of the port. |
|
|
State | The state of the port; one of “Disabled”, “Blocking”, |
| “Listening”, “Learning” or “Forwarding”. |
|
|
STP | The name of the STP that the port is a member of. |
|
|
STP Status | The status of the STP that the port is a member of; one of |
| “ON” or “OFF”. |
|
|
Port Priority | The priority of the port. Used as part of the Port Identifier |
| field, it forms the upper 8 bits of the Port Identifier field. |
|
|
Port Identifier | The unique identifier of the port. This parameter is used to |
| determine the root port or designated port of the switch. |
|
|
Pathcost | The path cost of the port. |
|
|
Designated Root | The unique Bridge Identifier of the root bridge, as recorded |
| in the configuration BPDU. |
|
|
Designated Cost | The designated cost for the port. |
|
|
Designated Bridge | Either the unique Bridge Identifier of the switch, or the |
| unique Bridge Identifier of the switch believed to be the |
| designated bridge for the LAN to which the port is |
| attached. |
Rapier Switch Software Release 2.2.1