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

Using Route-Map Questions

allen.malanda_2
Level 1
Level 1

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,

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

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

andrels
Level 1
Level 1

I suspect you could use PBR/Route-map to achieve such solution.

Review Cisco Networking products for a $25 gift card