Configuring MSTP
How to Configure MSTP
Command
1.
configure terminal
2.
spanning-tree mst instance-id root primary
[diameter net-diameter [hello-time seconds]]
3.
spanning-tree mst instance-id root secondary
[diameter net-diameter [hello-time seconds]]
4.
end
Configuring the Optional MSTP Parameters
Before You Begin
Exercise care when configuring the switch priority. For most situations, we recommend that you use the spanning-tree
mst instance-id root primary and the spanning-tree mst instance-id root secondary global configuration commands
to modify the switch priority.
Purpose
Enters global configuration mode.
Configures a switch as the root switch.
instance-id—Specifies a single instance, a range of
instances separated by a hyphen, or a series of instances
separated by a comma. The range is 0 to 4096.
(Optional) diameter net-diameter—Specifies the
maximum number of switches between any two end
stations. The range is 2 to 7. This keyword is available only
for MST instance 0.
(Optional) hello-time seconds—Specifies the interval in
seconds between the generation of configuration
messages by the root switch. The range is 1 to 10
seconds; the default is 2 seconds.
Configures a switch as the secondary root switch.
instance-id—Specifies a single instance, a range of
instances separated by a hyphen, or a series of instances
separated by a comma. The range is 0 to 4096.
(Optional) diameter net-diameter—Specifies the
maximum number of switches between any two end
stations. The range is 2 to 7. This keyword is available only
for MST instance 0.
(Optional) hello-time seconds—Specifies the interval in
seconds between the generation of configuration
messages by the root switch. The range is 1 to 10
seconds; the default is 2 seconds.
Use the same network diameter and hello-time values that you
used when configuring the primary root switch.
Returns to privileged EXEC mode.
348