Cisco Systems MPC-273 manual MPC-282

Page 10

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 interface-id

Enters interface configuration mode and enables a

 

 

Loopback interface.

 

Example:

 

 

RP/0/RP0/CPU0:router(config)# interface

 

 

Loopback0

 

Step 3

 

 

ipv4 address 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:

 

 

 

RP/0/RP0/CPU0:router(config-if)# ipv4 address

• The network mask can be a four-part dotted decimal

 

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)?

 

RP/0/RP0/CPU0:router(config-if)# end

[cancel]:

 

 

 

or

– Entering yes saves configuration changes to the

 

RP/0/RP0/CPU0:router(config-if)# commit

 

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

MPC-282

OL-12284-01

Image 10
Contents Contents Overview Mpls VPNs over IP Tunnels Restrictions for Configuring Mpls VPNs over IP TunnelsInformation About Mpls VPNs over IP Tunnels MPC-274PE Routers and Address Space MPC-275BGP Multipath Load Sharing for Mpls VPNs over IP Tunnels Quality of Service Using the Modular QoS CLIPacket Validation Mechanism MPC-276Inter-AS and CSC Support over IP Tunnels How to Configure Mpls VPNs over IP TunnelsConfiguring the Global VRF Definition MPC-277Detailed Steps MPC-278Configuring a Route-Policy Definition MPC-279Configuring a Static Route MPC-280Configuring an IPv4 Loopback Interface MPC-281MPC-282 Configuring a CFI VRF Interface MPC-283Configuring the Core Network MPC-284Configuring Inter-AS and CSC support over IP Tunnels MPC-285As an Asbr eBGP peer MPC-286Command or Action Purpose MPC-287Configuring the Backbone Carrier Core for IP Tunnels MPC-288MPC-289 MPC-290 MPC-291 Verifying Mpls VPN over IP MPC-292Configuring a Route-Policy Definition Example Configuring an L2TPv3 Tunnel ExampleConfiguring the Global VRF Definition Example MPC-293Configuring a CFI VRF Interface Example Configuring a Static Route ExampleConfiguring an IPv4 Loopback Interface Example Additional ReferencesRFCs StandardsMIBs MPC-295Technical Assistance MPC-296