Configuring Tunnel Header Marking Using The Police Command; Example Configuration For Tunnel Header Marking Using The Police Command - Cisco 10000 Series Configuration Manual

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

Advertisement

Configuring Traffic Marking

Configuring Tunnel Header Marking Using the police Command

To configure tunnel header marking using the police command, 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] bps
[bc] burst-normal [pir pir] [be] burst-excess
[conform-action {set-dscp-tunnel-transmit value
| set-prec-tunnel-transmit value}]
[exceed-action {set-dscp-tunnel-transmit value
| set-prec-tunnel-transmit value}]
[violate-action {set-dscp-tunnel-transmit value
| set-prec-tunnel-transmit value}]

Example Configuration for Tunnel Header Marking Using the police Command

The following example configuration shows how to mark the tunnel header of a packet using the police
command. In the example, the policer sets the DSCP bits to 4 for all conforming traffic belonging to the
match_ip class.
class-map match_ip
policy-map Tunnel_Marking
class class-default
Cisco 10000 Series Router Quality of Service Configuration Guide
7-36
match protocol ip
class match_ip
police 8000 conform-action set-dscp-tunnel-transmit 4
shape 64000
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 policing and uses the policer action to mark a
packet's outer tunnel header.
set-dscp-tunnel-transmit value is a number from 0 to 63
or one of the following reserved keywords:
EF (expedited forwarding)
AF11 (assured forwarding class AF11)
AF12 (assured forwarding class AF12)
set-prec-tunnel-transmit value is a number from 0 to 7
that sets the precedence bit in the packet header.
For more information, see the
(Single-Rate)" section on page 6-6
(Two-Rate)" section on page
Chapter 7
Marking Traffic
"police Command
or the
"police Command
6-9.
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents