Configuring Ethernet MSTP
Configure Ethernet MSTP on a port to enable this feature.
Procedure
Example
Configure Ethernet MSTP:
Switch:1(config)# spanning-tree mstp cost 1 edge-port true force-port-state enable hello-time 100 p2p auto priority 2 protocol-migration true
Variable Definitions
Use the data in the following table to use the spanning-tree mstp command.
Variable |
Value |
---|---|
cost <1–200000000> |
Configures the path cost for a port. Valid values are 1 to 200000000 |
edge-port <false|true> |
Enables or disables the port as an edge port. |
force-port-state enable |
Enables STP. |
hello-time <100–1000> |
Configures the hello-time for a port. |
msti <1–63> |
Configures the port MSTP MSTI. |
p2p {auto|force-false|force-true} |
Enables or disables point-to-point for a port. |
{slot/port[/sub-port]} |
Identifies a single slot and port. If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
priority <0–240> |
Configures priority for the port. |
protocol-migration {false|true} |
If you chose true, the option initiates protocol migration for a port. If you chose false, the option terminates protocol migration for a port. An MSTP-compatible port transmits and receives only RSTP BPDUs. If an MSTP port receives an STP BPDU, it becomes an STP port. User intervention is required to change this port back to MSTP mode. This process is called Port Protocol Migration. You must configure protocol migration to true on all spanning-tree enabled interfaces when you change the spanning tree version from STP-compatible to MSTP for those interfaces to work in the proper mode. |