03-24-2010 09:58 AM - edited 03-06-2019 10:17 AM
Hello,
I have to test a congestion management for a customer.
Involved Hardware: 876 Series Router
IOS: advanced Security
I configured the following class-based-weighted-fair-queueing:
ip access-list extended QOS
permit tcp any host 172.16.17.21 eq 10002
permit tcp any host 172.16.17.24 eq 10002
permit tcp any host 195.145.98.212 eq 443
permit tcp any host 195.145.98.220 eq 443
permit tcp 10.0.0.0 0.255.255.255 160.83.1.240 0.0.0.7 eq 53301
permit icmp 10.0.0.0 0.255.255.255 160.83.1.240 0.0.0.7
permit tcp any 172.19.201.160 0.0.0.15 eq 1494
permit tcp any 172.19.201.160 0.0.0.15 eq 1604
class-map match-all DATA
match access-group name QOS
class-map match-all VOICE
match precedence 3 5
policy-map PRIO_QUEUEING
class VOICE
bandwidth percent 20
class DATA
bandwidth percent 50
class class-default
fair-queue
interface dialer1
service-policy output PRIO_QUEUEING
-----------------------------------------------------------------------------------------------------------
I got the following Output:
sh policy-map interface output
Dialer1
Service-policy output: PRIO_QUEUEING
Class-map: VOICE (match-all)
187112 packets, 27113032 bytes
5 minute offered rate 13000 bps, drop rate 0 bps
Match: precedence 3 5
Queueing
Output Queue: Conversation 25
Bandwidth 23 (%)
Bandwidth 12 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
Class-map: DATA (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name QOS
Queueing
Output Queue: Conversation 26
Bandwidth 50 (%)
Bandwidth 28 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
Class-map: class-default (match-any)
1395439 packets, 362149552 bytes
5 minute offered rate 216000 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 16
(total queued/total drops/no-buffer drops) 0/0/0
My question is why there are no matches at the class-map DATA. I took a look to the traffic with Netflow Tracker by Fluke and saw that the applications generated traffic.
Could anybody help me?
Kind regards
Holger
Solved! Go to Solution.
04-20-2010 06:44 AM
Hi Holger,
If you classify and mark the traffic at LAN interface, you dont need to use 'qos pre-classify'. The DSCP value will be preserved.
HTH,
Lei Tian
04-20-2010 07:11 AM
Hi,
how I can classify the traffic at incoming interface just like at my "access-list DATA", with class-map I don't could classify sophisticated enough.
regards
Holger
04-20-2010 08:06 AM
Hi Holger,
Here is an configuration example
class-map mark_data
match access-group name QOS
class-map mark_voice
match access-group name VOICE
policy-map MARKING
class mark_data
set ip dscp af21
class mark_voice
set ip dscp ef
int vlan x
service-policy in MARKING
class-map DATA
match ip dscp af21
class-map VOICE
match ip dscp ef
policy-map PRIO_QUEUEING
class VOICE
bandwidth percent 20
class DATA
bandwidth percent 50
class class-default
fair-queue
HTH,
Lei Tian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide