![]() | Command: spanning-tree (Ethernet Interface Configuration) |
Sets the Spanning Tree Protocol (STP) participation for the ports within the specified Spanning Tree Group.
spanning-tree [port <port>] cost <1-65535> [priority {00 | 10 | < | F0}]
default spanning-tree [port <port>] [cost] [learning] [priority] [stp <1-8>]
no spanning-tree [port <port>] [stp <1-8>]
spanning-tree [port <port>] priority {00 | 10 | < | F0}
spanning-tree [port <port>] learning {disable | normal | fast} [cost <1-65535>] [priority {00 | 10 | < | F0}]
spanning-tree [port <port>] stp <1-8> [cost <1-65535>] [learning {disable | normal | fast} ] [priority {00 | 10 | < | F0}]
None
Ethernet Interface Configuration
| Parameter | Description |
|---|---|
|
cost <1-65535> | Enter the path cost of the spanning tree; range is from 1–65535. |
|
learning {disable|normal|fast} | Specify the STP learning mode: disable: disables FastLearn mode; normal: changes to normal learning mode; fast: enables FastLearn mode. |
|
port <port> | Enable the spanning tree for the specified port or ports; enter port or ports you want enabled for the spanning tree. If you omit this parameter, the system uses the port number you specified when you issued the interface command to enter the Interface Configuration mode. |
|
priority {00 | 10 | < | F0} | Set the spanning tree priority for a port as a hexadecimal value. |
|
stp <1-8> | Specify the spanning tree group; enter the STG ID. |