![Cisco 10000 Series Скачать руководство пользователя страница 368](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373368.webp)
11-26
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 11 Managing Packet Queue Congestion
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
Purpose
Step 1
Router(config-if)#
class-map
class-map-name
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.
Step 2
Router(config-cmap)#
match
match-criterion
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
“Defining Match Criteria Using the
match Commands” section on page 2-5
.
Step 3
Router(config-cmap)#
exit
Exits class map configuration mode.
Step 4
Router(config)#
policy-map
policy-map-name
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.
Step 5
Router(config-pmap)#
class
class-map-name
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.
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
]
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.