Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Cisco
CCNP (Professional)
Route maps compared to class maps
Bosefus
I am working on my ONT and am getting into class maps, and I am starting to get confused because I am used to route maps.
In a route map, at the end there is an implicit deny any at the end of a match block, is this true for class maps? I would think so but I have not come across anything it the book just yet to confirm.
Thanks!
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
rakem
they are very different things.
Class maps are used to classify traffic based upon a bunch of configurable things (protocol, IP address, Interface etc.) Then you use the policy-map to apply some type of QoS onto whatever is matched using a policy map.
So for an example;
!
class-map match-all test
match protocol http
!
!
policy-map http
class test
shape average 400000
set dscp af33
In the class map, it is just matching any http traffic.
In the policy map, any traffic that is matched in the above class map will be shapped and have dscp af33 tagged onto it. So to answer your question these is no implicit deny at the end of class-maps. They are just used to match (classify) traffic.
Route maps or more for policy based routing, for example;
route-map test permit 10
match ip address 20
set ip next-hop 1.1.1.1
ColbyG
Route-maps are typically performing an action. Class-maps are used to match traffic so an action can be performed by a policy-map.
They are completely different technologies.
GT-Rob
I think he understands the difference, he is just not sure on the 'implicit rules'
Since a class-map is generally used to match traffic, I guess you could think of it as having a deny-all at the end as far as matching is concerned. This of course does not actually deny traffic, just "do not match anything else"
Class-map match-any QOS
match protocol http
match protocol ftp
(do not match anything else)
Bosefus
Thanks all
GT-Rob hit the nail on the head.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS