Configuring a Local Cross-Connect for L2VPNs
You configure a local cross-connect between two local customer sites by first configuring the two local sites and then configuring the correct local and remote site IDs on the two local interfaces that you are cross-connecting. Figure 125 illustrates cross-connects by showing a portion of a sample L2VPN topology.
![]()
The following example shows the creation of a cross-connect between sites Westford and Boston. On one customer-facing interface, Westford is considered local and Boston is remote; on the other customer-facing interface, Boston is considered local and Westford is remote. From the perspective of the PE router, both sites are local.
To configure a local cross-connect between two local sites:
- Configure the two local sites.
host1(config)#l2vpn exampleco encapsulation-type ethernethost1(config)#l2vpn exampleco site-name westford site-id 1host1(config)#l2vpn exampleco site-name boston site-id 2host1(config)#l2vpn exampleco site-range 10host1(config)#l2vpn exampleco rd 100:11host1(config)#l2vpn exampleco route-target both 100:1- Configure the correct local and remote site IDs on the two local interfaces that are being cross-connected.
host1(config)#interface fastEthernet 4/0host1(config-if)#l2vpn exampleco local-site-id 1 remote-site-id 2host1(config-if)#exithost1(config)#interface fastEthernet 4/1host1(config-if)#l2vpn exampleco local-site-id 2 remote-site-id 1host1(config-if)#exit