Configure all Multiple Spanning Tree Protocol (MSTP) parameters for a port.
default spanning-tree mstp
default spanning-tree mstp port {slot/port[/sub-port]}
default spanning-tree mstp port {slot/port[/sub-port]} cost
default spanning-tree mstp port {slot/port[/sub-port]} edge-port
default spanning-tree mstp port {slot/port[/sub-port]} force-port-state
default spanning-tree mstp port {slot/port[/sub-port]} hello-time
default spanning-tree mstp port {slot/port[/sub-port]} p2p
default spanning-tree mstp port {slot/port[/sub-port]} priority
default spanning-tree mstp port {slot/port[/sub-port]} protocol-migration
no spanning-tree mstp
no spanning-tree mstp port {slot/port[/sub-port]}
spanning-tree mstp port {slot/port[/sub-port]} cost <1-200000000>
spanning-tree mstp port {slot/port[/sub-port]} edge-port { false | true }
spanning-tree mstp port {slot/port[/sub-port]} force-port-state enable
spanning-tree mstp port {slot/port[/sub-port]} hello-time <100-1000>
spanning-tree mstp port {slot/port[/sub-port]} p2p auto
spanning-tree mstp port {slot/port[/sub-port]} p2p force-false
spanning-tree mstp port {slot/port[/sub-port]} p2p force-true
spanning-tree mstp port {slot/port[/sub-port]} priority <0-240>
spanning-tree mstp port {slot/port[/sub-port]} protocol-migration false
spanning-tree mstp port {slot/port[/sub-port]} protocol-migration true
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.
None
GigabitEthernet Interface Configuration