Dropping Packets Based On A Differentiated Services Code Point - Cisco 10000 Series Configuration Manual

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

Advertisement

Configuring Layer 3 Queue Limit and Drop Policies
Router(config-pmap-c)# queue-limit 32
Router(config-pmap-c)# exit
Router(config-pmap)# class Class2
Router(config-pmap-c)# bandwidth 2000
Router(config-pmap-c)# exit
Router(config)# interface atm 1/0/0
Router(config-if)# atm pxf queuing
Router(config-if)# interface atm 1/0/0.1 point-to-point
Router(config-subif)# pvc 1/32
Router(config-subif-atm-vc)# ubr 10000
Router(config-subif-atm-vc)# service-policy output Policy1

Dropping Packets Based on a Differentiated Services Code Point

To configure WRED to drop packets based on a specific differentiated services code point (DSCP) value,
enter the following commands beginning in global configuration mode:
Command
Step 1
Router(config-if)# class-map
class-map-name
Step 2
Router(config-cmap)# match
match-criterion
Step 3
Router(config-cmap)# exit
Step 4
Router(config)# policy-map
policy-map-name
Step 5
Router(config-pmap)# class class-map-name
Step 6
PRE2
Router(config-pmap-c)# random-detect
dscp-based
PRE3
Router(config-pmap-c)# random-detect
dscp-based aggregate [minimum-thresh
min-thresh maximum-thresh max-thresh
mark-prob mark-prob]
Cisco 10000 Series Router Quality of Service Configuration Guide
11-26
Chapter 11
Purpose
Creates a class map to be used for matching packets to a specified
class. Enters class map configuration mode.
class-map-name identifies the class map.
Configures the match criterion for a class map.
match-criterion is a match statement that indicates how the router
is to classify packets. See the
match Commands" section on page
Exits class map configuration mode.
Creates or modifies a policy map that can be attached to one or
more interfaces to specify a service policy. Enters policy map
configuration mode.
policy-map-name is the name of the policy map.
Specifies the name of the traffic class for which you want to
define QoS actions. Enters policy map class configuration mode.
class-map-name identifies the traffic class. It is the name of the
class-map you configured in Step 1.
Indicates that WRED is to use the DSCP value when calculating
the drop probability for a packet.
(Optional) min-thresh is the minimum number of packets allowed
in the queue. Valid minimum threshold values are from 1 to
16,384.
(Optional) max-thresh is the maximum number of packets
allowed in the queue. Valid maximum threshold values are from
the value of the minimum threshold to 16,384.
(Optional) mark-prob is the drop rate. Valid values are from 1 to
65,535. The default value is 10.
Managing Packet Queue Congestion
"Defining Match Criteria Using the
2-5.
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents