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

Page 7

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

 

 

 

 

 

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