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

Policy routing on vasileft interface

szakacsge
Level 1
Level 1

Hi there,

I am trying to do policy based routing with route-map, it is working fine on the way of the packet except at the end when the vasi interface pair comes into.

The packet lands on vasileft interface which is in a vrf and the packet should go to a subinterface which is in the same vrf. This works just fine when normal routing is in place, but if I would like to route with route-map it is not working. The packet turns back to vasiright.

Could you please advise why?

I have the following configuration

interface vasileftX

vrf forwarding ***

ip address X.X.X.5 255.255.255.252

ip policy route-map DMVPN-INTERNET3

no keepalive

end

interface vasirightX

vrf forwarding ***INSIDE

ip address X.X.X.6 255.255.255.252

no keepalive

end

route-map DMVPN-INTERNET3 permit 10

match ip address ROUTE-INTERNET

set ip vrf **** next-hop X.X.20.249

ip access-list extended ROUTE-INTERNET

deny   ip X.X.21.0 0.0.0.255 10.0.0.0 0.255.255.255

deny   ip X.X.21.0 0.0.0.255 192.0.0.0 0.255.255.255

deny   ip X.X.21.0 0.0.0.255 172.0.0.0 0.255.255.255

permit ip X.X.21.0 0.0.0.255 any

Basicly what I would like to achieve is that all the traffic has to go to X.X.20.249.

Is there a limitation for policy based routing on vasi interface?

Regards,

Gergely

0 Replies 0
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:

Review Cisco Networking products for a $25 gift card