Related Documentation
Configuring MST Instances on a Physical Interface
You can configure a Multiple Spanning-Tree Instance (MSTI) under the following hierarchy levels:
- [edit logical-systems logical-system-name protocols mstp]
- [edit logical-systems logical-system-name routing-instances routing-instance-name protocols mstp]
- [edit protocols mstp]
- [edit routing-instances routing-instance-name protocols mstp]
The routing instance type can be either virtual-switch or layer2-control.
Before you begin, configure Multiple Spanning-Tree Protocol. For configuration details, see Configuring MSTP.
- Enable configuration of a MST instance:
The msti-id value must be from 1 through 64.
Configure the interfaces that participate in the MST instance.
- Enable configuration of the interface:
[edit ... protocols mstp msti msti-id]
user@host# edit interface interface-name - Configure the interface priority:
[edit ... protocols mstp msti msti-id interface interface-name]
user@host# set priority interface-priority - (Optional) By default, the interface link cost is determined
by the link speed. You can configure the interface link cost to control
which bridge is the designated bridge and which port is the designated
port:
[edit ... protocols mstp msti msti-id interface interface-name]
user@host# set cost interface-link-cost - (Optional) Configure the interface as an edge port:
[edit ... protocols mstp msti msti-id interface interface-name]
user@host# set edgeEdge ports do not expect to receive bridge protocol data unit (BPDU) packets. If a BPDU packet is received for an edge port, the port becomes a nonedge port
- Enable configuration of the interface:
- Configure the bridge priority
[edit ... protocols mstp msti msti-id]
user@host# set bridge-priority bridge-priorityFor more information, see Bridge Priority for Election of Root Bridge and Designated Bridge.
- (Optional) An MSTI can map to a range of VLANs just as
a logical port can map to a range of VLANs. The MSTP VLAN specifies
the VLAN or VLAN range to which this MSTI is mapped. The vlan-id is
configured under the logical interface. Configure the VLAN or VLAN
range of the MSTI instance:
[edit]
user@host# set vlan (vlan-id | vlan-id-range)