Viewing voice VLAN configurations

You can view the configuration of a voice VLAN for a particular port or for all ports.

To view the voice VLAN configuration for a port, specify the port number with the show voice-vlan command. The following example shows the command output results.

device# show voice-vlan ethernet 1/1/2
Voice vlan ID for port 1/1/2: 1001

The following example shows the message that appears when the port does not have a configured voice VLAN.

device# show voice-vlan ethernet 1/1/2
Voice vlan is not configured for port 1/1/2.

To view the voice VLAN for all ports, use the show voice-vlan command. The following example shows the command output results.

device# show voice-vlan
Port ID  Voice-vlan
1/1/2    1001
1/1/8    150
1/1/15   200