Gigabit Ethernet, 4-port Fast Ethernet, MX-series router Gigabit Ethernet, Tri-Rate Ethernet copper, 10-Gigabit Ethernet, and aggregated Ethernet interfaces with VLAN tagging enabled can use extended VLAN CCC or VLAN VPLS, which allow 802.1Q tagging. To configure the encapsulation on a physical interface, include the encapsulation statement at the [edit interfaces interface-name] hierarchy level, specifying extended-vlan-ccc or extended-vlan-vpls:
- [edit interfaces interface-name]
-
encapsulation (extended-vlan-ccc |
extended-vlan-vpls);
For extended VLAN CCC and extended VLAN VPLS encapsulation, all VLAN IDs 1 and higher are valid. VLAN ID 0 is reserved for tagging the priority of frames.
![]() |
Note: For extended VLAN CCC, the VLAN IDs on ingress and egress interfaces must be the same. For back-to-back connections, all VLAN IDs must be the same. |
Configure extended VLAN CCC encapsulation on Gigabit Ethernet ingress and egress interfaces:
- interfaces ge-0/0/0 {
- vlan-tagging;
- encapsulation extended-vlan-ccc;
-
- unit 0 {
- vlan-id 2;
- family ccc;
- }
- }
- interfaces ge-1/0/0 {
- vlan-tagging;
- encapsulation extended-vlan-ccc;
-
- unit 0 {
- vlan-id 2;
- family ccc;
- }
- }
Configure extended VLAN VPLS encapsulation on an aggregated Ethernet interface:
- interfaces ae0 {
- vlan-tagging;
- encapsulation extended-vlan-vpls;
-
- unit 0 {
- vlan-id 100;
- }
- }