3Com Switch 8800 Configuration Guide
Chapter 38 MSTP Region-configuration
38-35
Table 38-31
Enable/Disable MSTP on a port
Operation
Command
Enable MSTP on a port.
stp enable
Disable MSTP on a port.
stp disable
You can enable/disable MSTP on a port with either of the earlier-mentioned measures.
Note that redundant route may be generated after MSTP is disabled.
By default, MSTP is enabled on all the ports after it is enabled on the device.
38.3 Displaying and Debugging MSTP
After the above configuration, execute the
display
command in any view to display the
running of the MSTP configuration, and to verify the effect of the configuration. Execute
the
reset stp
[
interface
interface
-
list
]
command in user view to clear the statistics of
MSTP module. Execute the
debugging
command in user view to debug the MSTP
module
Table 38-32
Display and debug MSTP
Operation
Command
Display the MSTP information about
the current switch.
display stp
Display the configuration information
about the current port and the switch.
display stp instance instance
-
id
[
interface interface
-
list
] [
brief
]
Display the current configurations of
the specified service board.
display stp slot number
[
brief
]
Display the configuration information
about the region.
display stp region-configuration
Display TC statistics
display stp tc
[
instance
instanceid
] {
all
|
detected
|
received
|
sent
}
Clear the MSTP statistics information.
reset stp
[
interface
interface
-
list
]
Enable event debugging of MSTP.
debugging stp event
Enable packet debugging of MSTP.
debugging stp packet
Enable/Disable MSTP (packet
receiving/transmitting, event, error)
debugging on the port.
[
undo
]
debugging stp
[
interface
interface
-
list
] {
packet
|
event
}
Enable/Disable the global MSTP
debugging.
[
undo
]
debugging stp
{
global-event
|
global-error
|
all
}
Enable/Disable specified STI
debugging
[
undo
]
debugging stp instance
instance
-
id