user manual
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
mls qos trust cos
4.
switchport voice vlan {vlan-id | dot1p | none | untagged }
5.
end
6.
Use one of the following:
•
show interfaces interface-id switchport
•
show running-config interface interface-id
7.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies the interface connected to the phone, and enters interface
configuration mode.
interface interface-id
Example:
Switch(config)# interface
Step 2
gigabitethernet1/0/1
Configures the interface to classify incoming traffic packets by using
the packet CoS value. For untagged packets, the port default CoS value
is used.
mls qos trust cos
Example:
Switch(config-if)# mls qos trust cos
Step 3
Before configuring the port trust state, you must first globally
enable QoS by using the mls qos global configuration command.
Note
Configures how the Cisco IP Phone carries voice traffic:
switchport voice vlan {vlan-id | dot1p | none
| untagged }
Step 4
• vlan-id—Configures the phone to forward all voice traffic through
the specified VLAN. By default, the Cisco IP Phone forwards the
Example:
Switch(config-if)# switchport voice vlan
voice traffic with an IEEE 802.1Q priority of 5. Valid VLAN IDs
are 1 to 4094.
125
• dot1p—Configures the switch to accept voice and data IEEE
802.1p priority frames tagged with VLAN ID 0 (the native VLAN).
By default, the switch drops all voice and data traffic tagged with
VLAN 0. If configured for 802.1p the Cisco IP Phone forwards
the traffic with an IEEE 802.1p priority of 5.
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
154 OL-29440-01
Configuring Voice VLANs
Configuring Cisco IP Phone Voice Traffic