VPWS Configuration Tasks
To configure a PE router to provide VPWS:
- Configure an VPWS instance.
- Configure the encapsulation type and create an VPWS instance on the PE router for each VPWS in which the router participates.
- Configure a customer site name and a unique site identifier for each customer site that belongs to the VPWS instance.
- (Optional) Configure BGP multihoming for the customer site.
- Configure the maximum number of customer sites that can participate in the L2VPN.
- Configure the unique two-part route distinguisher for the VPWS instance.
- Create a list of L2VPN extended communities that the router uses to determine which routes are imported by the VPWS instance.
- Configure the VPWS L2VPN local preference options for control words and sequencing.
- Configure the customer-facing interfaces in the VPWS instance.
- Configure the layer 2 interfaces that connect the PE router to each CE device in the L2VPN.
- Configure each layer 2 interface as a member of an VPWS instance by specifying local and remote site IDs.
- (Optional) Configure local cross-connects.
- Configure two sites in the VPWS instance that are local to the PE router.
- Configure the correct local and remote site IDs on the customer-facing interfaces for the cross-connected sites.
- Configure the loopback interface and router ID for BGP.
- Configure a loopback interface to use as the update source for the TCP connection.
- Assign a router ID that uses the IP address of the loopback interface.
- Set up BGP signaling in the autonomous system that is
configured to signal reachability for this VPWS instance.
- Enable BGP.
- Configure the PE-to-PE BGP session.
- Create the L2VPN address family to configure the router to use BGP signaling.
- Activate the neighbors in the L2VPN address family for the PE-to-PE BGP session.
- Create the VPWS address family to configure the router to exchange layer 2 NLRI for each VPWS instance configured on the router.
- Configure MPLS label-switched paths (LSPs) to connect
the local and remote PE routers.
- Enable MPLS on the virtual router.
- Configure the core-facing interface on which you want to enable MPLS, Label Distribution Protocol (LDP), and topology-driven LSPs.
- Enable MPLS on the core-facing interface.
- Enable LDP and topology-driven LSPs on the core-facing interface.
Related Topics
- Configuring BGP Signaling for VPWS
- Configuring a Local Cross-Connect for VPWS
- Configuring a VPWS Instance
- Configuring Customer-Facing Interfaces in the VPWS Instance
- Configuring the Loopback Interface and Router ID for BGP for VPWS
- Configuring MPLS LSPs for VPWS
- For a detailed sample configuration, see VPWS Configuration Example