Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Traffic Shaping on the Cisco 2600.......help !

Status
Not open for further replies.

tangerine0072000

Technical User
Joined
Apr 20, 2005
Messages
83
Location
GB
I have a public facing Internet router on a 2Mb cicuit. I would like to restrict the amount of bandwidth used by SMTP only, but leave all other traffic as is.

I believe this is possible, but not sure of the commands, I would like to say restrict SMTP inbound/outbound to 256k, can anyone help ?

many thanks
 
is it a frame-relay PVC?

actually there are 2 ways to do it: Traffic Policing and Traffic Shaping

Traffic Policy will either drop or change the DSCP/TOS value on the IP packet once the traffic exceeds the limit you define.

Traffic Shaping will provide buffers and even you can apply some queueing mechanisms for traffic exceeded the limit you define.

So which one do you want?
 
It's basically a 2Mb Internet Pipe. I just want to prevent inbound/outbound email attachments from eating the whole link. I guess shaping sounds about right.

I don't want to drop SMTP but simply slow it down or stop it using above 256k out of the 2Mb.
 
try this then and I suppose you're going to shape the inbound SMTP traffic to 256kbps:

!
class-map match-all SMTP
match protocol smtp
!
!
policy-map test
class SMTP
shape average 256000
!
interface <whatever>
service-policy input test
!

You can also read the following URL for more sophisticated QOS mechanisms

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top