11-36
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 11 Managing Packet Queue Congestion
Verifying and Monitoring Layer 3 Packet Dropping
Example 11-8
shows sample output for the
show class-map
command. The
show class-map
command
output indicates that the router classifies traffic based on the default DSCP 0 and DSCP 1, 2, 3, and 5.
Traffic must match all of these DSCP values before the router can assign the traffic to the per_dscp_class
traffic class.
Example 11-8
Displaying Sample Output from the show class-map Command
Router#
show class-map per_dscp_class
Class Map match-all per_dscp_class (id 11)
Match ip dscp default 1 2 3 5
Example 11-9
shows sample output for the
show policy-map
command. The
show policy-map
command output indicates that the drop policy for the class named per_dscp_class is based on DSCP 1,
2, 3, and 5.
Example 11-9
Displaying Sample Output from the show policy-map Command
Router#
show policy-map per_dscp_policy
Policy Map per_dscp_policy
Class per_dscp_class
priority
random-detect dscp-based
random-detect dscp 1 10 20 50
random-detect dscp 2 10 40 20
random-detect dscp 3 100 400 20
random-detect dscp 5 22 60 30
Verification Example for IP Precedence-Based WRED
Example 11-10
shows sample output for the
show policy-map interface
command when IP
precedence-based WRED is configured on the new-users class queue. For each precedence level, the
output indicates the minimum and maximum thresholds, the mark probability value, the number of
packets dropped using RED, and the number of packets dropped using tail drop.
Example 11-10 Displaying IP Precedence-Based WRED Statistics
Router#
show policy-map interface FastEthernet 3/0/0
FastEthernet3/0/0
Service-policy output: voice
Class-map: new-users (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 101
Output queue: 0/128; 0/0 packets/bytes output, 0 drops
Bandwidth: 47 kbps (Weight 0)
Random-detect (precedence-based):
Exponential weight: 9 (1/512)
Current average queue length: 0 packets
-----------------------------------------------------------------------
TOS Min
Max
Mark Rand-Drops
Tail-Drops
precedence
thres
thres
probability
-----------------------------------------------------------------------
0
2048
4096
1/10
10
5
1
2304
4096
1/10
3
1
2
2560
4096
1/10
0
0