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 121 shows the interface stack that the router builds for this configuration.

Figure 121: Local Cross-Connect Between Ethernet/VLAN Interfaces

Local Cross-Connect Between Ethernet/VLAN
Interfaces

To configure the application shown in Figure 121:

  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.

    When you issue the mpls-relay command, you must use a reachable local IP address and the same VC ID value (4) on both sides of the connection.

    host1(config-if)#mpls-relay 10.1.1.1 4 host1(config-if)#exit
  5. Configure the Ethernet/VLAN interface on the other side of the local cross-connect.
    host1(config)#interface fastEthernet 3/1 host1(config-if)#encapsulation vlan host1(config-if)#exit host1(config)#interface fastEthernet 3/1.1 host1(config-if)#vlan id 11
  6. (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.4 255.255.255.0
  7. Configure MPLS tunneling on this side of the connection by issuing the mpls-relay command.

    You must use a reachable local IP address and the same VC ID value (4) specified in Step 4.

    host1(config-if)#mpls-relay 10.1.1.1 4 host1(config-if)#exit

Related Documentation