User's Manual
238
34.2 SSTPConfiguration Task List
Choosing the STP Mode
Disabling/Enabling STP
Disabling/Enabling STP on a Port
Setting the Bridge Priority
Setting the Hello Time
Setting the Max Age
Setting the Forward Delay
Setting the Port Priority
Value of the path cost of a port
Monitoring the STP state
Setting the SNMP Trap
34.3 SSTP Configuration Tasks
34.3.1 Choosingthe STP Mode
Run the following command to set the STP mode:
Command Purpose
spanning-tree mode
{sstp | pvst | rstp | mstp} Selects the STP mode.
34.3.2 Disabling/Enabling STP
By default, when STP is started, the running mode is RSTP; if STP is not required, you can stop it from running.
Run the following command to disable STP:
Command Purpose
no spanning-tree
Disables STP.
Run the following commands to enable STP:
Command Purpose
spanning-tree
Enables STP that runs in default mode—
RSTP.
spanning-tree mode
{
sstp | pvst
|
rstp | mstp
} Selects a mode for the enabled STP.
34.3.3 Disabling/Enabling STP on a Port
By default, STP is running on all switch ports (physical ports and aggregation ports); if you want to disable STP,
you can run the following command in port configuration mode.
Command Purpose
no spanning-tree
Disables STP to run on the ports.
After STP is forbidden to run on a port, this port maintains a designated port and its forwarding state and stops
to transmit BPDU again. However, each STP mode still has such operations as type checkup, numbering,
edge information update and topology information update towards BPDU that a port receives.