Marking Traffic Using Police Actions; Configuration Example For Marking Traffic Using Police Actions - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Configuring Traffic Policing

Marking Traffic Using Police Actions

To mark traffic using police actions, enter the following commands beginning in global configuration
mode:
Command
Step 1
Router(config)# policy-map policy-map-name
Step 2
Router(config-pmap)# class class-map-name
Step 3
Router(config-pmap-c)# police {cir cir}
[bc] burst-normal [pir pir]
[be] peak-burst [conform-action action]
[exceed-action action] [violate-action
action]

Configuration Example for Marking Traffic Using Police Actions

Example 6-15
the example configuration, traffic is policed at 8000 bps with the normal burst size set to 2000 bytes and
the peak burst size set to 1000 bytes. Traffic whose rate is less than the conform burst rate has the CLP
bit set to 1; traffic whose rate is within the conform and conform plus exceed burst rate has the CoS bits
set to 3; and traffic whose rate is higher than the conform plus exceed rate has the CoS bits also set to 3.
Example 6-15 Marking Traffic Using Police Actions
Router(config)# policy-map policy1
Router(config-pmap)# class gold
Router(config-pmap-c)# police 8000 2000 1000 conform-action set-clp-transmit exceed-action
set-cos 3 violate-action set-cos 3
Cisco 10000 Series Router Quality of Service Configuration Guide
6-36
Purpose
Specifies the name of the policy map and enters policy-map
configuration mode.
policy-map-name is the name of the policy map.
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name is the name of a previously configured class map
and is the traffic class for which you want to define QoS actions.
Configures traffic policing and optionally configures the policing
action for conforming, exceeding, or violating traffic.
action specifies the policing action, such as set-clp-transmit,
set-frde-transmit, set-cos-transmit, or set-cos-inner-transmit.
Valid values for these actions are 0 to 7. For more information
about the actions you can specify, see
shows how to configure conform, exceed, and violate actions in the police command. In
Chapter 6
Policing Traffic
Table 6-1 on page
6-3.
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents