On Ethernet-based CE-facing PE router interfaces, you must configure one of the three Ethernet CCC encapsulation types—Ethernet CCC, VLAN CCC, or Extended VLAN CCC. Use the following guidelines to configure an Ethernet-based interface CCC encapsulation:
For more information about VLAN IDs, see “Binding a VLAN ID to a Logical Interface” in the JUNOS Network Interfaces Configuration Guide.
To configure CCC interface encapsulation, include the encapsulation statement at the [edit interfaces ethernet-interface-fpc/pic/port] hierarchy level and select ethernet-ccc, vlan-ccc, or extended-vlan-ccc as the encapsulation type. If you select the VLAN CCC encapsulation, also include the vlan-ccc statement at the [edit interfaces ethernet-interface-fpc/pic/port unit unit-number encapsulation] logical interface hierarchy level. When using either VLAN CCC or extended VLAN CCC encapsulations, include the vlan-tagging statement at the [edit interfaces ethernet-interface-fpc/pic/port] hierarchy level.
- [edit]
- interfaces {
-
- fe-0/1/0 {
- vlan-tagging;
- encapsulation vlan-ccc;
-
- unit 0 {
- encapsulation vlan-ccc;
- vlan-id 600;
- }
- }
- }