Mr_Magoo wrote:
> "Ben" <> wrote in message news:<6nhmc.22599$>...
>
>>Question 1
>>
>>Either way. The class-based stuff is just a newer CLI format, called MQC -
>>modular qos command line interface.
>>
>
>
> ----snip----
>
> Ok thanks Ben. I have managed to get it work with the class-based
> method. As for the 'rate-limit' command, I don't think it works (I
> have tried it again but still didn't work). Have you done it before (I
> meant the 'rate-limit' method on the interface)? I am asking just for
> the sake of knowledge. 
>
It really works on a 6509:
interface Vlan4
ip address a.b.c.d 255.255.255.0
ip broadcast-address a.b.c.255
rate-limit input access-group 2204 10000000 128000 128000
conform-action transmit exceed-action transmit
rate-limit input access-group 2104 64000 8000 8000 conform-action
transmit exceed-action drop
rate-limit input 10000000 128000 128000 conform-action transmit
exceed-action transmit
rate-limit output access-group 2304 1000000 128000 128000
conform-action transmit exceed-action drop
rate-limit output access-group 114 10000000 128000 128000
conform-action transmit exceed-action transmit
rate-limit output access-group 104 64000 8000 8000 conform-action
transmit exceed-action drop
rate-limit output 10000000 128000 128000 conform-action transmit
exceed-action transmit
show interface vlan 4 rate-limit
Vlan4
Input
matches: access-group 2204
params: 10000000 bps, 128000 limit, 128000 extended limit
conformed 15295919 packets, 2526M bytes; action: transmit
exceeded 1305 packets, 1774101 bytes; action: transmit
last packet: 444ms ago, current burst: 0 bytes
last cleared 1w2d ago, conformed 23000 bps, exceeded 0 bps
matches: access-group 2104
params: 64000 bps, 8000 limit, 8000 extended limit
conformed 66491294 packets, 6478M bytes; action: transmit
exceeded 15882049 packets, 2945M bytes; action: drop
last packet: 20ms ago, current burst: 0 bytes
last cleared 1w2d ago, conformed 60000 bps, exceeded 27000 bps
matches: all traffic
params: 10000000 bps, 128000 limit, 128000 extended limit
conformed 1053M packets, 318854M bytes; action: transmit
exceeded 11047912 packets, 13870M bytes; action: transmit
last packet: 4ms ago, current burst: 1814 bytes
last cleared 1w2d ago, conformed 2979000 bps, exceeded 129000 bps
Output
matches: access-group 2304
params: 1000000 bps, 128000 limit, 128000 extended limit
conformed 4135512 packets, 2967M bytes; action: transmit
exceeded 127727 packets, 182663283 bytes; action: drop
last packet: 20ms ago, current burst: 0 bytes
last cleared 2d18h ago, conformed 99000 bps, exceeded 6000 bps
matches: access-group 114
params: 10000000 bps, 128000 limit, 128000 extended limit
conformed 9883090 packets, 7208M bytes; action: transmit
exceeded 0 packets, 0 bytes; action: transmit
last packet: 348ms ago, current burst: 0 bytes
last cleared 2d18h ago, conformed 241000 bps, exceeded 0 bps
matches: access-group 104
params: 64000 bps, 8000 limit, 8000 extended limit
conformed 10899222 packets, 1791M bytes; action: transmit
exceeded 2928283 packets, 3074M bytes; action: drop
last packet: 48ms ago, current burst: 4065 bytes
last cleared 2d18h ago, conformed 60000 bps, exceeded 103000 bps
matches: all traffic
params: 10000000 bps, 128000 limit, 128000 extended limit
conformed 327697870 packets, 211054M bytes; action: transmit
exceeded 90971331 packets, 96825M bytes; action: transmit
last packet: 48ms ago, current burst: 5136 bytes
last cleared 2d18h ago, conformed 7085000 bps, exceeded 3250000 bps
Lothar
Lothar Hofmann
Lothar Hofmann HRZ / computer center Mail:
Universitaet Siegen
Hoelderlinstr. 3 Phone: +49 271 740 4760
D - 57068 Siegen Fax: +49 271 740 2523