To begin implementation of Layer 2 TCC switching, configure TCC encapsulation on the desired interfaces of the router that is acting as the switch (Router B in Figure 66).
![]() |
Note: You cannot configure standard protocol families on TCC or CCC interfaces. Only the CCC family is allowed on CCC-encapsulated interfaces. Likewise, only the TCC family is allowed on TCC-encapsulated interfaces. |
For ATM connections, specify the encapsulation type when configuring ATM virtual circuits (VCs) at the [edit interfaces interface-name unit unit-number] hierarchy level. For each VC, you configure whether it is a circuit or a regular logical interface. The default interface type is point-to-point.
- [edit]
- interfaces {
-
- at-fpc/pic/port {
-
- atm-options {
- vpi vpi-identifier maximum-vcs maximum-vcs;
- }
-
- unit logical-unit-number {
- point-to-point; # This is the default interface type.
- encapsulation (atm-tcc-vc-mux | atm-tcc-snap);
- vci vpi-identifier.vci-identifier;
- }
- }
- }
For Cisco HDLC and PPP circuits, specify the encapsulation in the encapsulation statement at the [edit interfaces interface-name] hierarchy level. This statement configures the entire physical device. Also, you must configure the logical interface unit 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 interfaces interface-name] hierarchy level and the [edit interfaces interface-name unit unit-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 is point-to-point.
- [edit]
- interfaces {
-
-
type-fpc/pic/port {
- encapsulation frame-relay-tcc;
-
- unit logical-unit-number {
- point-to-point; # This is the default interface type.
- encapsulation frame-relay-tcc;
- dlci dlci-identifier;
- }
- }
- }