Cisco IP Phone

From: Antonio Soares (amsoares@netcabo.pt)
Date: Thu Feb 15 2007 - 22:17:35 ART


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



This archive was generated by hypermail 2.1.4 : Thu Mar 01 2007 - 07:38:46 ART