See the topology in Figure 12. In this topology, CE Routers A and C have aggregated Ethernet connections to PE Router B. With CCC, you specify that the circuit from Router A is connected to the circuit from Router C. Router B functions as a cross-connect switch between the two circuits. For a back-to-back connection, all VLAN IDs must be the same on Router A through Router C. You configure Router A and Router C as standard aggregated Ethernet interfaces. For more information about aggregated Ethernet, see Configuring Aggregated Ethernet Interfaces.
Figure 12: Interface-to-Interface Circuit Cross-Connect over Aggregated Ethernet Interfaces

On Router A
- [edit interfaces]
- ae0 {
- vlan-tagging;
-
- aggregated-ether-options {
- minimum-links 1;
- link-speed 1g;
- }
-
- unit 0 {
- vlan-id 600;
-
- family inet {
- address 192.168.1.1/30;
- }
- }
- }
On Router B
- [edit interfaces]
- ae0 {
- encapsulation vlan-ccc;
- vlan-tagging;
-
- aggregated-ether-options {
- minimum-links 1;
- link-speed 1g;
- }
- unit 0 { # CCC switch
- encapsulation vlan-ccc;
- vlan-id 600;
- family ccc;
- }
- ae1 {
- encapsulation vlan-ccc;
- vlan-tagging;
-
- aggregated-ether-options {
- minimum-links 1;
- link-speed 100m;
- }
-
- unit 0 {
- encapsulation vlan-ccc;
- vlan-id 600;
- family ccc;
- }
- }
- [edit protocols]
- mpls {
- interface all;
- }
- connections {
-
- interface-switch layer2-cross-connect {
- interface ae0.0;
- interface ae1.0;
- }
- }
On Router C
- [edit interfaces]
- ae1 {
- vlan-tagging;
-
- aggregated-ether-options {
- minimum-links 1;
- link-speed 1g;
- }
-
- unit 0 {
- vlan-id 600;
-
- family inet {
- address 192.168.1.2/30;
- }
- }
- }