07-20-2009 07:37 AM - edited 03-06-2019 06:51 AM
Hello,
I want to understand the route-map command purpose. Through my research, it seems like it can only be used with dynamic routing protocol. I have two static route entry in my route. If the source destination of the traffic is 10.1.0.24, I want to route through 10.1.1.1. If the source destination is 10.1.0.25, I want to route through 10.1.1.2. Can I accomplish this with route-map command?
Thanks,
Solved! Go to Solution.
07-20-2009 07:41 AM
Malanda
access-list 101 permit ip host 10.1.0.24 any
access-list 102 permit ip host 10.1.0.25 any
route-map PBR permit 10
match ip address 101
set ip next-hop 10.1.1.1
route-map PBR permit 20
match ip address 102
set ip next-hop 10.1.1.2
int fa0/0
ip address 10.1.0.1 255.255.255.0
ip policy route-map PBR
Jon
07-20-2009 07:41 AM
Malanda
access-list 101 permit ip host 10.1.0.24 any
access-list 102 permit ip host 10.1.0.25 any
route-map PBR permit 10
match ip address 101
set ip next-hop 10.1.1.1
route-map PBR permit 20
match ip address 102
set ip next-hop 10.1.1.2
int fa0/0
ip address 10.1.0.1 255.255.255.0
ip policy route-map PBR
Jon
07-20-2009 07:42 AM
I suspect you could use PBR/Route-map to achieve such solution.
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