Cisco 10000 Series Configuration Manual page 236

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

Advertisement

Configuring Traffic Policing
Configuration Example for Policing a Priority Service
Example 6-6
priority class named Priority-Class is configured in the policy map named Gold. The router polices
Priority-Class traffic at 10200 bits per second and allows committed bursts of 1000 bytes and excess
bursts of 500 bytes. The router transmits Priority-Class traffic that conforms to the policing rate, drops
Priority-Class traffic that exceeds the burst sizes, and drops Priority-Class traffic that violates the
policing rate.
Example 6-6
Router(config)# policy-map Gold
Router(config-pmap)# class Priority-Class
Router(config-pmap-c)# priority
Router(config-pmap-c)# police 102000 1000 500 conform-action transmit exceed-action drop
violate-action drop
Configuration Example for Configuring Single-Rate Policing in a Hierarchical Policy
Example 6-7
(as indicated in the encapsulation dot1q 2 command) on the Gigabit Ethernet subinterface 1/0/0.1. In
the Parent-Policy class-default class, bandwidth is shaped to 512 kbps. The policy map named
Child-Policy is applied to the Parent-Policy. After the router shapes the bandwidth to 512 kbps as
indicated in class-default, the router then polices Group1 and Group2 traffic configured in the policy
map named Child-Policy. The router polices Group1 traffic at 12000 bits per second and allows
committed bursts of 500 bytes and excess bursts of 1000 bytes. The router polices Group2 traffic at 8000
bits per second and allows committed bursts of 4000 bytes and excess bursts of 2000 bytes. The router
performs three-color policing on both Group1 and Group2 traffic.
Example 6-7
Router(config)# policy-map Child-Policy
Router(config-pmap)# class Group1
Router(config-pmap-c)# police 12000 500 1000 conform-action transmit exceed-action
set-qos-transmit 4 violate-action set-qos-transmit 4
Router(config-pmap-c)# class Group2
Router(config-pmap-c)# police 8000 4000 2000 conform-action transmit exceed-action drop
violate-action drop
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map Parent-Policy
Router(config-pmap)# class class-default
Router(config-pmap-c)# shape 512000
Router(config-pmap-c)# service-policy Child-Policy
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface GigabitEthernet 1/0/0.1
Router(config-subif)# encapsulation dot1q 2
Router(config-atm-range)# service-policy output Parent-Policy
Cisco 10000 Series Router Quality of Service Configuration Guide
6-30
shows how to configure the police command for a priority service. In the example, the
Policing a Priority Service
shows how to configure a hierarchical policy named Parent-Policy and attach it to VLAN 2
Configuring Single-Rate Policing in a Hierarchical Policy
Chapter 6
Policing Traffic
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents