EasyManua.ls Logo

Cisco Catalyst 3750 Metro - Page 381

Cisco Catalyst 3750 Metro
985 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-353
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
police cir
If you set the CIR equal to the PIR, a traffic rate that is less than the CIR or that meets the CIR is in the
conform range. A traffic that exceeds the CIR rate is in the violate range.
If you set the PIR greater than the CIR, a traffic rate less than the CIR is in the conform range. A traffic
rate that exceeds the CIR but is less than or equal to the PIR is in the exceed range. A traffic rate that
exceeds the PIR is in the violate range.
If you apply a single-rate traffic policer to an ES port by using the police rate-bps burst-byte
[exceed-action {drop | policed-dscp-transmit}] policy-map class configuration command, the
software automatically sets the CIR and the PIR to the same value.
Examples This example shows how to configure a two-rate traffic policer on a class to limit traffic to an average
committed rate of 500 kbps and a peak rate of 1 Mbps:
Switch(config)# class-map c1
Switch(config-cmap)# match ip precedence 4
Switch(config-cmap))# exit
Switch(config)# policy-map policy1
Switch(config-pmap)# class c1
Switch(config-pmap-c)# police cir 500000 bc 10000 pir 1000000 be 10000 conform-action
transmit exceed-action set-prec-transmit 2 violate-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config-pmap-c)# interface gigabitethernet1/1/1
Switch(config-if)# service-policy output policy1
Switch(config-if)# end
Traffic marked as conforming to the average committed rate (500 kbps) is sent as is. Traffic marked as
exceeding 500 kbps, but not exceeding 1 Mbps, is marked with IP precedence 2 and then sent. All traffic
marked as exceeding 1 Mbps is dropped. The burst parameters are set to 10000 bytes.
You can verify your settings by entering the show policy-map or the show running-config privileged
EXEC command.
Related Commands Command Description
class Specifies the name of the class whose traffic policy you want to create or
change.
police cir percent Configures a two-rate traffic policer for a class of traffic based on a
percentage of the available bandwidth on an ES port.
policy-map Creates or modifies a policy map that can be attached to multiple ports to
specify a service policy.
show policy-map Displays quality of service (QoS) policy maps.
show running-config Displays the operating configuration. For syntax information, use this link
to the Cisco IOS Release 12.2 Command Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command
_reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2 to navigate to
the command.

Table of Contents

Related product manuals