Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring VPLS and Integrated Routing and Bridging

Traditional Layer 2 switching environments consist of Layer 2 devices (such as switches) that partition data into broadcast domains. The broadcast domains can be created through physical topologies or logically through virtual local area networks (VLANs). For MX Series routers, you can logically configure broadcast domains within routing instances with the instance-type virtual-switch, routing instances with the instance-type vpls, or bridging domains. The individual routing instances or bridging domains are differentiated through VLAN identifiers and these instances or domains function much like traditional VLANs.

To configure a VLAN with IRB support, include the following statements:

Note:

The routing instance of instance-type vpls is not support on the ACX7000 family. VPLS routing instances on the ACX7000 family is supported with the instance-type of virtual-switch. For information on configuring an IRB with an instance-type of virtual-switch on the ACX7000, see Configure IRB in the VPLS network on ACX7000 Family.

In multihomed VPLS configurations, you can configure VPLS to keep a VPLS connection up if only an IRB interface is available by configuring the irb option for the connectivity-type statement at the [edit routing-instances routing-instance-name protocols vpls] hierarchy level. The connectivity-type statement has the ce and irb options. The ce option is the default and specifies that a CE interface is required to maintain the VPLS connection. By default, if only an IRB interface is available, the VPLS connection is brought down.

Note:

A maximum of 4096 active logical interfaces are supported for a VLAN or on each mesh group in a VPLS routing instance configured for Layer 2 bridging.

For detailed information and configuration instructions on bridging domains and spanning tree protocol, see Junos OS Network Interfaces Library for Routing Devices and Junos OS Routing Protocols Library.

The following sections provide configuration information specific to VPLS in regards to integrated routing and bridging:

Configuring MAC Address Flooding and Learning for VPLS

In a VPLS routing instance or bridge domain, when a frame is received from a CE interface, it is flooded to the other CE interfaces and all of the VE interfaces if the destination MAC address is not learned or if the frame is either broadcast or multicast. If the destination MAC address is learned on another CE device, such a frame is unicasted to the CE interface on which the MAC address is learned. This might not be desirable if the service provider does not want CE devices to communicate with each other directly.

To prevent CE devices from communicating directly include the no-local-switching statement at the [edit bridge-domains bridge-domain-name] hierarchy level:

When you include the no-local-switching statement, frames arriving on a CE interface are sent to VE or core-facing interfaces only.

Note:

When you configure the no-local-switching command at the [edit bridge-domains bridge-domain-name] hierarchy level, it might not prevent multicast traffic from being forwarded between the CE-facing interfaces of the bridge domain. Broadcast, unknown unicast, and known multicast traffic does not exhibit this behavior.

Configuring MSTP for VPLS

When you configure integrated routing and bridging, you might also need to configure the Multiple Spanning Tree Protocol (MSTP). When you configure MSTP on a provider edge (PE) router running VPLS, you must also configure ethernet-vpls encapsulation on the customer-facing interfaces. VLAN-based VPLS interface encapsulations are not supported with MSTP.

Configure IRB in the VPLS network on ACX7000 Family

Junos OS Evolved does not support the routing instance with an instance-type of vpls. You must configure a routing instance with an instance-type of virtual-switch and a protocol of type vpls. To configure IRB support in an VPLS network on devices running Junos OS Evolved, include the following statements:

The following sample configuration shows a routing instance with an instance-type of virtual-switchon an IRB interface: