From: Huan Pham (huan.pham@valuenet.com.au)
Date: Tue Apr 15 2008 - 02:17:47 ART
Hi Mike,
You can apply the QOS_POLICY directly to the main interface. But if you
would like to apply it to a sub-interface, you cannot. The router will tell
you that. This is because the sub-interface by default does not have a queue
associated with it. The work-around is to create a parent shaping policy
which initiates a queue.
policy-map SHAPE
class class-default
shape average 1000000 !*** THIS IS MISSING IN YOUR EXAMPLE ****
service-policy QOS_POLICY
The following post is relevant to your question. Cisco DOC has an example
explaining this, but I cannot find the link.
http://www.groupstudy.com/archives/ccielab/200606/msg01596.html
Cheers,
Huan
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Mike
Haddad
Sent: Tuesday, 15 April 2008 2:15 PM
To: ccielab@groupstudy.com
Subject: QoS Question
Hello,
If you look at the below answer he used nested QOS. Couldn't we just
apply
the inner policy (QoS_POlicy) directly to the interface since it is going to
affect all traffic?
class-map match-all HTTP
match protocol http
class-map match-all SMTP
match protocol smtp
!
class-map match-any PEER-TO-PEER
match protocol fasttrack
match protocol gnutella
match protocol kazaa2
!
policy-map QOS_POLICY
class HTTP
bandwidth 2000
class SMTP
bandwidth 1000
class PEER-TO-PEER
police cir 8000
!
policy-map SHAPE
class class-default
service-policy QOS_POLICY
Thanks,
This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:51 ART