Configure TCC Encapsulation on Interfaces
Also known as Layer 2.5 VPNs, the translation cross-connect (TCC) encapsulation types allow you to configure different encapsulation types at the ingress and egress of a Layer 2 VPN or the ingress and egress of a Layer 2 circuit. For example, a CE router at the ingress of a Layer 2 VPN path can send traffic in a Frame Relay encapsulation. A CE router at the egress of that path can receive the traffic in an ATM encapsulation.
For information on how to configure encapsulations for Layer 2 circuits, see Configure the Interface Encapsulation Type for Layer 2 Circuits.
The configuration for TCC encapsulation types is similar to the configuration for CCC encapsulation types. For Layer 2 VPNs, you specify a TCC encapsulation type for each PE-router-to-CE-router interface. The encapsulation type configured for the interface 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 TCC encapsulation on both the physical and logical interfaces. To configure the TCC encapsulation type, include the encapsulation statement:
encapsulationtcc-encapsulation-type;To configure the TCC 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 TCC 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 than at the[edit routing-instances]hierarchy level. For example, you specify the encapsulation asframe-relayat the[edit routing-instances]hierarchy level and asframe-relay-tccat the[edit interfaces]hierarchy level.For Layer 2.5 VPNs employing an Ethernet interface as the TCC router, you can configure an Ethernet TCC or an extended VLAN TCC.
To configure an Ethernet TCC or an extended VLAN TCC, include the proxy and remote statements:
proxy {inet-address address;}remote {(inet-address | mac-address) address;}You can include these statements at the following hierarchy levels:
- [
editinterfacesinterface-nameunitlogical-unit-numberfamilytcc]- [
editlogical-interfaceslogical-interface-nameinterfacesinterface-nameunitlogical-unit-numberfamilytcc]The
proxy inet-addressaddress statement defines the IP address for which the TCC router is proxying.The
remote (inet-address | mac-address)statement defines the location of the remote router.Ethernet TCC is supported on interfaces that carry IPv4 traffic only. Ethernet TCC encapsulation is supported on 1-port Gigabit Ethernet, 2-port Gigabit Ethernet, 4-port Gigabit Ethernet, and 4-port Fast Ethernet Physical Interface Cards (PICs) only.
For more information on how to configure interfaces and interface encapsulations, see the JUNOS Network Interfaces and Class of Service Configuration Guide.