Setting a port to operate in, Automatic voice vlan assignment mode, Setting a port to operate in manual voice vlan – H3C Technologies H3C S5120 Series Switches User Manual

Page 159: Assignment mode

Advertising
background image

2-6

Setting a Port to Operate in Automatic Voice VLAN Assignment Mode

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

To do...

Use the command...

Remarks

Enter system view

system-view

Set the voice VLAN aging time

voice vlan aging minutes

Optional

1440 minutes by default.

The voice VLAN aging time
configuration is only applicable
on ports in automatic voice
VLAN assignment mode.

Enable the voice VLAN security
mode

voice vlan security enable

Optional

Enabled by default.

Add a recognizable OUI
address

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

Optional

By default, each voice VLAN
has default OUI addresses
configured. Refer to

Table 2-1

for the default OUI addresses
of different vendors.

Enter Ethernet interface view

interface interface-type
interface-number

Configure the port to operate in
automatic voice VLAN
assignment mode

voice vlan mode auto

Optional

Automatic voice VLAN
assignment mode is enabled by
default.

The voice VLAN assignment
modes on different ports are
independent of one another.

Enable voice VLAN on the port

voice vlan vlan-id enable

Required

Not enabled by default

Do not configure the default VLAN of a port in automatic voice VLAN assignment mode as the voice

VLAN.

Setting a Port to Operate in Manual Voice VLAN Assignment Mode

Follow these steps to set a port to operate in manual voice VLAN assignment mode:

To do...

Use the command...

Remarks

Enter system view

system-view

Enable the voice VLAN security
mode

voice vlan security enable

Optional

Enabled by default.

Advertising