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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Policy Based Routing Based on Application

Does anyone have a config example that will allow PBR based on port number? I've got lots of examples using IP, but none with an extended ACL.

The situation is this, two ISP connections to a single router. Currently one line is backup. I would like one line used for DNS and HTTP requests, and the other to be used for everything else.

Thanks

1 REPLY

Re: Policy Based Routing Based on Application

Define the ACL

access-list 101 permit tcp any eq 53

access-list 101 permit tcp any eq 80

route-map Policy permit 10

match ip add 101

set ip next-hop (or interface)

route-map Policy permit 20

set ip next-hop (or interface)

int fa0/0

ip nat inside

ip policy route-map Policy

In addition to this your NAT config, needs to be updated with route-maps, so that you can NAT to the appropriate provider's ip address. More info about this can be found here.

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080093fca.shtml

104
Views
0
Helpful
1
Replies