Cisco NM-8B-U - HW ROUTERS L-M User Manual page 161

16- and 36-port ethernet switch module for cisco 2600 series, cisco 3600 series, and cisco 3700 series
Table of Contents

Advertisement

16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
class
To define a traffic classification for the policy to act on using the class-map name or access group, use
the class policy-map configuration command. To delete an existing class map, use the no form of this
command.
class-map-name
Syntax Description
access-group
acl-index-or-name
Defaults
No policy-map class maps are defined.
Command Modes
Policy-map configuration
Command History
Release
12.1(6)EA2
12.2(15)ZJ
Usage Guidelines
Before you use the class command, use the policy-map global configuration command to identify the
policy map and to enter policy-map configuration mode. After you specify a policy map, you can
configure a policy for new classes or modify a policy for any existing classes in that policy map. You
attach the policy map to an interface by using the service-policy interface configuration command;
however, you cannot attach one that uses an ACL classification to the egress direction.
The class name that you specify in the policy map ties the characteristics for that class to the class map
and its match criteria as configured by using the class-map global configuration command.
The class command performs the same function as the class-map global configuration command. Use
the class command when a new classification, which is not shared with any other ports, is needed. Use
the class-map command when the map is shared among many ports.
In a policy map, the class named class-default is not supported. The switch does not filter traffic
Note
based on the policy map defined by the class class-default policy-map configuration command.
After entering the class command, you enter policy-map class configuration mode. When you are in this
mode, these configuration commands are available:
class class-map-name [access-group acl-index-or-name]
no class class-map-name
Name of the class map.
(Optional) Number or name of an IP standard or extended access control list
(ACL). For an IP standard ACL, the index range is 1 to 99 and 1300 to 1999;
for an IP extended ACL, the index range is 100 to 199 and 2000 to 2699.
Modification
This command was introduced.
This command was implemented on the following platforms: Cisco 2600
series, Cisco 3600 series, and Cisco 3700 series routers.
default: sets a command to its default.
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
class
161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents