user manual
PurposeCommand or Action
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 4
Verifies your entries.
show interfaces interface-id switchport
Example:
Switch# show interfaces
Step 5
gigabitethernet1/0/1 switchport
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Related Topics
Cisco IP Phone Data Traffic, on page 151
Example: Configuring a Port Connected to an IP Phone Not to Change Frame Priority, on page 158
Monitoring Voice VLAN
To display voice VLAN configuration for an interface, use the show interfaces interface-id switchport
privileged EXEC command.
Configuration Examples for Voice VLANs
Example: Configuring Cisco IP Phone Voice Traffic
This example shows how to configure a port connected to a Cisco IP Phone to use the CoS value to classify
incoming traffic and to accept voice and data priority traffic tagged with VLAN ID 0:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# mls qos trust cos
Switch(config-if)# switchport voice vlan dot1p
Switch(config-if)# end
To return the port to its default setting, use the no switchport voice vlan interface configuration command.
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 157
Configuring Voice VLANs
Monitoring Voice VLAN