Configuration Example Of The Set-Cos-Transmit Police Action - Cisco 10000 Series Configuration Manual

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

Advertisement

Configuration Examples
If the policy map is attached to Frame Relay DLCI 101 that is configured for Layer 2 VPN, the output
from the show policy-map interface command displays the following information:
Router# show policy-map serial4/0/0.1
Serial4/0/0.1: DLCI 101 -
Service-policy input: frde
Class-map: class-default (match-any)

Configuration Example of the set-cos-transmit Police Action

The following example shows how to configure the set-cos-transmit police action on the PRE2. In the
example, the traffic class group2 is policed at 20000 bps with a normal burst of 100 bytes. Traffic that
conforms to the rate is transmitted; traffic that exceeds the rate has the CoS bits set to 3; and traffic that
violates the rate has the CoS bits set to 4.
policy-map police
The following example shows sample output from the show running-config command for a 2-level
hierarchical policy that is configured with the set-cos-transmit action on the PRE2:
policy-map in-parent
class class-default
policy-map in-child
class c0
class c1
class c2
class c3
Cisco 10000 Series Router Quality of Service Configuration Guide
6-40
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
0 packets, 0 bytes
5 minute rate 0 bps
Police:
104000 bps, 100 limit, 10 extended limit
conformed 0 packets, 0 bytes; action:
set-frde-transmit
set-mpls-exp-imposition-transmit 1
exceeded 0 packets, 0 bytes; action:
set-frde-transmit
set-mpls-exp-imposition-transmit 2
violated 0 packets, 0 bytes; action:
set-frde-transmit
set-mpls-exp-imposition-transmit 3
class group2
police 20000 100 0 conform-action transmit exceed-action set-cos-transmit 3
violate-action set-cos-transmit 4
police percent 85 1000 ms 2000 ms conform-action transmit exceed-action drop
violate-action drop
service-policy in-child
priority
police 1000000 20000 30000 conform-action set-cos-transmit 0 exceed-action
set-cos-transmit 0 violate-action set-cos-transmit 0
police 1000000 20000 30000 conform-action set-cos-transmit 1 exceed-action
set-cos-transmit 1 violate-action set-cos-transmit 1
police 1000000 20000 30000 conform-action set-cos-transmit 2 exceed-action
set-cos-transmit 2 violate-action set-cos-transmit 2
police 1000000 20000 30000 conform-action set-cos-transmit 3 exceed-action
set-cos-transmit 3 violate-action set-cos-transmit 3
Chapter 6
Policing Traffic
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents