cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
292
Views
0
Helpful
2
Replies

How does class-map match?

michael-luo
Level 1
Level 1

Say if I have two class-maps, one is matching on IP address, the other one is matching on IP Precedence, what happens if a packet meets both criteria?  Which class-map it'll match?

I guess it'll be top-down (match the first class-map).  If that's the case, it'd be very difficult to prioritize the class-maps as they don't have line numbers as ACLs, which you can delete/insert the class-map at a specific location in the config.

Thanks!

2 Replies 2

Wayne DeNardi
VIP Alumni
VIP Alumni

I'm not sure why you'd want to do this as Voice is Voice, Video is Video, Data is Data, especially if you use standardised class maps - and remember that QoS really only kicks in if the bandwidth is fully utilised, so in most circumstances with appropriately sized links, it doesn't kick in very often at all.

In any case, your question is probably better placed somewhere in the Network Infrastructure section of the forums than in the Video Over IP section you have posted it in as the solution will be based predominantly on your network equipment.

Wayne

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.

Joseph W. Doherty
Hall of Fame
Hall of Fame

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

Policy-map classes are processed in sequence.

Yes, edits can be difficult, as you may need to drop and redefine multiple classes.  (But we had to do that for ACLs years ago too.  Fortunately, policy-map classes cannot run into the thousands.)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: