01-02-2006 10:42 PM - edited 03-03-2019 11:21 AM
About Qos,I am on the serial the test is to control is OK, but in the test of Fastethernet/ ethernetn controls is Fail!
Does the Qos on serial/ ethernet ,have the dissimilarity?
configure have problems?
thanks...
IOS:
C2801-ADVIPSERVICESK9-M
ip cef
class-map match-any a
match access-group 110
class-map match-any b
match access-group 120
!
policy-map qos
class a
priority 96000
class b
bandwidth 6400
random-detect
!
interface FastEthernet0/0
bandwidth 102400
ip address 192.168.100.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
bandwidth 104800
ip address 192.168.5.250 255.255.255.0
max-reserved-bandwidth 100
ip route-cache policy
duplex auto
speed auto
!
access-list 110 permit ip host 192.168.100.2 host 192.168.5.1
access-list 120 permit ip host 192.168.100.3 host 192.168.5.1
access-list 130 permit ip any any
01-02-2006 11:07 PM
Hi,
i don't see that qos is applied anywhere. here u created the class and policy map but it not applied anywhere using servicepolicy command.
01-03-2006 12:26 AM
thanks a lot!
Sorry ,I'm first in Cisco-forum post problem.
Qos enables is to FastEthernet F0/1
FastEthernet F0/1
ip add 192.168.5.250 255.255.255.0
service-plicy output qos
01-03-2006 12:43 AM
Hi,
That policy looks okay. I'm not quite sure what your question is though. Does it not work ?
Pls do provide more info.
Regards,
Paresh.
01-03-2006 12:49 AM
Hi,
three comments.
First, do not set bandwidth on an interface larger than line speed! It will not work properly. You try to assure more bandwidth to your classes than you really have. So set bandwidth to 100000 and the sum of all classes to LESS than that. You usually need additional traffic like routing updates, Layer2 keepalives and so on, which should be reflected in your config. Also you might expect other traffic, which goes to class class-default.
Second, you give 96 MBit/s LLQ to class a. Doesn´t make too much sense I think.
What you probably want is something like
policy-map qos
class a
bandwidth 80000
class b
bandwidth 6400
random-detect
Third and most important one: In the situation you have all this will never be used. CBWFQ will ONLY be involved when the interface is overloaded (!), which you cannot achieve with two FastEthernet. 100 MBit/s in and 100 MBit/s out, no overload, so the policy-map will never be involved (unless your router creates considerable amount of traffic).
Hope this helps
Martin
01-03-2006 01:04 AM
Hi,
Bandwidh are specified in kbps and priority command specified in bps.
So out of 104Mbps you allocated 96Mbps to llq,
and 6.4Mbps to your class b
See whether this is ur intented allocation. and also provide what is ur test and what is not working. And also provide some output details where u fail.
01-03-2006 11:41 PM
These, I am doing the test.
top.......
PC100.2----|_____F0/0 (router) F0/1____Serv 5.1
PC100.3----|
1. config = sample1 (shape average 2,000,000)
test 100.1 and 100.3 copy(upload) file(Size=10G) to 5.1.
100.2 To 5.1, the actual FTP deliver, the bandwidth is a 1600 kbits.
100.3 To 5.1, the actual FTP deliver, the bandwidth is a 400 kbits.
Everyone can see this test is successful.
2. But, when be like the cofig sample2( the shape average 20,000,000) to install thus.
test 100.1 and 100.3 copy(upload) file(Size=10G) to 5.1.
100.2 To 5.1, the actual FTP deliver, the bandwidth is a 10000 kbits.
100.3 To 5.1, the actual FTP deliver, the bandwidth is a 10000 kbits.
Everyone can see this test is a failure of.
Why would be thus?
I discover big in the test of the 10 Ms, is all a failure of,
Small in the test of the 10 Ms, all OK.
This is the test that I do
100M = no
20M =no
10M =no
4M =OK
2M =OK
1M =OK
Config Sample 1..........................................
Router#show run
Building configuration...
Current configuration : 1450 bytes
!
!
hostname Router
!
!
!
class-map match-all test
class-map match-any a
match access-group 110
class-map match-any b
match access-group 120
class-map match-any c
match access-group 130
!
!
policy-map qos
class a
set precedence 5
priority 1600
class b
set precedence 3
bandwidth 100
class c
bandwidth 100
set precedence 1
policy-map test
class c
shape average 2000000 (2M)
service-policy qos
!
!
no crypto isakmp ccm
!
!
!
!
interface FastEthernet0/0
ip address 192.168.100.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
bandwidth 2000
ip address 192.168.5.250 255.255.255.0
service-policy output test
duplex auto
speed auto
!
interface Serial0/3/0
no ip address
shutdown
clockrate 2000000
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.5.254
!
!
ip http server
no ip http secure-server
!
access-list 110 permit ip host 192.168.100.2 host 192.168.5.1
access-list 120 permit ip host 192.168.100.3 host 192.168.5.1
access-list 130 permit ip any any
!
end
Router#
Config Samples 2...........................................
Router#show run
Building configuration...
Current configuration : 1458 bytes
hostname Router
!
class-map match-any a
match access-group 110
class-map match-any b
match access-group 120
class-map match-any c
match access-group 130
!
!
policy-map qos
class a
set precedence 5
bandwidth 16000
class b
bandwidth 1000
set precedence 3
class c
bandwidth 100
set precedence 1
policy-map test
class c
shape average 20000000 (20M)
service-policy qos
!
!
no crypto isakmp ccm
!
!
!
!
interface FastEthernet0/0
ip address 192.168.100.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
bandwidth 20000
ip address 192.168.5.250 255.255.255.0
max-reserved-bandwidth 100
service-policy output test
duplex auto
speed auto
!
interface Serial0/3/0
no ip address
shutdown
clockrate 2000000
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.5.254
!
!
ip http server
no ip http secure-server
!
access-list 110 permit ip host 192.168.100.2 host 192.168.5.1
access-list 120 permit ip host 192.168.100.3 host 192.168.5.1
access-list 130 permit ip any any
!
Router#
01-04-2006 01:00 AM
Hi,
One important distinction I see between your two tests is that in the first case you've used the 'priority' statement for class a whereas in the second case, you have used the 'bandwidth' command.
In your second test, since the competing classes are both configured with the 'bandwidth' statement, the expected outcome would be the splitting of traffic between them in a proportion equivalent to the bandwidths assigned to then. However, you have oberved that this is not the case. It may be interesting to see what your offered rate for each class is. Can yo capture the output of 'show policy-map interface fast0/1' while you are running the test ?
regards,
Paresh.
01-04-2006 02:26 AM
Hi,
what is the measured throughput WITHOUT any QoS in place? are you sure that you can reliably produce a throughput of over 20 MBit/s with your setup?
Martin
01-04-2006 02:52 AM
hi.all
i have policy-map qos Change the bandwidth to priority. but problem same.
i have test,from 100.2 and 100.3 send big-file(1G) to IP 5.1
(100.3&100.2)------(100M-Switch)----(f0 Qos-Route f1)-----(Server 5.1)
list is show policy-map at 2/20M .
test 2M...........................
Router#show policy-map int f 0/1
FastEthernet0/1
Service-policy output: test
Class-map: c (match-all)
99825 packets, 107035497 bytes
5 minute offered rate 1581000 bps, drop rate 6000 bps
Match: access-group 130
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
2000000/2000000 12500 50000 50000 25 6250
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 10 99047 106319890 96111 102656347 yes
Service-policy : qos
Class-map: a (match-any)
81454 packets, 87785600 bytes
5 minute offered rate 1289000 bps, drop rate 6000 bps
Match: access-group 110
81454 packets, 87785600 bytes
5 minute rate 1289000 bps
QoS Set
precedence 5
Packets marked 81734
Queueing
Strict Priority
Output Queue: Conversation 72
Bandwidth 1600 (kbps) Burst 40000 (Bytes)
(pkts matched/bytes matched) 78848/84467024
(total drops/bytes drops) 713/701826
Class-map: b (match-any)
17775 packets, 19142173 bytes
5 minute offered rate 328000 bps, drop rate 0 bps
Match: access-group 120
17775 packets, 19142173 bytes
5 minute rate 328000 bps
QoS Set
precedence 3
Packets marked 17859
Queueing
Output Queue: Conversation 73
Bandwidth 200 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 17855/19221177
(depth/total drops/no-buffer drops) 8/0/0
Class-map: class-default (match-any)
596 packets, 107724 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Class-map: class-default (match-any)
51 packets, 5142 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Router#
01-04-2006 03:00 AM
test 20M...........................
Router#show policy-map int f 0/1
FastEthernet0/1
Service-policy output: test
Class-map: c (match-all)
2174403 packets, 2360008455 bytes
5 minute offered rate 19567000 bps, drop rate 0 bps
Match: access-group 130
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
20000000/20000000 125000 500000 500000 25 62500
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 8 1493312 1613424061 324176 336116888 yes
Service-policy : qos
Class-map: a (match-any)
794601 packets, 862705210 bytes
5 minute offered rate 9276000 bps, drop rate 0 bps
Match: access-group 110
794601 packets, 862705210 bytes
5 minute rate 9276000 bps
QoS Set
precedence 5
Packets marked 795985
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 16000 (kbps) Burst 400000 (Bytes)
(pkts matched/bytes matched) 166912/176904652
(total drops/bytes drops) 0/0
Class-map: b (match-any)
687684 packets, 742676728 bytes
5 minute offered rate 8614000 bps, drop rate 0 bps
Match: access-group 120
687684 packets, 742676728 bytes
5 minute rate 8614000 bps
QoS Set
precedence 3
Packets marked 689128
Queueing
Output Queue: Conversation 265
Bandwidth 2000 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 153137/158062096
(depth/total drops/no-buffer drops) 7/0/0
Class-map: class-default (match-any)
3934 packets, 362549 bytes
5 minute offered rate 3000 bps, drop rate 0 bps
Match: any
Class-map: class-default (match-any)
195 packets, 18519 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Router#
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: