Configuring a voice vlan – Dell POWEREDGE M1000E User Manual

Page 631

Advertising
background image

Configuring VLANs

631

Configuring a Voice VLAN

The commands in this example create a VLAN for voice traffic with a VLAN

ID of 25. Port 10 is set to an 802.1Q VLAN. In in this example, there are

multiple devices connected to port 10, so the port must be in general mode in

order to enable MAC-based 802.1X authentication. Next, Voice VLAN is

enabled on the port with the Voice VLAN ID set to 25. Finally, Voice VLAN

authentication is disabled on port 10 because the phone connected to that

port does not support 802.1X authentication. All other devices are required to

use 802.1X authentication for network access. For more information about

802.1X authentication, see "Configuring 802.1X and Port-Based Security" on

page 509.

To configure the switch:

1 Create the voice VLAN

console#configure

console(config)#vlan database

console(config-vlan)#vlan 25

console(config-vlan)#exit

2 Enable the Voice VLAN feature on the switch.

console(config)#voice vlan

3 Configure port 10 to be in general mode.

console(config)#interface gi1/0/10

console(config-if-Gi1/0/10)#switchport mode

general

4 Enable port-based 802.1X authentication on the port. This step is required

only if there are multiple devices that use port-based authentication

connected to the port.

console(config-if-Gi1/0/10)#dot1x port-control

mac-based

5 Enable the voice VLAN feature on the interface

NOTE:

In an environment where the IP phone uses LLDP-MED to obtain

configuration information, an additional step to enable LLDP-MED on the

interface would be required by issuing the lldp med command in Interface

Configuration mode.

Advertising