Cisco Catalyst 2960 Software Configuration Manual page 796

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Configuring Standard QoS
Beginning in privileged EXEC mode, follow these steps to create a policy map:
Command
Step 1
configure terminal
Step 2
class-map [match-all | match-any]
class-map-name
Step 3
policy-map policy-map-name
Step 4
class [class-map-name | class-default]
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
33-58
Purpose
Enter global configuration mode.
Create a class map, and enter class-map configuration mode.
By default, no class maps are defined.
(Optional) Use the match-all keyword to perform a logical-AND
of all matching statements under this class map. All match criteria
in the class map must be matched.
(Optional) Use the match-any keyword to perform a logical-OR of
all matching statements under this class map. One or more match
criteria must be matched.
For class-map-name, specify the name of the class map.
If neither the match-all or match-any keyword is specified, the default
is match-all.
Because only one match command per class map is supported,
Note
the match-all and match-any keywords function the same.
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
By default, no policy maps are defined.
The default behavior of a policy map is to set the DSCP to 0 if the
packet is an IP packet and to set the CoS to 0 if the packet is tagged. No
policing is performed.
Defines a traffic classification, and enter policy-map class
configuration mode.
By default, no policy map class-maps are defined.
If a traffic class has already been defined by using the class-map global
configuration command, specify its name for class-map-name in this
command.
A class-default traffic class is pre-defined and can be added to any
policy. It is always placed at the end of a policy map. With an implied
match any included in the class-default class, all packets that have not
already matched the other traffic classes will match class-default.
Chapter 33
Configuring QoS
OL-26520-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents