From: Ahmed Ossama (ahmed_ossama@rayatelecom.net)
Date: Wed Aug 03 2005 - 06:37:27 GMT-3
Yep sorry I wrote it service-policy instead of policy map
And thank a lot Chris for answering my question.
-----Original Message-----
From: Chris Lewis (chrlewis) [mailto:chrlewis@cisco.com]
Sent: Tuesday, August 02, 2005 5:23 PM
To: Ahmed Ossama; ccielab@groupstudy.com
Subject: RE: MQC policing with default-class
Ahmed,
First, you need to configure policy-map icmp for example, not service
policy icmp in the config you have.
Second, to answer your specific question, class default contains all
packets not matched by any class maps. In your case if you only have IP
traffic on the link, applying an icmp child policy to the class default
parent is the same as applying that child policy to a class that matches
all IP traffic.
Chris
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Ahmed Ossama
Sent: Tuesday, August 02, 2005 8:46 AM
To: ccielab@groupstudy.com
Subject: MQC policing with default-class
Dear All,
I have interface Fast0/1 connected to a customer and I want to police it
to 5 Mbps and to police the icmp traffic to 256 k within the 5Mbps, I do
it with the following configuration
Access-list 100 permit ip any any
Class-map deny-cust
Match access-group 100
!
Class-map icmp
Match protocol icmp
!
Service policy icmp
,class icmp
Police 256000
!
Service policy deny-customer
Class deny-cust
Police 5000000
Service-policy icmp
!
My question is what if I remove the class "deny-cust" from the service
policy deny-customer and put instead of it "class class-default", did
the same results will be obtained or what ?
Thanks in advance
This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:01:18 GMT-3