11-22-2009 09:02 PM - edited 03-06-2019 08:41 AM
Hi
I have static route and route map configured on this Cisco 4000 series switch for the same destination(172.24.0.0/16) from same sources(10.32.0.0/16).Which path will traffic take to reach the destination.This SWITCH has VLAN interfaces for 144.1.4.x , 10.32.254.x ,10.32.0.x
ip route 172.24.0.0 255.255.0.0 144.1.4.85
access-list 1 permit ip 10.32.0.0 255.255.0.0 172.24.0.0 255.255.0.0
route-map BRANCH permit 10
match ip address 1
set ip next-hop 10.32.254.5
Solved! Go to Solution.
11-23-2009 02:54 AM
Hello,
it depends from the set action used in the route-map if it doesn't use the default keyword traffic is policy routed unless next-hop is unreachable.
Clearly a mistyping error:
access-list 1 permit ip 10.32.0.0 255.255.0.0 172.24.0.0 255.255.0.0
this should be an extended ACL and you should use wildcards so the line could be written as
access-list 101 permit ip 10.32.0.0 0.0.0.255.255 172.24.0.0 0.0.255.255
Hope to help
Giuseppe
11-22-2009 09:09 PM
Hi,
Policy based routing will be preferred over any routing table entry.
Only when your PBR fails, the router will look into routing table (irrespective of static/dynamic routing entry).
HTH,
Nagendra
11-23-2009 03:34 AM
if you're using PBR please watch:
here we have:
set ip default next-hop
here we have:
11-23-2009 02:54 AM
Hello,
it depends from the set action used in the route-map if it doesn't use the default keyword traffic is policy routed unless next-hop is unreachable.
Clearly a mistyping error:
access-list 1 permit ip 10.32.0.0 255.255.0.0 172.24.0.0 255.255.0.0
this should be an extended ACL and you should use wildcards so the line could be written as
access-list 101 permit ip 10.32.0.0 0.0.0.255.255 172.24.0.0 0.0.255.255
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide