cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1277
Views
12
Helpful
1
Replies

route-maps, PBR

de_brown
Level 1
Level 1

Can you assign multiple route-maps to an interface. My IOS doesn't seem to let me. I'd like something to the effect of:

If destination is network A or B

set next-hop X.X.X.X

if destination is network C or D

set next-hop X.X.X.X

else

use normal routing

1 Reply 1

Edison Ortiz
Hall of Fame
Hall of Fame

How about creating a nested route-map instead of having two route-maps ?

route-map ABorCD permit 10

match ip address [ACL for AorB]

set ip next-hop x.x.x.x

route-map ABorCD permit 20

match ip address [ACL for CorD]

set ip next-hop x.x.x.x

route-map ABorCD permit 30