cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
695
Views
0
Helpful
1
Replies

IMPORT MAP XR

pramod
Level 1
Level 1

How to configure vrf import maps using route map on XR device?

1 Reply 1

Laurent Aubert
Cisco Employee
Cisco Employee

Hi,

route-map doesn't exist on XR, it has been replace by RPL (Routing Policy Language) which is far more powerful ;-)

Here is an example:

vrf MVPN

address-family ipv4 unicast

import route-policy IMPORT-VPN-MVPN

import route-target

1:300

!

export route-target

1:300

!

!

!

route-policy IMPORT-VPN-MVPN

if next-hop in (172.16.1.1) then

set local-preference 200

endif

end-policy

http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.8/routing/configuration/guide/rc38rpl.html

HTH

Laurent.

Review Cisco Networking for a $25 gift card