H3C Technologies H3C S3100 Series Switches User Manual

Page 125

Advertising
background image

1-8

Configuring the Voice VLAN to Operate in Automatic Voice VLAN Assignment
Mode

Follow these steps to configure a voice VLAN to operate in automatic voice VLAN assignment mode:

To do…

Use the command…

Remarks

Enter system view

system-view

Set an OUI address that can be
identified by the voice VLAN

voice vlan mac-address oui
mask
oui-mask [ description text ]

Optional

By default, the switch determines
the voice traffic according to the
default OUI address.

Enable the voice VLAN security
mode

voice vlan security enable

Optional

By default, the voice VLAN security
mode is enabled.

Set the voice VLAN aging timer

voice vlan aging minutes

Optional

The default aging timer is 1440
minutes.

Enable the voice VLAN function
globally

voice vlan vlan-id enable

Required

Enter Ethernet port view

interface interface-type
interface-number

Required

Enable the voice VLAN function on
a port

voice vlan enable

Required

By default, voice VLAN is disabled.

Enable the voice VLAN legacy
function on the port

voice vlan legacy

Optional

By default, voice VLAN legacy is
disabled.

Set the voice VLAN assignment
mode of the port to automatic

voice vlan mode auto

Optional

The default voice VLAN
assignment mode on a port is
automatic.

z

A port working in automatic voice VLAN assignment mode cannot be assigned to the voice VLAN

manually. Therefore, if a VLAN is configured as the voice VLAN and a protocol-based VLAN at the

same time, the protocol-based VLAN function cannot be bound with the port. For information about

protocol-based VLANs, refer to VLAN Configuration in this manual.

z

For a port operating in automatic voice VLAN assignment mode, its default VLAN cannot be

configured as the voice VLAN; otherwise the system prompts you for unsuccessful configuration.

Advertising