Configure a full-duplex Layer 2 switching cross-connect between Router A and Router C, using a Juniper Networks router, Router B, as the virtual switch. See the topology in Figure 28 and Figure 29.
Figure 28: Topology of a Frame Relay Layer 2 Switching Cross-Connect

- [edit]
- interfaces {
-
- so-1/0/0 {
- encapsulation frame-relay-ccc;
-
- unit 1 {
- point-to-point;
- encapsulation frame-relay-ccc;
- dlci 600;
- }
- }
-
- so-2/0/0 {
- encapsulation frame-relay-ccc;
-
- unit 2 {
- point-to-point;
- encapsulation frame-relay-ccc;
- dlci 750;
- }
- }
- }
- protocols {
-
- connections {
-
- interface-switch router-a-router-c {
- interface so-1/0/0.1;
- interface so-2/0/0.2;
- }
- }
-
- mpls {
- interface all;
- }
- }
Figure 29: Sample Topology of a VLAN Layer 2 Switching Cross-Connect

- [edit]
- interfaces {
-
- ge-2/1/0 {
- vlan-tagging;
- encapsulation vlan-ccc;
-
- unit 0 {
- encapsulation vlan-ccc;
- vlan-id 600;
- }
- }
-
- ge-2/2/0 {
- vlan-tagging;
- encapsulation vlan-ccc;
-
- unit 0 {
- encapsulation vlan-ccc;
- vlan-id 600;
- }
-
- unit 1 {
-
- family inet {
- vlan-id 1;
- address 10.9.200.1/24;
- }
- }
- }
- }
- protocols {
-
-
mpls {
-
interface all;
- }
-
-
connections {
-
-
interface-switch layer2-sw {
- interface ge-2/1/0.0;
- interface ge-2/2/0.0;
- }
- }
- }