RE: Policy Question

From: Salzano, Mario Arthur Costa (mario.salzano@siemens.com)
Date: Mon Jul 03 2006 - 14:09:16 ART


OK. But Why the command "service-policy input PREC" was accepted on both
places (sub and main interface?)

Thanks Again!

________________________________

From: petrsoft@gmail.com [mailto:petrsoft@gmail.com] On Behalf Of Petr
Lapukhov
Sent: Monday, July 03, 2006 11:26 AM
To: Salzano, Mario Arthur Costa
Cc: ccielab@groupstudy.com
Subject: Re: Policy Question

AFAIR

MQC does NOT permit you to match subinterfaces, only major
interface. It just converts any subinterface reference into interface
name.

If you need to provide some sort of traffic control between
subinterfaces,
you may use route-map and match *output interface", which may be
subinterface in this case.

Also, you may put separate policy-maps on subinterfaces, and mark
packets directly there.

HTH

--
Petr Lapukhov, CCIE #16379
petr@internetworkexpert.com

Internetwork Expert, Inc. http://www.InternetworkExpert.com Toll Free: 877-224-8987 Outside US: 775-826-4344

2006/7/3, Salzano, Mario Arthur Costa <mario.salzano@siemens.com>:

Hi Group,

I have one interface (Fa0) with two sub-interfaces (Fa0.1 and Fa0.2) and I made one policy regarding traffic coming from sub-int Fa0.1. Do I have to aplly this policy on the sub-interface or on the primary interface?

Ex:

class-map match-all traffic_frombank match input-interface fa0.1

policy-map PREC class traffic_frombank set ip prec 3

int fa0 service-policy input PREC

or

int fa0.1 service-police input PREC

Thanks!!!



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:46 ART