Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
37-33
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service
Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
Configuring Policy-Map Class Policing
These sections describe configuration of policy-map class policing:
Using a Named Aggregate Policer, page 37-33
Configuring a Per-Interface Policer, page 37-33
Using a Named Aggregate Policer
To use a named aggregate policer (see the “Creating Named Aggregate Policers” section on page 37-26),
enter this command:
Configuring a Per-Interface Policer
To configure a per-interface policer (see the “Policing and Marking” section on page 37-10), enter this
command:
When configuring a per-interface policer, note the following:
The valid range of values for the rate parameter is as follows:
Minimum—32 kilobits per second, entered as 32000
Maximum—32 gigabits per second, entered as 32000000000
Note For more information, see the “Configuration Guidelines” section on page 37-19.
Rates can be entered in bits-per-second, or you can use the following abbreviations:
k to denote 1000 bps
m to denote 1000000 bps
g to denote 1000000000 bps
Note You can also use a decimal point. For example, a rate of 1,100,000 bps can be entered
as 1.1m.
The valid range of values for the burst parameter is as follows:
Minimum—1 kilobyte
Maximum—512 megabytes
Command Purpose
Switch(config-pmap-c)# [no] police aggregate
aggregate_name
Uses a previously defined aggregate policer.
Use the no keyword to delete the policer from the
policy-map class.
Command Purpose
Switch(config-pmap-c)# [no] police rate burst
[[conform-action {transmit | drop}]
[exceed-action {transmit | drop |
policed-dscp-transmit}]]
Configures a per-interface policer.
Use the no keyword to delete a policer from the
policy-map class.