Configuration Examples
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.
Related Topics
Configuring Cisco IP Phone Voice Traffic
Cisco IP Phone Voice Traffic, on page 2168
Example: Configuring the Priority of Incoming Data Frames
This example shows how to configure a port connected to a Cisco IP Phone to not change the priority of
frames received from the PC or the attached device:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface gigabitethernet1/0/1
Switch(config-if)#
switchport priority extend trust
Switch(config-if)#
end
To return the port to its default setting, use the
no switchport priority extend
interface configuration command.
Related Topics
Configuring the Priority of Incoming Data Frames , on page 2173
Cisco IP Phone Data Traffic, on page 2169
Where to Go Next
After configuring voice VLANs, you can configure the following:
•
VLANs
•
VLAN Trunking
•
VTP
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2175
Configuration Examples
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: ......