cisco Catalyst 9300 — Configuring Cisco IP Phone Voice Traffic

Note When you enable port security on an interface that is also configured with a voice VLAN, you must set the maximum allowed secure addresses on the port to two plus the maximum number of secure addresses allowed on the access VLAN. When the port is connected to a Cisco IP Phone, the phone requires up to two MAC addresses. The phone address is learned on the voice VLAN and might also be learned on the access VLAN. Connecting a PC to the phone requires additional MAC addresses. How to Configure Voice VLANs The following sections provide information about configuring Voice VLANs:

Configuring Cisco IP Phone Voice Traffic You can configure a port connected to the Cisco IP Phone to send CDP packets to the phone to configure the way in which the phone sends voice traffic. The phone can carry voice traffic in IEEE 802.1Q frames for a specified voice VLAN with a Layer 2 CoS value. It can use IEEE 802.1p priority tagging to give voice traffic a higher priority and forward all voice traffic through the native (access) VLAN. The Cisco IP Phone can also send untagged voice traffic or use its own configuration to send voice traffic in the access VLAN. In all configurations, the voice traffic carries a Layer 3 IP precedence value (the default is 5).

Procedure Configuring Voice VLANs How to Configure Voice VLANs Command or Action Purpose Step 1 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 2 interface interface-id Example: Device(config)# interface gigabitethernet1/0/1 Specifies the interface connected to the phone, and enters interface configuration mode. Step 3 trust device cisco-phone Example: Device(config-if)# trust device cisco-phone Configures the interface to trust incoming traffic packets for the Cisco IP phone. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 40