cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

mls qos rewrite & mls qos trust on the same switch possible?

andreas.fuchs
Level 1
Level 1

Hi all,

I have a voice gateway and some phones connected to the same switch.

The problem is: The voice gateway doesn't tag his packets for QoS, the phones do it automatically.

Switch-HW: C3750-24TS-S1U

Version: IPBASEK9_12.2(55)SE4

Qos is enabled and rewrite dscp:
Switch#sh mls qos

QoS is enabled

QoS ip packet dscp rewrite is enabled

Configured Qos:

mls qos rewrite ip dscp

mls qos map cos-dscp 0 8 16 24 32 46 48 56

...

and of course some queues...

output reduced

...

Voice Gateway switchport:

!

interface GigabitEthernet1/0/9
switchport access vlan 701
switchport mode access

switchport nonegotiate

speed 100

duplex full

srr-queue bandwidth share 1 10 85 5

priority-queue out

mls qos cos 5

mls qos cos override

spanning-tree portfast

!

Phone switchport:

!
interface GigabitEthernet1/0/20
switchport access vlan 100
switchport mode access
switchport voice vlan 712
srr-queue bandwidth share 1 10 85 5

proirity-queue out

mls qos trust dscp

spanning-tree portfast

!

We need the RTP packets from the voice gateway tagged as EF (Cos 5) and the phones are sending EF for RTP and AF31 for SIP.

With the configuration from above I'm loosing the values from the phones only the voice gateway packets are tagged.
How can I use the override command for the voice gateway in combination with the trust statement on all phone ports?

When I disable the global override with "no mls qos rewrite ip dscp" then I can see tagged packets from the phones but the voice gateway packets are not tagged...

Maybe somebody can point me to the right direction?

Thanks a lot!

Rgds

Andreas

Who Me Too'd this topic