There are four types of VPLS interface encapsulation: Ethernet VPLS, Ethernet VPLS over ATM LLC, VLAN VPLS, and extended VLAN VPLS. When one of these encapsulations is applied to an interface, a family type of VPLS is enabled by default. The encapsulation types are:
![]() |
Note: The built-in Gigabit Ethernet PIC on the M7i router does not support MPLS. |
Use the following guidelines to configure a VPLS interface:
To configure VPLS interface encapsulation for an Ethernet interface, include the encapsulation statement at the [edit interfaces interface-fpc/pic/port] hierarchy level and select ethernet-vpls, vlan-vpls, extended-vlan-vpls, flexible-ethernet-services or ether-vpls-over-atm-llc as the encapsulation type. If you select the VLAN VPLS encapsulation, also include the vlan-vpls statement at the [edit interfaces ethernet-interface-fpc/pic/port unit unit-number encapsulation] logical interface hierarchy level. When using either VLAN VPLS or extended VLAN VPLS encapsulations, include the vlan-tagging statement at the [edit interfaces ethernet-interface-fpc/pic/port] hierarchy level.
To configure VPLS interface encapsulation for an ATM2 IQ interface, include the encapsulation statement at the [edit interfaces at-fpc/pic/port] hierarchy level and select ether-vpls-over-atm-llc as the encapsulation type. To configure VPLS interface encapsulation for a gigabit Ethernet IQ interface or gigabit Ethernet PICs with small form-factor pluggable transceivers (SFPs), include the encapsulation statement at the [edit interfaces ge-fe/pic/port] hierarchy level and select flexible-ethernet-services as the encapsulation type.
- [edit]
- interfaces {
-
- ge-0/1/0 {
- vlan-tagging;
- encapsulation vlan-vpls;
-
- unit 0 {
- encapsulation vlan-vpls;
- vlan-id 600;
- }
- }
-
- at-0/2/0 {
- encapsulation ether-vpls-over-atm-llc;
- }
- }