
Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software
How to Configure MPLS VPNs over IP Tunnels
DETAILED STEPS
| 
 | 
 | Command or Action | Purpose | |||
| 
 | Step 1 | 
 | 
 | |||
| 
 | configure | Enters global configuration mode. | ||||
| 
 | 
 | Example: | 
 | 
 | ||
| 
 | 
 | RP/0/0/CPU0:router# configure | 
 | 
 | ||
| 
 | Step 2 | 
 | 
 | |||
| 
 | router bgp  | Enters Border Gateway Protocol (BGP) configuration mode | ||||
| 
 | 
 | 
 | 
 | 
 | allowing you to configure the BGP routing process. | |
| 
 | 
 | Example: | 
 | 
 | ||
| 
 | 
 | RP/0/0/CPU0:router(config)# router bgp 120 | 
 | 
 | ||
| 
 | 
 | 
 | 
 | |||
| 
 | Step 3 | 
 | 
 | |||
| 
 | Configures IPv4 tunnel address family. | |||||
| 
 | 
 | Example: | 
 | 
 | ||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | |||
| 
 | Step 4 | 
 | 
 | |||
| 
 | Configures VPNv4 address family. | |||||
| 
 | 
 | Example: | 
 | 
 | ||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | |||
| 
 | Step 5 | 
 | 
 | |||
| 
 | neighbor  | Places the router in neighbor configuration mode for BGP | ||||
| 
 | 
 | 
 | 
 | 
 | routing and configures the neighbor IP address | |
| 
 | 
 | Example: | 172.168.40.24 as an ASBR eBGP peer. | |||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 172.168.40.24 | 
 | 
 | ||
| 
 | 
 | 
 | 
 | |||
| 
 | Step 6 | 
 | 
 | |||
| 
 | Creates a neighbor and assigns it a remote autonomous | |||||
| 
 | 
 | 
 | 
 | 
 | system number. | |
| 
 | 
 | Example: | 
 | 
 | ||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 2002 | 
 | 
 | ||
| 
 | Step 7 | 
 | 
 | |||
| 
 | Configures VPNv4 address family. | |||||
| 
 | 
 | Example: | 
 | 
 | ||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | |||
| 
 | Step 8 | 
 | 
 | |||
| 
 | Applies a routing policy to updates that are received from a | |||||
| 
 | 
 | 
 | 
 | 
 | BGP neighbor. | |
| 
 | 
 | Example: | • Use the  | |||
| 
 | 
 | of the of route policy. The example shows that the route | ||||
| 
 | 
 | policy name is defined as  | ||||
| 
 | 
 | 
 | 
 | 
 | • Use the in keyword to define the policy for inbound | |
| 
 | 
 | 
 | 
 | 
 | routes. | |
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | 
 | 
 | Cisco IOS XR MPLS Configuration Guide | 
 | 
 | 
| 
 | 
 | 
 | 
 | 
 | 
 | |
| 
 | 
 | 
 | 
 | 
 | 
 | |
| 
 | 
 | 
 | 
 | 
 | ||
| 
 | 
 | 
 | 
 | |||