cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1165
Views
10
Helpful
6
Replies

Best QOS for management traffic and VOIP/Video

CiscoBrownBelt
Level 6
Level 6

I was wondering if anyone could share best practices of configs for configuring QOS for management (so managment vlan takes precedence perhaps) as well as VOIP and video. Any help guys?

6 Replies 6

omz
VIP Alumni
VIP Alumni

For which device ? QoS is different on each platform (e.g. 2960/4500, etc.)...

WS-C4510R+E
Also have different Nexus 9k devices.

Hello,

 

the easiest way to configure QoS is probably to have a look at what auto QoS generates, and derive any manual QoS configuration you want from that output.

 

In the case of the 4500, VoIP would generate:

 

class-map match-all AutoQos-VoIP-Control-Dscp26
match dscp af31
class-map match-all AutoQos-VoIP-Control-Dscp24
match dscp cs3
class-map match-all AutoQos-VoIP-Bearer-Dscp
match dscp ef

 

and network control traffic:


class-map match-all AutoQos-4.0-Network-Ctrl
match dscp cs7

 

On the Nexus 9K, the syntax is a bit different, but the DSCP/CS/AF values are the same.

 

Cat 4500 QoS

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/15-1/XE_330SG/configuration/guide/config/qos_mrg.html#wp1563359

 

Nexus 9000 QoS

 

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/qos/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_Quality_of_Service_Configuration_Guide/b_Cisco_Nexus_9000_Series_NX-OS_Quality_of_Service_Configuration_Guide_chapter_0...

Awesome thanks bro!

 

So I have 2 4500 joined in VSS, not sure if these configs were always there but in show run I have the following below. Since they are configured for VSS, according to below does it look like I should still even configure anything for VOIP? What about if  I want to do QOS and give priority for a management vlan let's say SVI/Vlan 10?


class-map match-any VSL-MGMT-PACKETS
match access-group name VSL-MGMT
class-map match-any VSL-DATA-PACKETS
match any
class-map match-any VSL-L2-CONTROL-PACKETS
match access-group name VSL-DOT1x
match access-group name VSL-BPDU
match access-group name VSL-CDP
match access-group name VSL-LLDP
match access-group name VSL-SSTP
match access-group name VSL-GARP
class-map match-any VSL-L3-CONTROL-PACKETS
match access-group name VSL-IPV4-ROUTING
match access-group name VSL-BFD
match access-group name VSL-DHCP-CLIENT-TO-SERVER
match access-group name VSL-DHCP-SERVER-TO-CLIENT
match access-group name VSL-DHCP-SERVER-TO-SERVER
match access-group name VSL-IPV6-ROUTING
class-map match-any VSL-MULTIMEDIA-TRAFFIC
match dscp af41
match dscp af42
match dscp af43
match dscp af31
match dscp af32
match dscp af33
match dscp af21
match dscp af22
match dscp af23
class-map match-any VSL-VOICE-VIDEO-TRAFFIC
match dscp ef
match dscp cs4
match dscp cs5
class-map match-any VSL-SIGNALING-NETWORK-MGMT
match dscp cs2
match dscp cs3
match dscp cs6
match dscp cs7
!
policy-map VSL-Queuing-Policy
class VSL-MGMT-PACKETS
bandwidth percent 5
class VSL-L2-CONTROL-PACKETS
bandwidth percent 5
class VSL-L3-CONTROL-PACKETS
bandwidth percent 5
class VSL-VOICE-VIDEO-TRAFFIC
bandwidth percent 30
class VSL-SIGNALING-NETWORK-MGMT
bandwidth percent 10
class VSL-MULTIMEDIA-TRAFFIC
bandwidth percent 20
class VSL-DATA-PACKETS
bandwidth percent 20
class class-default
bandwidth percent 5

Joseph W. Doherty
Hall of Fame
Hall of Fame
In general, VoIP and interactive video should be QoS treated to minimize latency and/or drops. (On Cisco devices, it's this traffic that is generally placed in LLQ or PQ.)

VoIP control, video streaming, management (BTW, why kind of management traffic?), often don't need the same latency guarantees, as above, but they too often need guarantees to minimize drops.

Most traffic (including that in the preceding paragraph's) works well with best effort treatment assuming there's flow fairness. Without it, you end up needing many classes with bandwidth guarantees for each class.

Oh, and although most think of QoS for providing "better" treatment for some traffic, often improvement can be made also by providing "worse" treatment for some traffic, such as having a "scavenger" class. Placing suitable traffic in such a class can remove "pressure" against other BE traffic.
Review Cisco Networking for a $25 gift card