Cisco Catalyst 2960 series Configuration Manual page 2254

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure Voice VLAN
Command or Action
gigabitethernet1/0/1
Step 4
mls qos trust cos
Example:
Switch(config-if)# mls qos trust cos
Step 5
switchport voice {vlan{vlan-id | dot1p | none |
untagged}}
Example:
Switch(config-if)# switchport voice vlan
dot1p
Step 6
end
Example:
Switch(config-if)# end
Step 7
Use one of the following:
• 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
Purpose
Configures the interface to classify incoming traffic packets by using
the packet CoS value. For untagged packets, the port default CoS
value is used.
Note
Before configuring the port trust state, you must first globally
enable QoS by using the mls qos global configuration
command.
Configures the voice VLAN.
• vlan-id—Configures the phone to forward all voice traffic
through the specified VLAN. By default, the Cisco IP Phone
forwards the voice traffic with an IEEE 802.1Q priority of 5.
Valid VLAN IDs are 1 to 4094.
• 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.
Verifies your voice VLAN entries or your QoS and voice VLAN
entries.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents