03-21-2011 04:58 AM - edited 03-06-2019 04:10 PM
Could anyone help me with Cisco 6500 QoS configuration?
I would like to divide bandwidth of an interface in ratio 70/30. CBWFQ configuration on a router is quite straightforward and simple:
ip access-list enxtended ACL
permit ip 10.0.0.0 0.0.0.255 any
class-map Class-Map
match access-group name ACL
policy-map Policy-Map
class Class-Map
bandwidth percent 70
class class-default
bandwidth percent 30
interface Gi0/0
service-policy output Policy-Map
But it's not clear for me how the same could be configured on the Policy Feature Card (PFC3).
Thanks in advance!
Solved! Go to Solution.
03-22-2011 07:17 AM
As Edison says for LAN ports you need to use PFC QOS.
You have a couple of options -
1) You can use policing on the port
or
2) perhaps a better solution is to allocate bandwidth on the port to specific queues and then assign the packets you want to the relevant queue. This is dependant on the queue structure of the module you are using. You would also need to mark the packets as you map CoS values to queues.
Here is a link to config guide for PFC QOS on 6500. I have linked to the specific part about allocating bandwidth to queues but you will also need to look at marking the packets as well. The chapter also covers policing if you decide that is your preferred solution but be aware that policing is quite "severe" on traffic that exceeds the limit -
6500 PFC QOS
Jon
03-21-2011 08:27 AM
CBWFQ isn't supported on LAN ports but you can configure and attach the policy to a WAN port (SIP/SPA or FlexWAN).
03-21-2011 10:42 PM
Unfortunately, QoS has to be applied to a LAN port with a DSL modem connected to it.
03-22-2011 07:17 AM
As Edison says for LAN ports you need to use PFC QOS.
You have a couple of options -
1) You can use policing on the port
or
2) perhaps a better solution is to allocate bandwidth on the port to specific queues and then assign the packets you want to the relevant queue. This is dependant on the queue structure of the module you are using. You would also need to mark the packets as you map CoS values to queues.
Here is a link to config guide for PFC QOS on 6500. I have linked to the specific part about allocating bandwidth to queues but you will also need to look at marking the packets as well. The chapter also covers policing if you decide that is your preferred solution but be aware that policing is quite "severe" on traffic that exceeds the limit -
6500 PFC QOS
Jon
03-22-2011 12:58 PM
Thank you very much for the link. After having read right things in the right manual PFC QoS doesn't seem to be so complicated for me as before.
03-24-2011 04:40 AM
Here my PFC QoS configuration. I don't know whether this configuration is right or wrong, but the only result i have got is that traffic from host 10.0.0.2 consumes more bandwidth than traffic from other hosts. Intended proportion was 70/30 Mbps, actual proportion ranges from 85/15 to 55/45 (according to "MikroTik Bandwidth Test").
Configuration:
mls qos
ip access-list extended qos-acl
permit ip 10.0.0.2 any
class-map match-all qos-cm
match access-group name qos-acl
policy-map qos-pm
class qos-cm
set precedence 5
class class-default
set precedence 0
interface GigabitEthernet2/20
ip address ...
bandwidth 100000
wrr-queue bandwidth percent 0 30 70
wrr-queue cos-map 2 1 0 1 2 3 4 6
wrr-queue cos-map 3 1 5
priority-queue cos-map 1 7
service-policy output qos-pm
show queueing interface g2/20:
Interface GigabitEthernet2/20 queueing strategy: Weighted Round-Robin
Port QoS is enabled
WRR bandwidth ratios: 0[queue 1] 30[queue 2] 70[queue 3]
queue thresh cos-map
---------------------------------------
2 1 0 1 2 3 4 6
3 1 5
4 1 7
show mls qos maps cos-dscp:
cos: 0 1 2 3 4 5 6 7
-----------------------------
dscp: 0 8 16 24 32 40 48 56
show mls qos ip g2/20:
[In] Default. [Out] Policy map is qos-pm
QoS Summary [IPv4]: (* - shared aggregates, Mod - switch module)
Int Mod Dir Class-map DSCP Agg Trust Fl AgForward-By AgPoliced-By
Id Id
---------------------------------------------------------------------------
Gi2/20 1 In Default 0 0* No 0 259646294425 0
Gi2/20 1 Out qos-cm 40 1 -- 0 373061252 0
Gi2/20 1 Out class-defa 0 2 -- 0 124567545 0
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