From: Venkataramanaiah.R (vramanaiah@gmail.com)
Date: Sun Sep 11 2005 - 10:13:51 GMT-3
In that case, IMHO you will have to go with the Class based solution.
Btw, Tim, the mask A2 does not match 0,1,2 but it would match prec1,7. Of
course, the source (CCO) itself has this error. Correct me if i am wrong.
-Venkat
On 9/11/05, Niche <jackyliu419@gmail.com> wrote:
>
> Hi guys,
>
> Thanks for the reply first, in order to clarify my confusion, may be I
> post
> the original question (with some modification because I don't want to
> offense the copyright stuff)
>
> Configure QoS on the router for traffic flowing from VLAN 10 (vlan10 =
> 10.1.1.0/24 <http://10.1.1.0/24> <http://10.1.1.0/24>) to outside. Traffic
> found to have an IP
> precedence of 7, 5, 1 will be limited to 2mb maximum. Discard the
> exceeding
> traffic. Use only one ACL to accomplish this requirement. Set 40000 for
> both
> normal burst and excess burst.
>
> According to Tim reply, should I assume next time if the question ask me
> to
> do QoS by using IP Precedence value, then I use rate limit instead of MQC?
> It's really hard to define with answer will actually score the points if
> both can meet the requirement if both can achieve the same result... =/
>
> Cheers!
> Jacky
>
> On 9/11/05, Tim <ccie2be@nyc.rr.com> wrote:
> >
> > Jackie,
> >
> > This problem is looking for the access-list rate-limit command.
> >
> > See this link:
> >
> >
> >
>
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos
> > _r/qrfcmd1.htm#wp1017391
> >
> > See this example from the Doc-CD,
> >
> > The following example assigns packets with an IP Precedence of 0, 1, or
> 2
> > to
> > the rate-limit access list 25:
> >
> > access-list rate-limit 25 mask 42
> >
> >
> > With this command, in combo with the mask keyword, you can define which
> ip
> > precedences are to be rate-limited.
> >
> > HTH, Tim
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> > jackyliu@cyberport.com.hk
> > Sent: Sunday, September 11, 2005 1:38 AM
> > To: ccielab@groupstudy.com
> > Subject: Rate limiting & MQC's police.... again
> >
> > Hi guys,
> >
> > A book's question request me to limit the incoming traffic
> > with ip precedence marking 1, 5, 7 at 2mb or below from the
> > LAN side and drop the exceeding packets. It also request me
> > to create only a single access-list to finish the task.
> >
> > My approach:
> > policy-map in-traffic
> > police 2000000 5000 10000 conform-action transmit
> > exceed-action drop violate-action drop
> > !
> > class-map match-all 1-5-7
> > match ip precedence 1 5 7
> > match access-group 10
> > !
> > access-list 10 permit 10.1.1.0 <http://10.1.1.0> <http://10.1.1.0>
> 0.0.0.255 <http://0.0.0.255><http://0.0.0.255>
> > !
> > interface e0
> > service-policy input in-traffic
> >
> >
> >
> > The book's approach
> >
> > interface e0
> > ip address 10.1.1.254 <http://10.1.1.254> <http://10.1.1.254>
> 255.255.255.0 <http://255.255.255.0><http://255.255.255.0>
> > rate-limit 2000000 5000 10000 access-group 20 confrom-action
> > transmit exceed-action drop
> > !
> > access-list 20 rate-limit mask A2
> >
> > Is my approach also can achieve the task? Just want to know
> > the different there =)
> >
> > Cheers!
> > Jacky
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:14 GMT-3