Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

How to Configure MPLS VPNs over IP Tunnels

 

Command or Action

Purpose

Step 8

 

 

import route-target[0-65535.0-65535:0-65535

Configures a VPN routing and forwarding (VRF) import

 

as-number:nn ip-address:nn]

route-target extended community.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-vrf-af)# import

 

 

route-target 500:99

 

Step 9

 

 

export route-target[0-65535.0-65535:0-65535

Configures a VPN routing and forwarding (VRF) export

 

as-number:nn ip-address:nn]

route-target extended community.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-vrf-af)# import

 

 

route-target 700:88

 

Step 10

 

 

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-vrf-af)# end

[cancel]:

 

 

 

or

Entering yes saves configuration changes to the

 

RP/0/RP0/CPU0:router(config-vrf-af)# 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.

 

 

 

Configuring a Route-Policy Definition

Perform this task to configure a route-policy definition for CE-PE EBGP.

SUMMARY STEPS

1.configure

2.route-policy name pass

3.end policy

 

 

Cisco IOS XR MPLS Configuration Guide

 

 

 

 

 

 

 

OL-12284-01

 

 

MPC-279

 

 

 

 

 

Page 7
Image 7
Cisco Systems MPC-273 manual Configuring a Route-Policy Definition, MPC-279