[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring MPLS LSPs for VPWS

As part of a VPWS L2VPN configuration, you must create MPLS label-switched paths (LSPs) to connect the local PE router and the remote PE router.

This section explains one way to create a basic MPLS configuration using the mpls and mpls ldp commands.

To configure MPLS LSPs on the PE router:

1. Enable MPLS on the virtual router.
   `
   host1(config)#mpls
   `
2. Configure the core-facing interface on which you want to enable MPLS, Label Distribution Protocol (LDP), and topology-driven LSPs.
   `
   host1(config)#interface atm 5/0.100
   host1(config-subif)#atm pvc 100 1 100 aal5snap 0 0 0
   host1(config-subif)#ip address 192.168.5.5 255.255.255.0
   `
3. Enable MPLS on the core-facing interface.
   `
   host1(config-subif)#mpls
   `
4. Enable LDP and topology-driven LSPs on the core-facing interface.
   `
   host1(config-subif)#mpls ldp
   host1(config-subif)#exit
   `

#### Related Topics

- Configuring MPLS
- atm pvc
- interface atm
- ip address
- mpls
- mpls ldp

[Contents] [Prev] [Next] [Index] [Report an Error]