06-21-2004 10:20 AM - edited 03-02-2019 04:31 PM
I have two routers over 768k frame. There is an exchange server at each end. Sometimes large attachments have to go between the servers and this really bogs down the frame.
I'd like to limit smtp traffic. I've tried traffic shaping and policy-maps, to no avail, though I may not be doing it right. What is the best way to configure the routers to do this?
06-21-2004 11:47 AM
Hello,
not sure what your policy-map looks like, but this should work:
class-map match-all SMTP
match access-group 101
!
policy-map LIMIT_SMTP
class SMTP
bandwidth percent 30
!
interface serial0/0.1 point-to-point
service-policy input LIMIT_SMTP
!
access-list 101 permit tcp any any eq smtp
Can you try and configure this ? Your policy and class-map options might differ, depending on your IOS version and platform...
Regards,
Georg
06-21-2004 01:58 PM
Should the bandwidth statement be bandwidth 768 on the serial sub interface?
06-21-2004 02:18 PM
Nope didn't work. I have 12.2 ios. Here's my statements on both routers:
2621
class-map match-all Mail
match access-group 102
policy-map Mail
class Mail
bandwidth percent 30
interface Serial0/0.12 point-to-point
description Connection to Arkansas
bandwidth 768
ip address 192.168.254.6 255.255.255.252
no ip route-cache
no ip mroute-cache
frame-relay interface-dlci 45
class Mail
map-class frame-relay Mail
frame-relay cir 768000
frame-relay bc 1900
frame-relay be 0
frame-relay mincir 768000
service-policy output Mail
access-list 102 permit tcp any eq smtp any eq smtp
Other router is basically the same.
It wouldn't accept the service policy input statement..
06-23-2004 02:17 AM
Did you set the " service-poolicy input Mail " at your interface ?
Your access list is wrong as no client allso sends from the smtp port.
This should be "access-list 102 permit tcp any any eq smtp"
It realy should work as the accepting of the previous and shown commands don't make any sense if not applyable to any interface.
06-23-2004 06:08 AM
I changed the Access-list but it didn't make a difference. as for the service-policy statement, it doesn't seem to take. The IOS accepts it as without error, but a show run doesn't show the statement under the sub-interface...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide