From: Ben (ccieben@cox.net)
Date: Fri Feb 16 2007 - 23:56:02 ART
Hello Antonio,
I beleive you want this comination:
mls qos trust cos
switchport priority extend cos 1
mls qos trust cos - this will allow trust of all frames sent by the phone
switchport priority extend cos 1 - will override the CoS value of
incoming frames from the "device" attached to the phone.
HTH
Ben
Antonio Soares wrote:
> Hello GS,
>
> May have I have some inputs about this ? I'm almost sure but I don't have
> means to test it.
>
> Thanks.
> Antonio
>
> -----Original Message-----
> From: Antonio Soares [mailto:amsoares@netcabo.pt]
> Sent: sexta-feira, 16 de Fevereiro de 2007 1:18
> To: 'ccielab@groupstudy.com'
> Subject: Cisco IP Phone
>
> Dear GS,
>
> Question: i need to assign CoS=1 to traffic coming from a device connected
> to a 7960 IP Phone and trust the Voice Traffic CoS. I see 3 options: use
> "mls qos cos 1" if the traffic is untagged, "switchport priority extend cos
> 1" if the traffic is tagged or both commands if i don't know about tagging.
> Is this correct ?
>
> +++++++++++++++++++++++++++++++++++++++++++++++++
> #1 The traffic coming from the device is untagged
>
> Rack1SW1#sh runn int g0/7
> Building configuration...
>
> Current configuration : 170 bytes
> !
> interface GigabitEthernet0/7
> switchport access vlan 17
> switchport mode access
> switchport voice vlan 7
> mls qos cos 1
> mls qos trust cos
> spanning-tree portfast
> end
>
> Rack1SW1#sh mls qos int g0/7
> GigabitEthernet0/7
> trust state: trust cos
> trust mode: trust cos
> trust enabled flag: ena
> COS override: dis
> default COS: 1
> DSCP Mutation Map: Default DSCP Mutation Map
> Trust device: none
> qos mode: port-based
>
> Rack1SW1#sh int g0/7 switchport | inc Appliance
> Appliance trust: none
> Rack1SW1#
> +++++++++++++++++++++++++++++++++++++++++++++++++
> #2 The traffic coming from the device is tagged
>
> Rack1SW1#
>
>
> Rack1SW1#sh runn int g0/7
> Building configuration...
>
> Current configuration : 189 bytes
> !
> interface GigabitEthernet0/7
> switchport access vlan 17
> switchport mode access
> switchport voice vlan 7
> switchport priority extend cos 1
> mls qos trust cos
> spanning-tree portfast
> end
>
> Rack1SW1#sh mls qos int g0/7
> GigabitEthernet0/7
> trust state: trust cos
> trust mode: trust cos
> trust enabled flag: ena
> COS override: dis
> default COS: 0
> DSCP Mutation Map: Default DSCP Mutation Map
> Trust device: none
> qos mode: port-based
>
> Rack1SW1#sh int g0/7 switchport | inc Appliance
> Appliance trust: 1
> Rack1SW1#
> +++++++++++++++++++++++++++++++++++++++++++++++++
> #3 The traffic coming from the device may be tagged or untagged
>
> Rack1SW1#sh runn int g0/7
> Building configuration...
>
> Current configuration : 204 bytes
> !
> interface GigabitEthernet0/7
> switchport access vlan 17
> switchport mode access
> switchport voice vlan 7
> switchport priority extend cos 1
> mls qos cos 1
> mls qos trust cos
> spanning-tree portfast
> end
>
> Rack1SW1#sh mls qos int g0/7
> GigabitEthernet0/7
> trust state: trust cos
> trust mode: trust cos
> trust enabled flag: ena
> COS override: dis
> default COS: 1
> DSCP Mutation Map: Default DSCP Mutation Map
> Trust device: none
> qos mode: port-based
>
> Rack1SW1#sh int g0/7 switchport | inc Appliance
> Appliance trust: 1
> Rack1SW1#
> +++++++++++++++++++++++++++++++++++++++++++++++++
>
>
> Thanks,
> Antonio
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Mar 01 2007 - 07:38:47 ART