568 Switchport Voice Commands
The command output provides the following information:
AutoVoIP Mode
—The Auto VoIP mode on the interface.
Traffic Class
—The Cos Queue or Traffic Class to which all VoIP traffic is
mapped. This is not configurable and defaults to the highest COS queue
available in the system for data traffic.

switchport voice detect auto

The switchport voice detect auto command is used to enable the VoIP Profile
on all the interfaces of the switch (global configuration mode) or for a specific
interface (interface configuration mode). Use the “no” form of the command
to disable the VoIP Profile.
Syntax
switchport voice detect auto
no switchport voice detect auto
Default Configuration
This feature is disabled by default.
Command Mode
Global Configuration.
Interface (Ethernet, Port-channel) Configuration.
User Guidelines
This command has no user guidelines
Example
console(config)#switchport voice detect auto
console(config-if-1/g1)#switchport voice detect auto