Policy-Map - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

policy-map

policy-map
Use the policy-map global configuration command to create or modify a policy map that can be attached
to multiple physical ports and to enter policy-map configuration mode. Use the no form of this command
to delete an existing policy map and to return to global configuration mode.
Syntax Description
policy-map-name
Defaults
No policy maps are defined.
The default behavior is to set the Differentiated Services Code Point (DSCP) to 0 if the packet is an IP
packet and to set the class of service (CoS) to 0 if the packet is tagged. No policing is performed.
Command Modes
Global configuration
Command History
Release
12.2(25)FX
Usage Guidelines
After entering the policy-map command, you enter policy-map configuration mode, and these
configuration commands are available:
To return to global configuration mode, use the exit command. To return to privileged EXEC mode, use
the end command.
Before configuring policies for classes whose match criteria are defined in a class map, use the
policy-map command to specify the name of the policy map to be created, added to, or modified.
Entering the policy-map command also enables the policy-map configuration mode in which you can
configure or modify the class policies for that policy map.
You can configure class policies in a policy map only if the classes have match criteria defined for them.
To configure the match criteria for a class, use the class-map global configuration and match class-map
configuration commands. You define packet classification on a physical-port basis.
Only one policy map per ingress port is supported. You can apply the same policy map to multiple
physical ports.
Catalyst 2960 Switch Command Reference
2-264
policy-map policy-map-name
no policy-map policy-map-name
Name of the policy map.
Modification
This command was introduced.
class: defines the classification match criteria for the specified class map. For more information, see
the
"class" section on page
description: describes the policy map (up to 200 characters).
exit: exits policy-map configuration mode and returns you to global configuration mode.
no: removes a previously defined policy map.
rename: renames the current policy map.
2-31.
Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
OL-8604-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents