networking-forum.com

* Register   * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Bandwidth Rate Limit to 1.5Mbps on Cisco 3550 Switch
PostPosted: Thu Jul 15, 2010 4:56 am 
Offline
New Member
New Member

Joined: Thu Jul 15, 2010 4:28 am
Posts: 2
Hello,

I need to limit the bandwidth (in / out) on some of the ports on a Cisco 3550 switch to 1.5Mbps.

I used the below configuration and getting 10.37 Mbps download and 1.03 Mbps upload instead of 1.50 Mbps upload / download.

Also, the switch is not doing anything when I use:
service-policy output restrict-to-1.5
(it ignores the "service-policy output restrict-to-1.5"; however, it accepts "service-policy input restrict-to-1.5")

Any help is really appreciated,
Bernie

mls qos
!
ip access-list extended all-traffic
permit ip any any
!
!
class-map match-all all-traffic-class
match access-group name all-traffic
!
!
policy-map restrict-to-1.5
class all-traffic-class
set dscp default
police 1500000 100000 exceed-action drop
!
!
interface FastEthernet0/1
switchport mode dynamic desirable
service-policy input restrict-to-1.5
!


Top
 Profile  
 

 Post subject: Re: Bandwidth Rate Limit to 1.5Mbps on Cisco 3550 Switch
PostPosted: Thu Jul 15, 2010 5:58 am 
Offline
Senior Member
Senior Member
User avatar

Joined: Mon Apr 09, 2007 6:40 am
Posts: 464
Location: Dublin, Ireland
Certs: CCNA, CCNA-V, CCNP
when you say it ignores it, does it still accept the command? What IOS is on the 3550?

post the results of a "show policy-map interface f0/1" when the policy is applied both inbound and outbound (seperately of course!!).


Top
 Profile  
 
 Post subject: Re: Bandwidth Rate Limit to 1.5Mbps on Cisco 3550 Switch
PostPosted: Thu Jul 15, 2010 11:19 am 
Offline
New Member
New Member

Joined: Thu Jul 15, 2010 4:28 am
Posts: 2
Hello,

The IOS is version 12.2

When I type "service-policy output restrict-to-1.5" under the interface configuration, it accepts it without any errors, but when I do show run, under the interface, it only shows "service-policy input restrict-to-1.5"

So I did some more research and found another way which seems to be cleaner and work better but I still cannot achieve a close bandwidth limit result. Below is my new configuration which suppose to limit the bandwidth to 2Mbps on FastEthernet0/1 and 3Mbps on FastEthernet0/2, but the bandwidth is a lot lower, for example instead of 3 Mbps, I'm getting 1.7 Mbps download and 0.61 Mbps upload. When I remove the service-policy, I get the correct bandwidth of 10 Mbps upload and download.

I appreciate any help.

Here is the new configuration:

mls qos aggregate-policer 2000k 2000000 25000 exceed-action drop
mls qos aggregate-policer 3000k 3000000 25000 exceed-action drop
mls qos
!
class-map match-all traffic1
match ip dscp default cs1 cs2 cs3 cs4 cs5 cs6 cs7
!
!
policy-map traffic_2000k
class traffic1
police aggregate 2000k
!
policy-map traffic_3000k
class traffic1
police aggregate 3000k
!
!
interface FastEthernet0/1
switchport mode access
service-policy input traffic_2000k
service-policy output traffic_2000k
load-interval 30
spanning-tree portfast
!
interface FastEthernet0/2
switchport mode access
service-policy input traffic_3000k
service-policy output traffic_3000k
load-interval 30
spanning-tree portfast


Top
 Profile  
 
 Post subject: Re: Bandwidth Rate Limit to 1.5Mbps on Cisco 3550 Switch
PostPosted: Tue Jul 27, 2010 6:14 pm 
Offline
Member
Member

Joined: Mon Apr 27, 2009 11:56 am
Posts: 117
Location: North Shore, NZ
Certs: CCNP, JNCIA-ER, JLPT2
How are you testing?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group