Cisco Cisco IOS Software Release 12.4(6)T

Page de 34
Tag and Template
  class type tag
14
Cisco IOS Security Configuration Guide
class type tag
To associate a class map with a policy map, use the class type tag command in policy map configuration 
mode. To disassociate the command, use the no form of this command.
class type tag {class-name} [insert-before {class-name}]
no class type tag {class-name} [insert-before {class-name}]
Syntax Description
Command Default
A class map is not associated with a policy map.
Command Modes
Policy map configuration
Command History
Usage Guidelines
If this command is used and the class is not configured, an error is generated to the user. The error may 
be something such as “% class map {name} not configured.” If the class needs to be inserted before a 
specific class map, the insert-before keyword can be used. The insert-before keyword is typically 
needed if the administrator is configuring any per-host class maps and would like it inserted before a 
specific class map. The class type tag command creates the policy map class configuration mode. There 
can be multiple classes under the policy map.
Examples
The following example shows the class map “usergroup1_class” is to be associated with a policy map:
class type tag usergroup1_class
Related Commands
class-name
Name of the class map.
insert-before 
class-name
(Optional) Adds a class map between any two existing class maps.
Inserting a new class map between two existing class maps provides more 
flexibility when modifying existing policy map configurations. Without this 
option, the class map is appended to the end of the policy map.
Release
Modification
12.4(6)T
This command was introduced. 
Command
Description
policy-map
Creates or modifies a policy map that can be attached to one or 
more interfaces to specify a service policy.