From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Tue Aug 05 2003 - 14:18:23 GMT-3
Tomasz,
You can do qos-groups with the rate-limit statement, however it
is legacy syntax. The following demonstrates how to set/match
qos-groups utilizing policing. Take the following example:
All voice over IP traffic under 640Kbps received in interface
ethernet0/0 will be set to qos-group 1. As it leaves interface
ethernet0/1, it will be guaranteed low latency up to 640Kbps if it is in
qos-group 1.
class-map match-all VoIP
match access-group name VoIP
!
class-map match-all QOS-GROUP-1
match qos-group 1
!
!
policy-map OUTBOUND
class QOS-GROUP-1
priority 640
!
policy-map INBOUND
class VoIP
police 640000 120000 240000 conform-action set-qos-transmit 1
exceed-action transmit violate-action transmit
!
interface Ethernet0/0
service-policy input INBOUND
!
interface Ethernet0/1
service-policy output OUTBOUND
!
ip access-list extended VoIP
permit tcp any any eq 1720
permit udp any any range 16384 32767
HTH,
Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com
Cell: 708-362-1418
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Tomasz Szymanski
Sent: Tuesday, August 05, 2003 5:17 AM
To: Brian McGahan
Cc: 'Jim Phillipo'; ccielab@groupstudy.com
Subject: Re: QOS Groups
Hello,
I think it is also good to mention, that qos grop can also be set in
following ways:
CAR:
rate-limit input 2000000 1000000 1000000 conform-action transmit
exceed-action set-qos-transmit 2
Policer:
policy-map test
class class-default
police 200000 100000 100000 conform-action transmit exceed-action
set-qos-transmit 2
QOS-groups can be matched in:
CAR
rate-limit output qos-group 1 2000000 1000000 2000000 conform-action
transmit exceed-action drop
Policy-map:
class-map match-all GOLD
match qos-group 1
!
policy-map OUTPUT
class GOLD
bandwidth percent 50
(it's your example)
The only thing I would like to know if I can set QoS group in CAR and
match in class-map.
Tomasz
Brian McGahan wrote:
>Jim,
>
> It does not get propagated to the rest of the network. The
>point of the QoS group is that you can create a logical grouping of
>traffic, apply a policy to this grouping, and not affect any other
>devices in the network.
>
> Suppose that a router has 3 connections, one to customer
>"Bronze", one to customer "Gold", and one connection upstream. Traffic
>from customer Gold going upstream should be treated preferentially over
>traffic from customer Bronze. As the traffic from Gold comes in, we
can
>mark it with QoS group 1. As traffic in QoS group 1 goes upstream, we
>can apply whatever policy we want.
>
> Take the following config example:
>
>policy-map INPUT
> class class-default
> set qos-group 1
>!
>class-map match-all GOLD
> match qos-group 1
>!
>policy-map OUTPUT
> class GOLD
> bandwidth percent 50
>
>
>
> As traffic comes in the input interface, it is marked with
>qos-group 1. Class-map GOLD specifies all traffic in qos-group 1. As
>traffic goes to the output interface, all traffic of qos-group 1 is
>guaranteed 50% of the output queue.
>
>
>HTH,
>
>Brian McGahan, CCIE #8593
>Director of Design and Implementation
>brian@cyscoexpert.com
>
>CyscoExpert Corporation
>Internetwork Consulting & Training
>Toll Free: 866.CyscoXP
>Fax: 847.674.2625
>
>
>
>
>>-----Original Message-----
>>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
>>
>>
>Of
>
>
>>Jim Phillipo
>>Sent: Wednesday, July 09, 2003 4:46 PM
>>To: ccielab@groupstudy.com
>>Subject: QOS Groups
>>
>>I understand it is local to the router and not part of the packet so
>>
>>
>how
>
>
>>does it get propagated to the rest of the network.
>>
>>TIA
>>
>>
>>Jim Phillipo, CCNP, CCDP
>>Sr. Internetworking Engineer
>>W: 401.456.1821 F: 401.456.0599 M: 508.982.8923
>>90 Royal Little Drive, Providence, RI 02904
>>www.guardent.com
>>_____________________________________________________
>>G U A R D E N T
>>Security | Privacy | Data Protection
>>
>>
>>
>>
>>
>_______________________________________________________________________
>
>
>>You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>>
>>Subscription information may be found at:
>>http://www.groupstudy.com/list/CCIELab.html
>>
>>
>
>
>_______________________________________________________________________
>You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:53:53 GMT-3