Define the Encapsulation for Layer 2 TCC Switching
To begin configuring Layer 2 TCC switching, configure TCC encapsulation on the desired interfaces of the router that is acting as the switch (Router B in Figure 30).
For ATM connections, specify the encapsulation type when configuring ATM virtual circuits (VCs) at the
[edit interfacesinterface-nameunitunit-number]hierarchy level. For each VC, you configure whether it is a circuit or a regular logical interface. The default interface type ispoint-to-point.[edit]interfaces {at-fpc/pic/port{atm-options {vpivpi-identifiermaximum-vcsmaximum-vcs;}unitlogical-unit-number{point-to-point; # Default interface typeencapsulation (atm-tcc-vc-mux | atm-tcc-snap);vcivpi-identifier.vci-identifier;}}}For Cisco HDLC and PPP circuits, specify the encapsulation in the
encapsulationstatement at the[edit interfacesinterface-name]hierarchy level. This statement configures the entire physical device. Also, you must configure the logical interfaceunit 0.[edit]interfaces {type-fpc/pic/port{encapsulation (cisco-hdlc-tcc | ppp-tcc);unit 0;}}You can specify the encapsulation for Frame Relay circuits at the
[edit interfacesinterface-name]hierarchy level and the[edit interfacesinterface-nameunitunit-number]hierarchy level. For TCC and CCC interfaces, the DLCI value must be configured in the range of 512 through 1022. The default interface type ispoint-to-point.[edit]interfaces {type-fpc/pic/port{encapsulation frame-relay-tcc;unitlogical-unit-number{point-to-point; # Default interface typeencapsulation frame-relay-tcc;dlcidlci-identifier;}}}