From: Faryar Zabihi \(fzabihi\) (fzabihi@cisco.com)
Date: Fri Jan 12 2007 - 18:19:19 ART
Sorry I think I was wrong...I will stop spamming
!
class-map match-all P
match any
!
!
policy-map TEST
class P
police cir 1000000 pir 5000000
conform-action set-qos-transmit 1
exceed-action set-qos-transmit 5
violate-action drop
!
!
!
!
!
Router(config-if)#do sh policy int fa0/0
FastEthernet0/0
Service-policy output: TEST
Class-map: P (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 1000000 bps, bc 31250 bytes
pir 5000000 bps, be 156250 bytes
conformed 0 packets, 0 bytes; actions:
set-qos-transmit 1
exceeded 0 packets, 0 bytes; actions:
set-qos-transmit 5
violated 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Faryar Zabihi (fzabihi)
Sent: Friday, January 12, 2007 2:47 PM
To: Raj Bansal; Ivan; ccielab@groupstudy.com
Subject: RE: Qos on 3550
I don't think this is possible on 3550 either. But just to be sure we
could do something like this on a router as follows?
Probably way off
<1meg = COS 1 and transmit
1-5megs = COS 5 and transmit
>5megs = drop
class-map match-all 1meg
match any
class-map match-all 1to5meg
match any
!
policy-map TEST
class 1meg
police 1000000 conform-action set-qos-transmit 1 exceed-action
transmit
class 1to5meg
police 5000000 conform-action set-qos-transmit 5 exceed-action
transmit
class class-default
police 5000000 conform-action transmit exceed-action drop !
!
R1(config-pmap-c-police)#do sh policy int fa0/0 FastEthernet0/0
Service-policy output: TEST
Class-map: 1meg (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 1000000 bps, bc 31250 bytes
conformed 0 packets, 0 bytes; actions:
set-qos-transmit 1
exceeded 0 packets, 0 bytes; actions:
transmit
conformed 0 bps, exceed 0 bps
Class-map: 1to5meg (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 5000000 bps, bc 156250 bytes
conformed 0 packets, 0 bytes; actions:
set-qos-transmit 5
exceeded 0 packets, 0 bytes; actions:
transmit
conformed 0 bps, exceed 0 bps
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 5000000 bps, bc 156250 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Raj Bansal
Sent: Friday, January 12, 2007 1:32 PM
To: Ivan; ccielab@groupstudy.com
Cc: Yin Chenghua
Subject: Re: Qos on 3550
Not sure then. Perhaps its not possible
Ivan <ivan@iip.net> wrote:
L2-devices doesn't support 3-color policier.
Probably it is not possible to mark packets with different rate on Cat.
On Friday 12 January 2007 06:52, Raj Bansal wrote:
> Yes, with a 2 bucket three color policer.
>
> police pir cir conform action exceed action violate action you can
> leave the bc and be values, ios will calculate those for you.
>
> the pir is your 5 MB, cir is 1 mb. i am not logged into a box right
> now to see if its kbps, bps, etc. but you get the picture.
>
>
> Yin Chenghua wrote: For an input interface on 3550, is it possible to
> set the fist 1M to cos=5, and set the traffic between 1M to 5M to
> cos=1, and drop the traffic above 5M?
>
>
>
> Anybody know if it can be implemented and how to implement it?
>
>
>
> Thanks a lot,
>
>
>
> David
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
> ---------------------------------
> Check out the all-new Yahoo! Mail beta - Fire up a more powerful email
> and get things done faster.
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
-- Ivan
This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:56 ART