Re: Policy-map on (sub)interface?

From: Jared Scrivener <lists_at_jaredscrivener.com>
Date: Thu, 11 Feb 2010 16:12:48 +1000

As Lei said, the parent policy is there to create a shaping queue in
software. This is only needed of course if you need to shape the outbound
traffic. If you are just marking traffic from the sub-interface (outbound
presumably) you just need one policy-map applied for the classification.

-- 
Cheers,
Jared Scrivener
CCSI #30878, CCIE3 #16983 (R&S, SP, Security)
www.MicronicsTraining.com
Sr. Technical Instructor
YES! We take Cisco Learning Credits!
Training And Remote Racks available
On Thu, Feb 11, 2010 at 2:52 AM, Lei Tian <again.tl_at_gmail.com> wrote:
> Hi Miroslav,
>
> You can apply policy-map on either main interface or sub-interface. If you
> apply policy-map on sub-interface, it requires H-QoS; that's because there
> is no physical tx-ring associate with sub-interface. You need to configure
> a
> parent level service-policy with shaping to simulate the back pressure
> generate by tx-ring.
>
> When you apply service-policy on sub-interface, only traffic through this
> sub-interface is subject to the policy; while on main interface, all
> traffic
> are subject to the policy.
>
> HTH,
>
> Lei Tian
>
> On Wed, Feb 10, 2010 at 7:09 AM, Miroslav Kosut <miroslav.kosut_at_me.com
> >wrote:
>
> > Hello there,
> >
> > I have a simple question. Having a router with two subinterfaces fa0/0.2
> > and fa0/0.30 with no ip address configured on the main interface, where
> > should be the policy-map applied?
> >
> > I am almost sure it must be on subinterfaces (to differentiate policies).
> > BUT should I leave it on the main one?
> >
> > Aren't packets going through the policy twice then?
> >
> > S pozdravom / Regards,
> > Miroslav Kosut
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Thu Feb 11 2010 - 16:12:48 ART

This archive was generated by hypermail 2.2.0 : Mon Mar 01 2010 - 06:28:35 ART