Re: Ethernet subinterface

From: Sami (sy1977@gmail.com)
Date: Wed Jun 28 2006 - 15:29:38 ART


Scott,

Police doesn't work on my router.

R5#show version
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
12.4(5a),
RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Sat 14-Jan-06 03:19 by alnguyen

ROM: System Bootstrap, Version 12.4(1r) [hqluong 1r], RELEASE SOFTWARE (fc1)

R5 uptime is 9 hours, 50 minutes
System returned to ROM by reload at 08:46:56 UTC Wed Jun 28 2006
System image file is "flash:c2800nm-advipservicesk9-mz.124-5a.bin"

Thanks
Sami

On 6/28/06, Elias Chari <elias.chari@gmail.com> wrote:
>
> Is this what you are after?
>
> Rgds
> Elias
> ==================
>
> class-map match-all icmp
> match protocol icmp
> class-map match-all http
> match protocol http
>
> !
> !
> policy-map CHILD
> class http
> bandwidth 5000
> class icmp
> police 128000
> policy-map PARENT
> class class-default
> shape average 100000000
> service-policy CHILD
>
>
> interface FastEthernet0/1.900
> encapsulation dot1Q 900
> ip address 204.12.1.3 255.255.255.0
> no snmp trap link-status
> service-policy output PARENT
> end
>
>
> Rack1R3#sh policy-map int f0/1.900
> FastEthernet0/1.900
>
> Service-policy output: PARENT
>
> Class-map: class-default (match-any)
> 47 packets, 6841 bytes
>
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: any
> Traffic Shaping
> Target/Average Byte Sustain Excess Interval Increment
>
> Rate Limit bits/int bits/int (ms) (bytes)
> 100000000/100000000 625000 2500000 2500000 25 312500
>
> Adapt Queue Packets Bytes Packets Bytes Shaping
> Active Depth Delayed Delayed Active
> - 0 47 6841 0 0 no
>
> Service-policy : CHILD
>
> Class-map: http (match-all)
>
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol http
> Queueing
> Output Queue: Conversation 265
> Bandwidth 5000 (kbps) Max Threshold 64 (packets)
>
> (pkts matched/bytes matched) 0/0
> (depth/total drops/no-buffer drops) 0/0/0
>
> Class-map: icmp (match-all)
>
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol icmp
> police:
> cir 128000 bps, bc 4000 bytes
>
> conformed 0 packets, 0 bytes; actions:
> transmit
> exceeded 0 packets, 0 bytes; actions:
> drop
> conformed 0 bps, exceed 0 bps
>
> Class-map: class-default (match-any)
> 47 packets, 6841 bytes
>
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: any
> Rack1R3#
>
>
>
>
> On 6/28/06, Sami <sy1977@gmail.com> wrote:
>
> > Thanks Scott
>
> Just noticed if shaping is enabled on default class but I want to police
> another class in this case ICMP to 16K , it doesn't allow.
>
> Can't we combine shaping and polcing ?
>
> policy-map shape
> class ICMP_TF
> class class-default
> shape average 3000000
> service-policy 64KVOIP
>
> R5(config-pmap)#class ICMP_TF
> R5(config-pmap-c)#police cir 16000
> *Output rate-limit already configured, police not allowed*
>
> Thanks
> Sami
>
> On 6/28/06, Scott Morris <swm@emanon.com> wrote:
> >
> > Subinterfaces do not have queues associated with them. You'll need to
> do
> > a
> > nested policy to initiate shaping first (creating a queue), the initiate
> > queuing.
> >
> > policy-map 64KVOIP
> > class VOIP
> > priority 64
> >
> > policy-map shape
> > class class-default
> > shape average 3000000
> > service-policy 64KVOIP
> >
> > Int fa0/0.1
> > service-policy output shape
> >
> > HTH,
> >
> >
> > Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713,
> JNCIE
> > #153, CISSP, et al.
> > CCSI/JNCI
> > IPExpert CCIE Program Manager
> > IPExpert Sr. Technical Instructor
> > smorris@ipexpert.com
> > http://www.ipexpert.com
> >
> >
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com ] On Behalf Of
> > Sami
> > Sent: Wednesday, June 28, 2006 12:48 PM
> > To: Cisco certification
> > Subject: Ethernet subinterface
> >
> > Group,
> >
> > While doing some QoS stuff , Router complains it can't apply service
> > policy
> > to subinterfaces.
> >
> > Is MQC not supported on subinterfaces ?
> >
> > policy-map 64KVOIP
> > class VOIP
> > priority 64
> >
> > policy-map shape
> > class class-default
> > shape average 3000000
> >
> > R5(config-subif)#service-policy output 64KVOIP CBWFQ : Not supported on
> > subinterfaces
> >
> > Thanks
> > Sami
> >
> > _______________________________________________________________________
> > 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 : Sat Jul 01 2006 - 07:57:33 ART