cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
195
Views
0
Helpful
1
Replies
Highlighted
Beginner

Need help with switch config that has multiple egress points

Hi,

I have a 3750G that has multiple egress points. Our default route sends all traffic out exit A. How can I configure other types of traffic to use exit B and exit C?  I am using route commands but I rather use a different solution. The route commands dont work well for web traffic unless I know the IP addresses of the web site. Any help and suggestions would be great.

Thanks

1 REPLY 1
Advocate

Re: Need help with switch config that has multiple egress points

You can do Policy based routing (PBR). With PBR you can route traffic based on source, destination, protocol(http, ftp, etc.), incoming interface.

Here is a quick overview:

1) You need to enable PBR by running command "sdm perefer routing" which enables the template.
2) Then you need to define an extended ACL matching your traffic based on source/destination/protocol.
3) Create a route map and match this ACL and set nexthop through your desired egress point.
4) Apply the route map to the incoming intreface

This will take preference over your routing table. In case, PBR fails it fallsback to normal routing table.

Detailed configuration guidelines:
http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_44_se/configuration/guide/swiprout.html#wp1210866

Some limitation need to be taken into consideration:

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_tech_note09186a00807213f5.shtml#pbr

https://supportforums.cisco.com/community/netpro/network-infrastructure/routing/blog/2011/03/31/pbr-on-switches-37503560


Terry

Please mark the question as answered if you have no other queries.