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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco Catalyst 2950T-24 Port EI Software - rate-limit ?

Status
Not open for further replies.

azanio

ISP
Jan 9, 2003
4
MY
Dear all, I just tested Cisco Catalyst 2950 with EI image.
The vendor just upgraded the IOS from Standard Image to Enhanced Image..
My objective is :
To limit port ( traffic shapping) per port basis based on rate-limit command ( as Cisco said can be done with EI version). I want to have 128kbps,256, 512,1024 and 2048 speeds. When logon to IOS command, and went to specific interface to be configured, I can't get "rate-limit" command -> unrecognized command !!!.

Then I try to use Web based. I managed to use QoS but the min speed is 1Mbps to 100Mbps for FE port and increment of 1,2,3,4 up tp 100 Mbps. and the burst rate something like 4k to 512k !!!.

PLEASE HELP...me to rate limit the bandwidth !!!

My current version:
cisco-2950-mpsj-lib#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(11)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 28-Aug-02 10:25 by antonino
Image text-base: 0x80010000, data-base: 0x80528000

ROM: Bootstrap program is CALHOUN boot loader

cisco-2950-mpsj-lib uptime is 5 hours, 24 minutes
System returned to ROM by power-on
System image file is "flash:/c2950-i6q4l2-mz.121-11.EA1.bin"

cisco WS-C2950T-24 (RC32300) processor (revision G0) with 20402K bytes of memory.
Processor board ID FOC0646W1SH
Last reset from system-reset
Running Enhanced Image
24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0B:5F:8C:9F:C0
--More--  Motherboard assembly number: 73-6114-08
Power supply part number: 34-0965-01
Motherboard serial number: FOC06460CP1
Power supply serial number: PHI0526010Z
Model revision number: G0
Motherboard revision number: A0
Model number: WS-C2950T-24
System serial number: FOC0646W1SH
Configuration register is 0xF

cisco-2950-mpsj-lib#sh run
Building configuration...

Current configuration : 2780 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco-2950-mpsj-lib
!
enable secret 5 $1$u9po$5QULW8JA8gVBK2FWaTp4G/
enable password abc123
!
!
class-map match-all 2048kbps
description 2048kbps
match ip dscp 0
class-map match-all 1536kbps
description 1536kbps
match ip dscp 0
class-map match-all 1024kbps
description 1024kbps
--More--   match ip dscp 0
class-map match-all 128kbps
description 128kbps
match ip dscp 0
class-map match-all 256kbps
description 256kbps
match ip dscp 0
class-map match-all 512kbps
description 512kbps
match ip dscp 0
!
!
policy-map 2048kbps
description 2048kbps
class 2048kbps
set ip dscp 0
police 4000000 262144 exceed-action drop
policy-map 1536kbps
description 1536kbps
class 1536kbps
set ip dscp 0
police 2000000 65536 exceed-action drop
policy-map 1024kbps
--More--   description 1024kbps
class 1024kbps
set ip dscp 0
police 1000000 131072 exceed-action drop
policy-map 128kbps
description 128kbps
class 128kbps
set ip dscp 0
police 1000000 65536 exceed-action dscp 0
policy-map 256kbps
description 256kbps
class 256kbps
set ip dscp 0
police 1000000 65536 exceed-action drop
policy-map 512kbps
description 512kbps
class 512kbps
set ip dscp 0
police 1000000 65536 exceed-action drop
!
ip subnet-zero
!
spanning-tree extend system-id
--More--  !
!
interface FastEthernet0/1
no ip address
!
interface FastEthernet0/2
no ip address
!
interface FastEthernet0/3
no ip address
!
interface FastEthernet0/4
no ip address
!
interface FastEthernet0/5
no ip address
!
interface FastEthernet0/6
no ip address
!
interface FastEthernet0/7
no ip address
!
--More--  interface FastEthernet0/8
no ip address
!
interface FastEthernet0/9
no ip address
!
interface FastEthernet0/10
no ip address
!
interface FastEthernet0/11
no ip address
!
interface FastEthernet0/12
no ip address
!
interface FastEthernet0/13
no ip address
!
interface FastEthernet0/14
no ip address
!
interface FastEthernet0/15
no ip address
--More--  !
interface FastEthernet0/16
no ip address
!
interface FastEthernet0/17
no ip address
!
interface FastEthernet0/18
no ip address
!
interface FastEthernet0/19
no ip address
!
interface FastEthernet0/20
no ip address
!
interface FastEthernet0/21
no ip address
!
interface FastEthernet0/22
no ip address
!
interface FastEthernet0/23
--More--   no ip address
!
interface FastEthernet0/24
no ip address
service-policy input 128kbps
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
ip address 192.168.10.100 255.255.255.0
no ip route-cache
!
ip http server
!
!
line con 0
line vty 0 4
password cisco
login
--More--  line vty 5 15
password cisco
login
!
end

cisco-2950-mpsj-lib#

 
This is exactly what i need to do.
Were you able to make it work.

I configured exactly as what was stated in the QOS mannual. However, when i tested it with 4Mbps, all it allows is 2.6Mbps.

Cisco is full of crap


TechTryer
<-- :)All we can do is do our Best:) -->
 
Cisco is not full of crap, you just need to learn to read English. :) The 2950T with Enhanced IOS ***DOES*** allow for rate limiting per port, however it will only do it in 1mbps increments. If you want to do 128kb, 256kb, 512kb, etc, you will need at least a Cisco 3550 switch for that.

TechTryer - you probably set it to 2mbps and the 2.6mbps you are seeing is just some overhead that unfortunately TCP protocol suffers from - you will always see the real rate slightly higher than the locked-in rate. 0.6mbps is a little high, but not unrealistic, IF you were pushing the date very fast through this port. In general it should be less than that, though, if the switch is used for web servers.

We have a bunch of 2950T's and 3550's, and they all do rate limiting well. The 3550's work much better, though - not only give you smaller increments (in 8kbps steps), but also appear to handle the overhead more gracefully.

Think about the 2950T as an entry level managed switch with QoS and rate limiting. If you want more heavy duty stuff, move up to 3550 or higher.
 
Very funny about the english remark.......:( You have to understand that it is my 3rd language, and not 1st.
I can see that you are a big cisco fan.

I did set it to 5Mbps but i still get around 2.6Mbps
If you can help me get this working, i would really appreciate it.

My switch is a 2950T-24 running 12.1(19) -EI

Below is a some configs: -
class-map match-all ipclass1
match access-group 101
!
!
policy-map flow1t
class ipclass1
police 5000000 65536 exceed-action drop
!
!
interface FastEthernet0/24
switchport mode access
load-interval 30
service-policy input flow1t
spanning-tree portfast

What can u see that explains my unexpected results?

Cheers
TechTryer

TechTryer
<-- :)All we can do is do our Best:) -->
 
I'll have to look up the settings on our 2950T's and update this thread later. Just FYI, though, English is not my 1st language either.... it's a distant 8th.

;-)
 
OK thank you mate!
I would really appreciate that.
Look forward to seeing the configs

Cheers


TechTryer
<-- :)All we can do is do our Best:) -->
 
Hi guys, I almost forgot about this posting ! It was posted Jan 9, 2003 !. Since I can't get cat2950t to perform the way i wanted i have switch to other "taiwan switches" that can do the job.

According to remik2020 we can use cat3550 to do this rate limiting to more precise even up to 8kbps increment ?
but how do u do it from cat3550...

I have cat3550 emi running now as a distribution layer and connect to my cat2950t as access layer to my subsriber. This cat3550emi does VLAN and routing to each of port at cat2950t. Do they use #rate-limit command ? on 3550


 
You can do it from a CAT3550, that is creating increments of 8Kbps

For the 2950 switch, the only available QOS limiting possible is multiples of 1M from 1M-100M with burst sizes or 4K - 64K
128K-512K is only for gigabit ports.

rate limiting is not supported on the CAT3550 but you can do that on a CAT3750 switch.



TechTryer
<-- :)All we can do is do our Best:) -->
 
well do not have 3570 yet too bad i can't do rate-limit command on 3550.
do u have a sample qos for 3550 config if i want 128,256,512 and 1024 kbps ? appreciate yr answer.

 
Hi I have a Cisco 2950EI and while the rate limiting is good in ingress, I wanted to also blend in prioritization in the prority queue. However in the policy map I would like to make bsd10 traffic low priority, while the rest is high. I typed some stuff into the 2950 'policy-map bsd10' but I am not sure how these rules behave:

!
!
class-map match-all match-any
match access-group 1
class-map match-all bsd10only
match access-group name bsd10
class-map match-all bsd10
match access-group name bsd10
!
!
policy-map 8Mbps
class match-any
police 16000000 32768 exceed-action drop
set ip dscp 56
policy-map bsd10
class match-any
police 11000000 32768 exceed-action drop
set ip dscp 8
class bsd10
set ip dscp 8
police 17000000 32768 exceed-action drop
!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top