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

Using Route-Map Questions

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
Hall of Fame Guru

Re: Using Route-Map Questions

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

2 REPLIES 2
Hall of Fame Guru

Re: Using Route-Map Questions

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

Beginner

Re: Using Route-Map Questions

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

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards