【Example】
!Display the information of spanning-tree
QTECH#show spanning-tree interface ethernet 0/7
7.1.2 spanning-tree
Use spanning-tree command to enable STP globally or on a port.
Use no spanning-tree command disable STP globally or on a port.
spanning-tree
no spanning-tree
【Default】
STP is enabled globally
【Command configuration mode】
Global configuration mode, interface configuration mode
【Example】
!Enable STP globally
7-3