# Configuring a Local Cross-Connect for VPWS

To configure a local cross-connect between two local sites:

1. Configure the two local sites.
   host1(config)#l2vpn exampleco encapsulation-type ethernet host1(config)#l2vpn exampleco site-name westford site-id 1 host1(config)#l2vpn exampleco site-name boston site-id 2 host1(config)#l2vpn exampleco site-range 10 host1(config)#l2vpn exampleco rd 100:11 host1(config)#l2vpn exampleco route-target both 100:1
2. Configure the correct local and remote site IDs on the two local interfaces that are being cross-connected.
   host1(config)#interface fastEthernet 4/0 host1(config-if)#l2vpn exampleco local-site-id 1 remote-site-id 2 host1(config-if)#exit
   host1(config)#interface fastEthernet 4/1 host1(config-if)#l2vpn exampleco local-site-id 2 remote-site-id 1 host1(config-if)#exit

#### Related Documentation

- Configuring an VPWS Instance
- Types of Interfaces to Configure in the VPWS Instance