11-09-2015 03:16 PM - edited 03-17-2019 04:51 AM
If I add a switch to an existing 3750X stack and need to configure the ports for VOIP, can I simply add the statements to each port and leave out the "auto qos voip cisco-phone" command.
Eaxmple - existing switchport in a stack configured for a Cisco phone
switchport access vlan 200
switchport mode access
switchport voice vlan 500
switchport port-security maximum 3
switchport port-security aging time 3
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
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
If I add another 48 port switch to the stack and simply try to cut and paste the existing statements they will take except for the
"auto qos voip cisco-phone" command which will give me an error on each port but continue with the rest of the command statements for the remaining switch ports. In the end all the statements get placed in the configuration for each port with the exception of the "auto qos voip cisco-phone" command. If I query one of these ports with the "sh mls qos int x/x/x" it seems that have properly taken all the other commands and is looking for a cisco phone on the port to trust.
Example:
PRB-F1-3750X-1#sh mls qos int gi5/0/1
GigabitEthernet5/0/1
Attached policy-map for Ingress: AUTOQOS-SRND4-CISCOPHONE-POLICY
trust state: not trusted
trust mode: trust cos
trust enabled flag: dis
COS override: dis
default COS: 0
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: cisco-phone
qos mode: port-based
My question is this: Is my approach fine and the "auto qos voip cisco-phone" line statement is only being placed on the port to show how the qos was originally achieved? Or should I be deleting QOS completely on the switch stack and reapplying it from scratch again to the whole switch at once?
Thanks!
Solved! Go to Solution.
11-09-2015 10:15 PM
Hi ,
You need to run the below command to enable the QOS on the new stack switch.
policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
set dscp ef
police 128000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
Thanks
Ambika Tripathi
Spooster IT Services
11-09-2015 10:15 PM
Hi ,
You need to run the below command to enable the QOS on the new stack switch.
policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
set dscp ef
police 128000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
Thanks
Ambika Tripathi
Spooster IT Services
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