Configure CCC Encapsulation on Interfaces
You need to specify a circuit cross-connect (CCC) encapsulation type for each PE-router-to-CE-router interface running a Layer 2 VPN. This encapsulation type should match the encapsulation type configured under the routing instance. For information about how to configure the encapsulation type under the routing instance, see Configure the Encapsulation Type.
You need to configure the CCC encapsulation on both the physical and logical interfaces. To configure the CCC encapsulation type, include the encapsulation statement:
encapsulationccc-encapsulation-type;To configure the CCC encapsulation type on the physical interface, include the encapsulation statement at the following hierarchy levels:
[edit interfacesinterface-name][edit logical-routerslogical-router-nameinterfacesinterface-name]To configure the CCC encapsulation type on the logical interface, include the encapsulation statement at the following hierarchy levels:
[edit interfacesinterface-nameunitlogical-unit-number][edit logical-routerslogical-router-nameinterfacesinterface-nameunitlogical-unit-number]You configure the encapsulation type at the
[edit interfaces]hierarchy level differently from the[edit routing-instances] hierarchy level. For example, you specify the encapsulation asframe-relayat the[edit routing-instances]hierarchy level and asframe-relay-cccat the[edit interfaces]hierarchy level.You can run both standard Frame Relay and CCC Frame Relay on the same device. If you specify Frame Relay encapsulation (
frame-relay-ccc) for the interface, you should also configure the encapsulation at the[edit interfacesinterface nameunitunit-number]hierarchy level asframe-relay-ccc. Otherwise, the logical interface unit defaults to standard Frame Relay.For more information on how to configure interfaces and interface encapsulations, see the JUNOS Network Interfaces and Class of Service Configuration Guide.