Enabling dynamic configuration of a Voice over IP (VoIP) phone

You can create a voice VLAN ID for a port, or for a group of ports.

To create a voice VLAN ID for a port, enter commands such as the following.

device(config)# interface ethernet 1/1/2
device(config-if-e1000-1/1/2)# voice-vlan 1001

To create a voice VLAN ID for a group of ports, enter commands such as the following.

device(config)# interface ethernet 1/1/1 to 1/1/8
device(config-mif-1/1/1-1/1/8)# voice-vlan 1001

To remove a voice VLAN ID, use the no form of the command.