To configure Layer 2 or Layer 2.5 switching cross-connects, configure the CCC or TCC encapsulation on the routing platform that is acting as the switch (Router B in Figure 9).
![]() |
Note: When you use CCC encapsulation, you can configure the ccc family only. Likewise, when you use TCC encapsulation, you can configure the tcc family only. |
This section contains the following topics:
For PPP or Cisco HDLC circuits, specify the encapsulation by including the encapsulation statement at the [edit interfaces interface-name] hierarchy level. This statement configures the entire physical device. For these circuits to work, you must configure a logical interface unit 0.
- [edit interfaces interface-name]
-
encapsulation (ppp-ccc | cisco-hdlc-ccc
| ppp-tcc | cisco-hdlc-tcc);
- unit 0;
For ATM circuits, include the vpi statement [edit interfaces interface-name atm-options] hierarchy level:
- [edit interfaces at-fpc/pic/port]
-
atm-options {
-
vpi vpi-identifier;
- }
On the logical interface, include the following statements:
-
point-to-point;
-
encapsulation (atm-ccc-cell-relay |
atm-ccc-vc-mux | atm-tcc-vc-mux | atm-tcc-snap);
-
vci vpi-identifier.vci-identifier;
You can include the logical interface statements at the following hierarchy levels:
For each VC, configure whether it is a circuit or a regular logical interface. The default interface type is point-to-point.
For Frame Relay circuits, include the encapsulation statement at the [edit interfaces interface-name] hierarchy level:
- [edit interfaces interface-name]
-
encapsulation type;
On the logical interface, include the following statements:
-
point-to-point;
-
encapsulation type;
-
dlci dlci-identifier;
You can include the logical interface statements at the following hierarchy levels:
The encapsulation type can be one of the following:
For each DLCI, configure whether it is a circuit or a regular logical interface. The DLCI for regular interfaces must be from 1 through 511. For CCC and TCC interfaces, it must be from 512 through 1022. This restriction does not apply to IQ interfaces. The default interface type is point to point.
You can configure Ethernet CCC encapsulation on Fast Ethernet, Gigabit Ethernet, and aggregated Ethernet interfaces.
![]() |
Note: CCC over aggregated Ethernet requires an M-series Enhanced Flexible PIC Concentrator (FPC). For example configurations of CCC over aggregated Ethernet, see Examples: Configuring Switching Cross-Connects. |
For Ethernet CCC circuits, specify the encapsulation by including the encapsulation statement at the [edit interfaces interface-name] hierarchy level. This statement configures the entire physical device.
- [edit interfaces interface-name]
- encapsulation ethernet-ccc;
- unit logical-unit-number {
- ...
- }
- [edit interfaces aex]
- encapsulation ethernet-ccc;
- unit logical-unit-number {
- ...
- }
You can configure Ethernet virtual local area network (VLAN) circuits on Fast Ethernet, Gigabit Ethernet, and aggregated Ethernet interfaces. For Ethernet VLAN circuits, specify the encapsulation by including the encapsulation statement at the [edit interfaces interface-name] hierarchy level. This statement configures the entire physical device. You must also enable VLAN tagging. To do this, include the following statements:
- [edit interfaces interface-name]
- vlan-tagging;
- encapsulation (extended-vlan-ccc | vlan-ccc);
- [edit interfaces aex]
- vlan-tagging;
- encapsulation vlan-ccc;
On the logical interface, include the following statements:
- encapsulation vlan-ccc;
- vlan-id number;
You can include the logical interface statements at the following hierarchy levels:
Ethernet interfaces in VLAN mode can have multiple logical interfaces. For encapsulation type vlan-ccc, VLAN IDs 1 through 511 are reserved for normal VLANs, and VLAN IDs 512 through 1023 are reserved for CCC VLANs. For encapsulation type extended-vlan-ccc, VLAN IDs 1 through 4094 are valid. VLAN ID 0 is reserved for tagging the priority of frames.