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

Configuring 3750X/E ports for VOIP

gp1200x
Level 2
Level 2

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!

1 Accepted Solution

Accepted Solutions

ambikatripathi
Level 1
Level 1

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

 

View solution in original post

1 Reply 1

ambikatripathi
Level 1
Level 1

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