Renaming Class-maps and Policy-mapsOctober 19, 2009
I saw someone removing a Policy-Map and the associated Class-Maps, just to rename the class-map to the correct naming standard. And although the intention was great conforming to network standards, there is an easier way.
Within the class-map and the Policy-Map there is a rename option. What is really cool, Mr IOS will update the mappings that are in use or referenced by that name auto-magically.
Take the following Class-Map and Policy-Map I ‘errornously’ created:
Enter the Class-Map configuring mode and rename (this class-map) as follow:
Entering the Policy-Map configuration mode, issue the rename command to correct the finger troubles as follow: