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

IOS XR and Policy Based Routing

n
Level 1
Level 1

I have the following configured on IOS-XE, I want to accomplish the same thing on IOS XR

access-list 1 deny   tcp any eq www 192.168.1.0 0.0.0.255
access-list 1 permit tcp any eq www any


route-map Test permit 10
 match ip address 1
 set ip next-hop 192.168.2.1
 set ip next-hop verify-availability
!

I understand that in IOS XR I have to use ABF to accomplish this.

Can I create the ABF and reference it in a Route Policy or do I Apply the ABF directly to an interface?

Thanks

1 Accepted Solution

Accepted Solutions

Akash Agrawal
Cisco Employee
Cisco Employee

Hi,

 

You can try below ACL

 

ipv4 access-list ABF_IGW

10 deny tcp any eq www 192.168.1.0/24

20 permit tcp any eq www any nexthop1 track IGW ipv4 192.168.2.1

!

 

Configure IP SLA and Tracking

ipsla

operation 1

type icmp echo

   destination address 192.168.2.1

   frequency 5

schedule operation 1

start-time now

life forever

!

 

track IGW

type rtr 1 reachability

!

 

Reference :

 

https://supportforums.cisco.com/document/145271/abf-acl-based-forwarding-asr9k

 

Regards,

Akash

View solution in original post

1 Reply 1

Akash Agrawal
Cisco Employee
Cisco Employee

Hi,

 

You can try below ACL

 

ipv4 access-list ABF_IGW

10 deny tcp any eq www 192.168.1.0/24

20 permit tcp any eq www any nexthop1 track IGW ipv4 192.168.2.1

!

 

Configure IP SLA and Tracking

ipsla

operation 1

type icmp echo

   destination address 192.168.2.1

   frequency 5

schedule operation 1

start-time now

life forever

!

 

track IGW

type rtr 1 reachability

!

 

Reference :

 

https://supportforums.cisco.com/document/145271/abf-acl-based-forwarding-asr9k

 

Regards,

Akash

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: