Configuring Multiple Spanning-Tree Protocol
Copyright © 2017, Juniper Networks, Inc.
You can configure the Multiple Spanning-Tree Protocol (MSTP) under the following
hierarchy level:
[edit protocols]
To configure the Multiple Spanning-Tree Protocol:
Enable RSTP as the version of spanning-tree protocol to be configured:
1.
[edit]
user@host@ edit ... protocols mstp
Configure the interfaces that participate in the MSTP instance.
2.
Enable configuration of the interface:
a.
[edit ... protocols mstp]
user@host# edit interface interface-name
Configure the interface priority:
b.
[edit ... protocols mstp interface interface-name]
user@host# set priority interface-priority
(Optional) By default, the interface link cost is determined by the link speed. You
c.
can configure the interface link cost to control which bridge is the designated bridge
and which port is the designated port:
[edit ... protocols mstp interface interface-name]
user@host# set cost interface-link-cost
(Optional) Configure the interface as an edge port:
d.
[edit ... protocols mstp interface interface-name]
user@host# set edge
Configure the bridge priority
3.
[edit ... protocols mstp]
user@host# set bridge-priority bridge-priority
For more information, see
Bridge" on page
406.
Chapter 12: Configuring Layer 2 Control Protocol
"Bridge Priority for Election of Root Bridge and Designated
413