Configuring Local Cross-Connects Between Ethernet/VLAN Interfaces
This section provides an example for configuring a local cross-connect that uses MPLS
between two Ethernet/VLAN interfaces.
NOTE: You must use the mpls-relay command instead of the route interface command
to configure a local cross-connect, regardless of the MPLS tunneling method used in
the core network.
Figure 119 on page 533 shows the interface stack that the router builds for this configuration.
Figure 119: Local Cross-Connect Between Ethernet/VLAN Interfaces
To configure the application shown in Figure 119 on page 533:
1. Configure a local IP address.
You can use any reachable local IP address. This example uses a loopback interface
to provide the local IP address.
host1(config)#interface loopback 0
host1(config-if)#ip address 10.1.1.1 255.255.255.255
host1(config-if)#exit
2. Configure the Ethernet/VLAN interface on one side of the local cross-connect.
host1(config)#interface fastEthernet 9/1
host1(config-if)#encapsulation vlan
host1(config-if)#exit
host1(config)#interface fastEthernet 9/1.1
host1(config-if)#vlan id 10
3. (Optional) If you are configuring a multiservice local cross-connect, assign an IP
address and mask to the Ethernet/VLAN interface.
host1(config-if)#ip address 10.1.2.3 255.255.255.0
4. Configure MPLS tunneling on this side of the connection by issuing the mpls-relay
command.
533Copyright © 2010, Juniper Networks, Inc.
Chapter 9: Configuring Layer 2 Services over MPLS