cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
474
Views
0
Helpful
3
Replies

QOS - Policy map question

CiscoRunner
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

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

View solution in original post

3 Replies 3

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

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

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.

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.)

Review Cisco Networking products for a $25 gift card