cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1138
Views
0
Helpful
1
Replies

Switchport mode for Auto QoS VoIP Cisco-SoftPhone

bavingtonm
Level 1
Level 1

Hi

I have been trying to find out the best practice for configuring our Cisco 3750 switches for Avaya softphones.

I have been using the "Auto QoS VoIP Cisco-Softphone" command and have configured the port as "Switchport mode access" and not a Trunk, although I'm finding it difficult to find information to confirm this would be best practice.

The softphones are connected to Windows PC's and prior to my changes were connected to a PC and Voice Vlan configured switchport trunk but softphones do not use the Voice Vlan as they use the PC's IP address hence my changes.

Can someone please clarify I'm on the right track and potentially provide further advise on best practice and if you think I should have the softphone ports configured with access or trunk ports?

Original Port config: (Fine for PC & Physical IP Phones)

interface GigabitEthernet2/0/7
 description PC & IP Phone
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 106
 no switchport trunk allowed vlan 72,106
 switchport mode trunk
 srr-queue bandwidth share 1 30 35 5
 priority-queue out
 priority-queue outmls qos trust device cisco-phone
 priority-queue outmls qos trust cos
 priority-queue outauto qos voip cisco-phone
 priority-queue outspanning-tree portfast trunk
 priority-queue outspanning-tree bpduguard enable
 priority-queue outservice-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY

 

New Port config: (For PC & Avaya SoftPhones)

interface GigabitEthernet2/0/7
 description **PC & SoftPhone**
 switchport access vlan 106
 switchport mode access
 srr-queue bandwidth share 10 10 60 20
 queue-set 2
 priority-queue out
 auto qos voip cisco-softphone
 spanning-tree portfast
 spanning-tree bpuguard enable
 service-policy input AutoQoS-Police-SoftPhone

 

Look forward to your opinions, many thanks

 

Regards

 

Mark

 

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

Hi instead of auto qos voip cisco-softphone use auto qos voip trust and mls qos trust dscp the first command is for cisco ip communicator

The best way to check its working is initiate a call from an avaya phone and span the port and then check the packet for the EF marking passing through , your up links will need to be marked with mls qos trust dscp to carry the marking as well between switches to make sure its trusting dscp

This is the way we have it setup and it works fine , there are multiple wasy though to setup layer 2 qos

Also you can then check the specific port with the below

sw1#sh mls qos interface g0/20
GigabitEthernet0/20
trust state: trust dscp
trust mode: trust dscp