Class - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

39
749
A policy map contains one or more class maps and an action that is taken if the
packet matches the class map. Policy maps may be bound to ports/port-channels.
Entering the
policy-map
configuring or modifying the class policies for that policy map. Class policies in a
policy map can be configured only if the classes have match criteria defined for
them.
Policy map is applied on the ingress path.
The match criteria is for a class map. Only one policy map per interface is
supported. The same policy map can be applied to multiple interfaces and
directions.
The
service-policy
command binds a policy map to a port/port-channel.
Example
The following example creates a policy map called Policy1 and enters the
Policy-map Configuration mode.
switchxxxxxx(config)#
switchxxxxxx(config-pmap)#

39.8 class

Use the class Policy-map Configuration mode. command after the
command to attach ACLs to a policy-map. Use the no form of this command to
detach a class map from a policy map.
Syntax
class-map-name [
class
class-map-name
no class
Parameters
class-map-name—Specifies the name of an existing class map. If the class
map does not exist, a new class map is created under the specified name.
access-group
Control List (ACL).
Global Configuration mode command also enables
policy-map
policy1
acl-name
access-group
acl-name
—Specifies the name of an IP, IPv6, or MAC Access
OL-32830-01 Command Line Interface Reference Guide
Quality of Service (QoS) Commands
policy-map
]

Advertisement

Table of Contents
loading

Table of Contents