cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10585
Views
15
Helpful
22
Replies

ROUTE MAP and POLICY MAP vs PRL

HI

I need to  configure  ASR 9006 with  this configuration.

OLD and good configuration:

access-list 199 deny   ip any 186.32.128.0 0.0.31.255 log

access-list 199 deny   ip any 186.32.224.0 0.0.15.255 log

access-list 199 deny   ip any 190.53.48.0 0.0.15.255 log

access-list 199 deny   ip any 190.53.64.0 0.0.31.255 log

access-list 199 deny   ip any 190.53.76.0 0.0.3.255 log

access-list 199 deny   ip any 190.53.80.0 0.0.1.255 log

access-list 199 deny   ip any 190.53.92.0 0.0.3.255 log

access-list 199 permit ip any any

route-map 123456 permit 10

match ip address 199

set ip next-hop 144.224.115.81

interface FastEthernet1/14

  no switchport

ip address 10.206.1.1 255.255.255.252

ip policy route-map 123456

and my new config  but this is bad

prefix-set XX

  186.32.128.0/19,

  190.53.192.0/19,

  186.32.224.0/20,

  190.53.48.0/20,

  205.211.248.0/21,

  205.211.192.0/22,

  205.211.244.0/22,

  205.211.218.0/23,

  205.211.220.0/23,

  205.211.222.0/23,

  200.12.227.0/24

  end-set

route-policy salida-amnet-sps-cable

  if destination in XX then

    pass

  else

    set next-hop 144.224.115.81

  endif

  end-policy

!

I need know know how appliy  the route-policy to the interface

thanks.

22 REPLIES 22
dpothier
Cisco Employee

hi Luis,

Are you trying to do PBR(Policy Based Routing) ? If so, PBR is not used on the ASR9K, rather we use a feature called ABF (ACL based Forwarding) which was introduced in IOS-XR 3.9.2 for the ASR9K series.

http://www.cisco.com/en/US/docs/routers/asr9000/software/asr9k_r3.9.1/general/release/notes/rlse_a9k_392.html#wp433672

Have a look at that and see if that will meet your requirements.

regards,

David Pothier

Cisco Systems

David thanks a lot,  my english y so bad,  Today at monrning  I did the configuration  and I hope that work fine. ( at nigh  we  have the installation). The ASR will be interconect Juniper router, then  IT's  will be connected to  1x stm1 and 3 x smt1 and the juniper will  be have  other sonet conection to other ISPs.

I just needed  the  ABF config Thanks.  

Thanks  again !!

Hi Luis,

Here is an example ABF configuration:

ipv4 access-list ABF

10 permit ipv4 any any nexthop1 ipv4 141.1.1.2

!

And then application of this ABF to an interface:

RP/0/RSP0/CPU0:A9K-BNG(config)#int g0/0/0/0

RP/0/RSP0/CPU0:A9K-BNG(config-if)#ipv4 access-group ABF in

In this example every incoming packet is set forcefully to next hop 141.1.1.2

You can have multiple next hops also and you could use some EEM tricks to do next hop tracking.

One additional note, at this point in time, ABF is not vrf aware, what that means is the next hop in this configuration is always sought in the default routing table.

Soon we will have vrf aware abf that allows you to set the next hop in a particular vrf regardless of the vrf that the interface is in where this ABF ACL is applied to.

You can apply ABF to an interface today that is in a vrf, but the next hop is still found in the global Routing Table.

xander

Thanks the last  saturday the  ASR was configured and migrated and the ABF   is working  very good.

Thansk alot.

Luis

Hello collegaues,

Does ABF supports on BVI interfase in dedicated vrf?

Thanks in advance

Rjystantin

Hi Konstantin,

Currently BVI doesn't do ACL and therefore also no ABF.

in XR 4.2.0 we will get ACL for BVI interfaces, but only ipv4

The extension to ABF is being scoped for XR 421. (can't make promises here)...

Also in XR 420, ABF will be vrf aware. that means that the next hop can be configured to be in any vrf.

Applying the ABF to an interface in a vrf we can already do today.

xander

Ok. Thank you very much ))).

And last question.

Do you know date of announce release 4.2.0 and 4.2.1

WBR,

Konstantin

XR 420 is december of this year (2011)

and XR 421 is 1H2012

xander

Great.

Thanks.

Hi Xander,

Is it possible to use the PBR feature above to route traffic through an MPLS TE tunnel? I see you can only specify a next hop and not an outbound interface so I presume we couldn't achieve this on IOS XR and we have to use either autoroute announce/destination or static routes.

If it works, does the feature support policy routing of VRF traffic over an MPLS TE tunnel?
 

Thanks,
Pavel