Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

question about class-default...

Hello.

Assume we have:

#sh class-map

Class Map match-all AnyNonIP (id 1)

   Match access-group name AnyNonIP

Class Map match-any class-default (id 0)

   Match any

and:


#sh access-lists AnyNonIP

Extended MAC access list AnyNonIP

    permit any any

Assume then we have two policy-maps that can be used for policing traffic on an interface:

Policy Map TEST1

    Class AnyNonIP

      police 1000000 8000 exceed-action drop

Policy Map TEST2

    Class class-default

      police 1000000 8000 exceed-action drop

Will there be any difference between these two?

Thanks in advance,

wbr, Alex.

DAO21-RIPE
3 REPLIES

question about class-default...

When we create class-map on router ,class-default also comes default way based on creteria whatever we are matching for class-map we created goes into and things those are not matching comes under class-default.

Thanks

Ajay

New Member

question about class-default...

Okay, I understand this. But I mean, will be the traffic, that goes through the interface with service-policy TEST1 in and service-policy TEST2 in treated differently?

DAO21-RIPE

question about class-default...

Looking at output you have posted seems you called class-default under 2nd policy-map. One policy map can be applied on interface so consider like if you have 10 packet going through interface where policy-map is applied -and you class map matches 8 packets out of them then policy will be applied on 8 packet and 2 packet will be untouched considering part of class-deafult.

230
Views
0
Helpful
3
Replies