Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

route map question

Hi, my question is can I have multiple actions in policy based routing statement. For example, I would like for the PBR first to NAT a subnet then send it to next hop. Here is my config.

route-map WS permit 10

match ip address 10

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

access-list 10 permit ip 172.21.19.0 0.0.0.255 -- this would take the subnet traffic and send it to x.x.x.x

then if I have NAT statement

ip nat inside source route-map WS interface s 0 overload

Would this work? Or do I have to create 2 seperate PBRs that do each would do one task. I just would like to keep the config short and not complicated that is the reason I am asking. Also does the secquence of the statements make a difference? I think that routing is performed first before NATing if I am not mistaken. Thanks for your help.

1 REPLY
Silver

Re: route map question

as per sequence of statements first nat will be performed then routing takes place.

regards

shivlu

96
Views
5
Helpful
1
Replies