11-03-2023 12:48 PM
We just installed some IP-Phones and we are hearing some calls cutting in and out. Talked to the provider and they said that enabling QOS could possibly help. Could I get some guidance with this, I have tried to look into Auto-QOS and tried to set it up, but I am not sure I am doing it correctly? We have 2960X and 2960XR switches.
On all my trunk ports I have
switchport mode trunk
switchport nonegotiate
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust cos
auto qos trust
On my ports that have the phones
switchport access vlan 616
switchport mode access
switchport nonegotiate
switchport port-security maximum 2
switchport port-security violation restrict
switchport port-security aging time 2
switchport port-security aging type inactivity
switchport port-security
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
macro description ACCESS
auto qos voip cisco-phone
spanning-tree portfast edge
spanning-tree bpduguard enable
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
Any help is appreciated!
11-30-2023 05:47 AM
I saw a video today, would this work? Since I know where the issue is, could I set an ACL with the subnet of the phones, use the ACL to Match-Any in a class-map, and then set a policy map to retain a certain bandwidth of the link. I sure appreciate your help.
Like :
ip access-list extended Phones
permit ip 10.60.1.0 0.0.0.255 any
permit ip any 10.60.1.0 0.0.0.255
class-map match-any Phone-Traffic
match access-group name Phones
policy-map Phone-Policy
class Phone-Traffic
bandwidth percent 3
int gig 0/1
service policy out Phone-Policy
Im sure this is not the best, but could this work? In your opinion, what would be the best way I could test QOS policies? Do i need to get some old hardware? Or are there online options that would allow me to see congestion?
11-30-2023 08:38 AM
I think (?) all the 2960 models still use MLS QoS, not MQF syntax QoS, like what you've posted.
What do you have in mind for "testing" QoS policies? Generally, QoS works as configured on Cisco platforms.
In "normal" network, "seeing" congestion can often be difficult, as it's sporadic and might only last part of a second. Sometimes variable ping times is a visible attribute of occasional sporadic congestion.
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