cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
351
Views
0
Helpful
1
Replies

Creating a new class-map under a policy-map

smallwkw66
Level 1
Level 1

While reading the online Net Academy material I came across this quote:

"A nonexistent class can also be used within the policy-map configuration mode if the match condition is specified after the name of the class. The running configuration will reflect such a configuration by using the match-any strategy and inserting a full class map configuration." - ONT v5 3.4.5

The figure that goes along with it says:

"router(config-pmap)#class class-name condition

Optionally, you can define a new class map by entering the condition after the name of the new class map.

Uses the match-any strategy."

I have tried this on various 2600s and 2811s with varying IOS versions up to 12.4(14b) and have not been able to do what the material says. I also did not see this listed on cisco.com's online documentation. I was wondering if anyone could tell me if it is true that I can do this and if so how?

1 Reply 1

foxbatreco
Level 3
Level 3

If nothing is specified in the class-map command, it assumes it to be match-all.

i.e the default match condition is match-all unless match-any is specified explicitly.

class-map.

Even i had tried once to use something like u stated but it didnt work out and if i recall correctly the IOS was around 12.3 version.

Pls rate/mark if this helps!!!

Review Cisco Networking products for a $25 gift card