Configuring a Layer 2 Control Protocol Routing Instance
On MX Series routers only, use the layer2-control routing instance type for Rapid Spanning-Tree Protocol (RSTP) or Multiple Spanning-Tree Protocol (MSTP) in customer edge interfaces of a VPLS routing instance. Layer 2 control protocols enable features such as Layer 2 protocol tunneling or nonstop bridging. This instance type cannot be used if the customer edge interface is multihomed to two provider edge interfaces. If the customer edge interface is multihomed to two provider edge interfaces, use the default bridge protocol data unit (BPDU) tunneling.
To create a routing instance for Layer 2 control protocols, include at least the following statements in the configuration:
routing-instances { routing-instance-name { instance-type layer2-control; interface interface-name; route-distinguisher (as-number:number | ip-address:number); vrf-import [ policy-names ]; vrf-export [ policy-names ]; protocols { mstp { ... interface options ... msti msti-id { ... MSTP MSTI configuration ... } } } } }
You can include these statements at the following hierarchy levels:
[edit]
[edit logical-systems logical-system-name]