Classifying, Policing, And Marking Traffic By Using Policy Maps - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Configuring QoS
Command
Step 6
show class-map [class-map-name]
Step 7
copy running-config startup-config
To delete an existing class map, use the no class-map class-map-name global configuration command.
To remove a match criterion, use the no match {acl-index | name acl-name} class-map configuration
command.
This example shows how to configure the class map called class1. The class1 has one match criterion,
which is an ACL called 103.
Switch(config)# access-list 103 permit any any tcp eq 80
Switch(config)# class-map class1
Switch(config-cmap)# match access-group 103
Switch(config-cmap)# end
Switch#

Classifying, Policing, and Marking Traffic by Using Policy Maps

A policy map specifies which traffic class to act on. Actions can include trusting the CoS or DSCP values
in the traffic class; setting a specific DSCP value in the traffic class; and specifying the traffic bandwidth
limitations for each matched traffic class (policer) and the action to take when the traffic is out of profile
(marking).
A policy map also has these characteristics:
You can attach only one policy map per interface in the input direction.
Catalyst 2950 Desktop Switch Software Configuration Guide
24-18
A policy map can contain multiple class statements, each with different match criteria and policers.
A separate policy-map class can exist for each type of traffic received through an interface.
Purpose
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 24
Configuring QoS
78-11380-04

Advertisement

Table of Contents
loading

Table of Contents