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 traffic based on the PORT #

Hello all,

I need to setup a rule on a router. Any SMTP traffic destined for a certain I.P address must route traffic to a certain address. The Ip Route command can route traffic based on source and destination I.P addressing, but how can I filter this traffic based on port 25 (smtp)?

Thanks

4 REPLIES

Re: Route traffic based on the PORT #

Hi,

You can do PBR (Policy Based Routing), as it is the only mean of source based routing, kindly check the following links and please do come back if you have further questions:

Policy-Based Routing

http://www.cisco.com/warp/public/732/Tech/plicy_wp.htm

Configuring Policy-Based Routing

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt1/qcfpbr.htm

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

Cisco Employee

Re: Route traffic based on the PORT #

Hi Danny,

IP route command can only route based on destination and not source. To achieve souce based routing and based on some port nunbers also you have to configure PBR which is policy base routing.

http://www.cisco.com/warp/public/732/Tech/plicy_wp.htm

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt1/qcfpbr.htm

HTH

Ankur

New Member

Re: Route traffic based on the PORT #

thank you both.

sry, I got confused with something when I mentioned the source routing

Re: Route traffic based on the PORT #

Hi Dan,

You are very welcomed, please do come back if you have further questions.

BR,

Mohammed Mahmoud.

1523
Views
18
Helpful
4
Replies