From: Mike M (mike_malan@yahoo.co.uk)
Date: Sun Jul 29 2007 - 17:43:21 ART
Hi, Bob
An interesting example using "input-interface"
command. I hadnt used it before.
How did you define the class-map, class ANY which is
defined under the policy-map SET-5
Regards
Mike
--- Bob Sinclair <bob@bobsinclair.net> wrote:
> johngibson1541@yahoo.com wrote:
> > Rack2SW1(config-if)#service-policy input
> port-plcmap
> > %QoS: policy-map port-plcmap with MATCH
> INPUT-INTERFACE not allowed at this leve
> > l on SVI interface
> > Service Policy attachment failed
> >
> >   
> John,
> 
> On the 3560, match input-interface command can only
> be used in a child 
> policy.  It is used to specify which ports in a vlan
> should get the 
> policy treatment.   Here is a working example:
> 
> mls qos
> 
> interface Vlan3065
>  no ip address
>  service-policy input SET-5
> 
> 
> policy-map SET-5
>   class ANY
>    set precedence 5
>    service-policy INT-F0/23
> 
> policy-map INT-F0/23
>   class INT-F0/23
> 
> class-map match-all INT-F0/23
>   match input-interface  FastEthernet0/23
> 
> interface FastEthernet0/23
>  mls qos vlan-based
> 
> Interface F0/23 is a trunk with many VLANs.  I am
> marking traffic coming 
> in that interface on VLAN 3065 with precedence 5.
> 
> Good luck!
> 
> Bob Sinclair
> CCIE 10427, CCSI 30427
> 
>
This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:42 ART