User's Manual

Table Of Contents
215
Users Manual of CS-6306R
19.1.3.2 Disabling/Enabling STP
Spanning tree is enabled by default. Disable spanning tree only if you are sure there are no loops in the
network topology.
Follow these steps to disable spanning-tree:
Command Purpose
no spanning-tree Disables STP.
To enable spanning-tree, use the following command:
Command Purpose
spanning-tree Enables default mode STP (SSTP).
spanning-tree mode {sstp | rstp} Enables a certain mode STP.
19.1.3.3 Configuring the Switch Priority
You can configure the switch priority and make it more likely that a standalone switch or a switch in the stack
will be chosen as the root switch.
Follow these steps to configure the switch priority:
Command Purpose
spanning-tree sstp priorityvalue
Modifies sstp priority value.
no spanning-tree sstp priority Returns sstp priority to default value
(32768).
19.1.3.4 Configuring the Hello Time
User can configure the interval between STP data units sent by the root switch through changing the hello
time.
Use the following command to configure Hello Time of SSTP:
Command Purpose
spanning-tree sstp hello-timevalue
Configures sstp Hello Time.
no spanning-tree sstp hello-time Returns sstp Hello Time to default
value (4s).
19.1.3.5 Configuring the Max-Age Time
Use the sstp max age to configure the number of seconds a switch waits without receiving spanning-tree
configuration messages before attempting a reconfiguration.
Follow these steps to configure the maximum-aging time:
Command Purpose
spanning-tree sstp max-agevalue
Configures the sstp max-age time.
no spanning-tree sstp max-age Returns the max-age time to default value (20s).