01-04-2013 04:49 AM - edited 03-07-2019 10:53 AM
Hello -
Basically I just want to know what will happen to traffic with the class-maps and policy-maps as per below.
From this, I understand it so that the traffic will match the 'class-map ABC' however as this is not applied to the interface vlan 100 below. Another policy map is applied which is essentially the same thing but the traffic is not matched specifically against the containing class-maps.
I am wondering if it will get marked back to default?
class-map match-all VOIP
match ip dscp ef
class-map match-all OTHER
match ip dscp cs4
policy-map VOIP-PMAP
class VOIP
priority 4808 12000
police 4808000 12000 12000 conform-action set-dscp-transmit ef exceed-action drop violate-action drop
policy-map OTHER-PMAP
class VOIP
priority 4808 12000
police 4808000 12000 12000 conform-action set-dscp-transmit ef exceed-action drop violate-action drop
int vlan 100
service-policy output OTHER-PMAP
Solved! Go to Solution.
01-04-2013 05:00 AM
Hi,
Any outbound traffic on vlan 100 interface will either match class VOIP or will be in class default and will be treated as per the class (VOIP or default).
By default any policy-map will have a default class enabled and any traffic that is not matches by any of the class will be tretaed in class-default. "Show policy-map interface vlan 100 out" will show you the same.
HTH,
Nagendra
01-04-2013 05:00 AM
Hi,
Any outbound traffic on vlan 100 interface will either match class VOIP or will be in class default and will be treated as per the class (VOIP or default).
By default any policy-map will have a default class enabled and any traffic that is not matches by any of the class will be tretaed in class-default. "Show policy-map interface vlan 100 out" will show you the same.
HTH,
Nagendra
01-04-2013 06:01 AM
Thanks Nagendra...
So just to confirm - the traffic on vlan 100 will be put to the default class because it was not matched against any other class...Although it was matched against another class that is not in this policy-map.
I think it makes sense and confirms what I am seeing using the 'show policy map' as I can see the default class incrementing.
01-04-2013 11:21 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Default class criteria applies to any traffic not matched by any explicitly named class. (Note: default class may be explicitly defined as part of a policy, but if not, it, the class default, is still present implicitly.)
Also when you refer to policy maps on interfaces, keep in mind you may have two, one for ingress traffic and one for egress traffic. Neither have direct influence on the other, nor does ingress policy on ingress interface vis-a-vis egress policy egress interface. (Note: ingress policy can influence another interface's egress policy as the ingress policy might change markings that are being examined by the egress policy. But just matching a class on an ingress policy, alone, has no correspondence with matching on a different egress policy even if they use the same class map.)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide