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. See Configure the Encapsulation Type for information about how to configure the encapsulation type under the routing instance.
To configure the CCC encapsulation type, include the following statements:
interfaces {interface name{encapsulationccc-encapsulation-type;unitunit number{encapsulationccc-encapsulation-type;}}}You can configure these statements 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 than you do at the[edit routing-instance]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 Internet Software Configuration Guide: Network Interfaces and Class of Service.