cisco Catalyst 9300 — Voice VLAN Configuration Guidelines

Untagged traffic from the device attached to the Cisco IP Phone passes through the phone unchanged, regardless of the trust state of the access port on the phone. Note Voice VLAN Configuration Guidelines • Because a Cisco 7960 IP Phone also supports a connection to a PC or other device, a port connecting the device to a Cisco IP Phone can carry mixed traffic. You can configure a port to decide how the Cisco IP Phone carries voice traffic and data traffic. • The voice VLAN should be present and active on the device for the IP phone to correctly communicate on the voice VLAN. Use the show vlan privileged EXEC command to see if the VLAN is present (listed in the display).

If the VLAN is not listed, create the voice VLAN. • The Power over Ethernet (PoE) devices are capable of automatically providing power to Cisco pre-standard and IEEE 802.3af-compliant powered devices if they are not being powered by an AC power source. • The Port Fast feature is automatically enabled when voice VLAN is configured. When you disable voice VLAN, the Port Fast feature is not automatically disabled. • If the Cisco IP Phone and a device attached to the phone are in the same VLAN, they must be in the same IP subnet. These conditions indicate that they are in the same VLAN: • They both use IEEE 802.1p or untagged frames.

• The Cisco IP Phone uses IEEE 802.1p frames, and the device uses untagged frames. • The Cisco IP Phone uses untagged frames, and the device uses IEEE 802.1p frames. • The Cisco IP Phone uses IEEE 802.1Q frames, and the voice VLAN is the same as the access VLAN. • The Cisco IP Phone and a device attached to the phone cannot communicate if they are in the same VLAN and subnet but use different frame types because traffic in the same subnet is not routed (routing would eliminate the frame type difference). • Voice VLAN ports can also be these port types: • Dynamic access port. • IEEE 802.1x authenticated port.

Note If you enable IEEE 802.1x on an access port on which a voice VLAN is configured and to which a Cisco IP Phone is connected, the phone loses connectivity to the device for up to 30 seconds. • Protected port. • A source or destination port for a SPAN or RSPAN session. • Secure port. Configuring Voice VLANs Voice VLAN Configuration Guidelines VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 39