
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/RP0/CPU0:router# configure | 
 | 
| Step 2 | 
 | 
 | 
| interface type  | Enters interface configuration mode and enables a | |
| 
 | 
 | Loopback interface. | 
| 
 | Example: | 
 | 
| 
 | RP/0/RP0/CPU0:router(config)# interface | 
 | 
| 
 | Loopback0 | 
 | 
| Step 3 | 
 | 
 | 
| ipv4 address  | Enters an IPv4 address and mask for the associated IP | |
| 
 | 
 | subnet. The network mask can be specified in either of two | 
| 
 | Example: | ways: | 
| 
 | 
 | |
| 
 | • The network mask can be a  | |
| 
 | 1.1.1.1 255.255.255.255 | address. For example, 255.0.0.0 indicates that each bit | 
| 
 | 
 | equal to 1 means that the corresponding address bit | 
| 
 | 
 | belongs to the network address. | 
| 
 | 
 | • The network mask can be indicated as a slash (/) and | 
| 
 | 
 | number. For example, /8 indicates that the first 8 bits of | 
| 
 | 
 | the mask are ones, and the corresponding bits of the | 
| 
 | 
 | address are the network address. | 
| Step 4 | 
 | 
 | 
| end | Saves configuration changes. | |
| 
 | or | • When you issue the end command, the system prompts | 
| 
 | 
 | |
| 
 | commit | you to commit changes: | 
| 
 | 
 | Uncommitted changes found, commit them before | 
| 
 | Example: | exiting(yes/no/cancel)? | 
| 
 | [cancel]: | |
| 
 | 
 | |
| 
 | or | – Entering yes saves configuration changes to the | 
| 
 | ||
| 
 | running configuration file, exits the configuration | |
| 
 | 
 | session, and returns the router to EXEC mode. | 
| 
 | 
 | – Entering no exits the configuration session and | 
| 
 | 
 | returns the router to EXEC mode without | 
| 
 | 
 | committing the configuration changes. | 
| 
 | 
 | – Entering cancel leaves the router in the current | 
| 
 | 
 | configuration session without exiting or | 
| 
 | 
 | committing the configuration changes. | 
| 
 | 
 | • Use the commit command to save the configuration | 
| 
 | 
 | changes to the running configuration file and remain | 
| 
 | 
 | within the configuration session. | 
| 
 | 
 | 
 | 
| 
 | Cisco IOS XR MPLS Configuration Guide | 
| 
 |