Configuring Dual Police Actions; Configuration Example For Configuring Dual Police Actions - Cisco 10000 Series Configuration Manual

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

Advertisement

Chapter 6
Policing Traffic

Configuring Dual Police Actions

To configure dual police actions for conform, exceed, and violate actions, enter the following commands
beginning in global configuration mode:
Command
Step 1
Router(config)# policy-map policy-map-name
Step 2
Router(config-pmap)# class class-map-name
Step 3
Router(config-pmap-c)# police {cir cir}
[bc] burst-normal [pir pir]
[be] peak-burst conform-action action
Step 4
Router(config-pmap-c-police)#
conform-action action
Step 5
Router(config-pmap-c-police)#
exceed-action action
Step 6
Router(config-pmap-c-police)#
exceed-action action
Step 7
Router(config-pmap-c-police)#
violate-action action
Step 8
Router(config-pmap-c-police)#
violate-action action

Configuration Example for Configuring Dual Police Actions

Example 6-16
set-mpls-exp-imposition-transmit. The example configures set-clp-transmit and set-mpls-exp-transmit
as the conform action and set-clp-transmit and set-mpls-exp-transmit as the exceed and violate actions.
Example 6-16 Configuring Dual Police Actions
Router(config)# policy-map clp
Router(config-pmap)# class class-default
Router(config-pmap-c) police 100000 100 10 conform-action set-clp-transmit
Router(config-pmap-c-police)# conform-action set-mpls-exp-transmit 1
Router(config-pmap-c-police)# exceed-action set-clp-transmit
Router(config-pmap-c-police)# exceed-action set-mpls-exp-transmit 2
Router(config-pmap-c-police)# violate-action set-clp-transmit
Router(config-pmap-c-police)# violate-action set-mpls-exp-transmit 3
Router(config-pmap-c-police)# end
Router#
OL-7433-09
Purpose
Specifies the name of the policy map and enters policy-map
configuration mode.
policy-map-name is the name of the policy map.
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name is the name of a previously configured class map
and is the traffic class for which you want to define QoS actions.
Configures traffic policing and specifies the first conform action.
Valid combinations of dual actions are:
Configures the second conform action.
Configures the first exceed action.
Configures the second exceed action.
Configures the first violate action.
Configures the second violate action.
shows how to configure the dual police actions set-clp-transmit and
Cisco 10000 Series Router Quality of Service Configuration Guide
set-clp-transmit and set-mpls-exp-imposition-transmit
set-frde-transmit and set-mpls-exp-imposition-transmit
set-cos-transmit and set-cos-inner-transmit
Configuring Traffic Policing
6-37

Advertisement

Table of Contents
loading

Table of Contents