Purpose
Command or Action
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 4
Before configuring the port trust state, you must first globally
enable QoS by using the
mls qos
global configuration
command.
Note
Configures the voice VLAN.
switchport voice
{
vlan
{
vlan-id
|
dot1p
|
none
|
untagged
}}
Step 5
•
vlan-id
—
Configures the phone to forward all voice traffic
through the specified VLAN. By default, the Cisco IP Phone
Example:
Switch(config-if)#
switchport voice vlan
forwards the voice traffic with an IEEE 802.1Q priority of 5.
Valid VLAN IDs are 1 to 4094.
dot1p
•
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.
•
none
—
Allows the phone to use its own configuration to send
untagged voice traffic.
•
untagged
—
Configures the phone to send untagged voice traffic.
Returns to privileged EXEC mode.
end
Example:
Switch(config-if)#
end
Step 6
Verifies your voice VLAN entries or your QoS and voice VLAN
entries.
Use one of the following:
Step 7
•
show interfaces interface-id switchport
•
show running-config interface interface-id
Example:
Switch#
show interfaces
gigabitethernet1/0/1 switchport
or
Switch#
show running-config interface
gigabitethernet1/0/1
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2172
How to Configure Voice VLAN
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......