Cisco 10000 Series Configuration Manual page 239

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

Advertisement

Chapter 6
Policing Traffic
Configuration Example for Configuring Percent-Based Two-Color Policing
Example 6-10
configured for the classes named Voice and Test in the policy map named Premium. The router allocates
10 percent of the committed rate to voice traffic and allows burst sizes of 2 ms. The router transmits
Voice traffic that conforms to the committed rate and sets the precedence-transmit value to 2 for Voice
traffic that exceeds the burst sizes. The router allocates 5 percent of the committed rate to Test traffic
and allows committed bursts of 4 ms and excess bursts of 2 ms. The router transmits Test traffic that
conforms to the committed rate and drops Test traffic that exceeds the burst sizes.
Example 6-10 Configuring Percent-Based Two-Color Policing
Router(config)# policy-map Premium
Router(config-pmap)# class Voice
Router(config-pmap-c)# police percent 10 2 ms 2 ms conform-action transmit exceed-action
set-prec-transmit 2
Router(config-pmap-c)# class Test
Router(config-pmap-c)# police percent 5 4 ms 2 ms conform-action transmit exceed-action
drop
Router(config-pmap)# exit
Router(config)# interface atm 1/0/0.1 point-to-point
Router(config-subif)# service-policy input Premium
Configuration Example for Configuring Percent-Based Three-Color Policing
Example 6-11
configured for the class named Bronze in the policy map named Policy_0. The router allocates 10
percent of the committed rate to Bronze traffic and allows burst sizes of 2 ms. The router transmits
Bronze traffic that conforms to the committed rate, sets the precedence-transmit value to 2 for Bronze
traffic that exceeds the burst sizes, and drops Bronze traffic that violates the committed rate. For the
Silver class, the router polices Silver traffic at 8,000,000 bits per second and allows committed bursts of
4000 bytes and excess bursts of 6000 bytes. The router transmits Silver traffic that conforms to the
committed rate, sets the QoS transmit value to 4 for Silver traffic that exceeds the burst sizes, and drops
Silver traffic that violates the committed rate.
Example 6-11 Configuring Percent-Based Three-Color Policing
Router(config)# policy-map Policy_0
Router(config-pmap)# class class-default
Router(config-pmap-c)# set ip precedence 0
Router(config-pmap-c)# class Bronze
Router(config-pmap-c)# police percent 10 2 ms 2 ms conform-action transmit exceed-action
set-prec-transmit 2 violate-action drop
Router(config-pmap-c)# class Silver
Router(config-pmap-c)# police 8000000 4000 6000 conform-action transmit exceed-action
set-qos-transmit 4 violate-action drop
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface atm 1/0/0.1 point-to-point
Router(config-subif)# pvc 1/32
Router(config-if-atm-range)# service-policy input Policy_0
OL-7433-09
shows how to configure two-color percent-based policing. In the example, policing is
shows how to configure three-color percent-based policing. In the example, policing is
Cisco 10000 Series Router Quality of Service Configuration Guide
Configuring Traffic Policing
6-33

Advertisement

Table of Contents
loading

Table of Contents