cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2734
Views
0
Helpful
2
Replies

Getting drops on default class map

sridhar ch
Level 1
Level 1

Hi,

I have recently migrated from cisco 3845 to cisco 4431. I have a policy map configured to give priority to voice.Post migration i am seeing packet drops on the default class map. fyi, circuit BW is 40Mb.

Policy Map Voice_mpls

For Voice


Class L3-to-L2_VOIP-Cntrl
priority 128 (kbps)
Class L3-to-L2_VoIP-RTP
priority 20480 (kbps)

To restrict data copy and ftp to 7Mb


Class filecopy
police cir 7600000 bc 237500
conform-action transmit
exceed-action drop
bandwidth 7168 (kbps)

Default


Class class-default
fair-queue

Class-map configuration:


Class Map match-any filecopy (id 1)
Match protocol netbios
Match protocol ftp
Match protocol syslog

Class Map match-all L3-to-L2_VoIP-RTP (id 2)
Match ip dscp ef (46)

Class Map match-any class-default (id 0)
Match any

Class Map match-all L3-to-L2_VOIP-Cntrl (id 3)
Match ip dscp af31 (26)
Match ip dscp cs3 (24)

when i apply the policy map to the WAN interface, i am seeing packet drops on the default class map.

Interface configuration:

interface GigabitEthernet0/0/0
description ***  MPLS  ***
bandwidth 40000
ip address x.x.x.x y.y.y.y
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow monitor mpls input
ip flow monitor BW input
ip flow monitor mpls output
ip flow monitor BW output
ip access-group xxx in
ip policy route-map xxx
load-interval 30
media-type rj45
speed 100
no negotiation auto
no cdp enable
ip virtual-reassembly

service-policy output Voice_mpls
end

ISR4431-01#sh policy-map interface
GigabitEthernet0/0/0

Service-policy output: Voice_mpls

queue stats for all priority classes:
Queueing
queue limit 512 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 21565/3516134

Class-map: L3-to-L2_VOIP-Cntrl (match-all)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: ip dscp af31 (26)
Match: ip dscp cs3 (24)
Priority: 128 kbps, burst bytes 3200, b/w exceed drops: 0


Class-map: L3-to-L2_VoIP-RTP (match-all)
21565 packets, 3516134 bytes
30 second offered rate 571000 bps, drop rate 0000 bps
Match: ip dscp ef (46)
Priority: 20480 kbps, burst bytes 512000, b/w exceed drops: 0


Class-map: filecopy (match-any)
34767 packets, 8082201 bytes
30 second offered rate 1346000 bps, drop rate 0000 bps
Match: protocol netbios
Match: protocol ftp
Match: protocol syslog
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 34767/8082201
police:
cir 7600000 bps, bc 237500 bytes
conformed 34767 packets, 8082201 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 1346000 bps, exceeded 0000 bps
bandwidth 7168 kbps

Class-map: class-default (match-any)
140772 packets, 50710476 bytes
30 second offered rate 8534000 bps, drop rate 11000 bps
Match: any
Queueing
queue limit 166 packets
(queue depth/total drops/no-buffer drops/flowdrops) 0/72/0/72
(pkts output/bytes output) 140700/50606111
Fair-queue: per-flow queue limit 41 packets

At the same time i can see drops on the WAN interface also.

Thanks,

Sridhar

2 Replies 2

Philip D'Ath
VIP Alumni
VIP Alumni

This is not done the right way.  You need to be using Hierarchical Queuing Framework, with a parent class.  The parent class should contain a shaper.

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_hrhqf/configuration/15-mt/qos-hrhqf-15-mt-book/qos-hrhqf.html

Thx Philip. But after applying queue limit command, its all good now though i see drops (total output drops on the interface).

Class class-default
fair-queue
queue-limit 512 packets

Would you mind helping me with the configuration?

Review Cisco Networking for a $25 gift card