Cisco 10000 Series Configuration Manual page 235

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

Advertisement

Chapter 6
Policing Traffic
Configuration Example for Configuring Single-Rate Two-Color Policing
Example 6-4
and exceeding traffic. In the example, policing is configured for the class named Group1 in the policy
map named Premium. The router polices Group1 traffic at 8,000,000 bits per second and allows
committed bursts of 4000 bytes and excess bursts of 6000 bytes. The router transmits Group1 traffic that
conforms to the normal or committed rate and sets the precedence-transmit value to 2 for Group1 traffic
that exceeds the burst sizes. The router polices Group2 traffic at 4,000,000 bits per second and allows
committed bursts of 2000 bytes and excess bursts of 5000 bytes. The router transmits Group2 traffic that
conforms to the policing rate and sets the dscp-transmit value to 5 for Group2 traffic that exceeds the
burst sizes.
Example 6-4
Router(config)# policy-map Premium
Router(config-pmap)# class Group1
Router(config-pmap-c)# police 8000000 4000 6000 conform-action transmit exceed-action
set-prec-transmit 2
Router(config-pmap-c)# exit
Router(config-pmap)# class Group2
Router(config-pmap-c)# police 4000000 2000 5000 conform-action transmit exceed-action
set-dscp-transmit 5
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 Single-Rate Three-Color Policing
Example 6-5
conforming, exceeding, and violating traffic. In the example, policing is configured for the classes
named Bronze and Silver in the policy map named Policy_0. The router polices Bronze traffic at
4,000,000 bits per second and allows normal or committed bursts of 5000 bytes and excess bursts of 2000
bytes. The router transmits Bronze traffic that conforms to the policing rate, sets the precedence-transmit
value to 2 for Bronze traffic that exceeds the burst sizes, and drops Bronze traffic that violates the
policing rate. The router polices Silver traffic at 8,000,000 bits per second and allows committed bursts
of 6000 bytes and excess bursts of 4000 bytes. The router transmits Silver traffic that conforms to the
policing rate, drops Silver traffic that exceeds the burst sizes, and drops Silver traffic that violates the
policing rate.
Example 6-5
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 4000000 5000 2000 conform-action transmit exceed-action
set-prec-transmit 2 violate-action drop
Router(config-pmap-c)# class Silver
Router(config-pmap-c)# police 8000000 6000 4000 conform-action transmit exceed-action drop
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-atm-vc)# service-policy input Policy_0
OL-7433-09
shows how to configure single-rate two-color policing that includes actions for conforming
Configuring Single-Rate Two-Color Policing
shows how to configure single-rate three-color policing that includes actions for
Configuring Single-Rate Three-Color Policing
Cisco 10000 Series Router Quality of Service Configuration Guide
Configuring Traffic Policing
6-29

Advertisement

Table of Contents
loading

Table of Contents