beautypg.com

H3C Technologies H3C S3600 Series Switches User Manual

Page 144

background image

1-9

To do…

Use the command…

Remarks

Enter port view

interface interface-type
interface-number

Required

Enable voice VLAN on a port

voice vlan enable

Required

By default, voice VLAN
is disabled on a port.

Enable the voice VLAN legacy function on
the port

voice vlan legacy

Optional

By default, voice VLAN
legacy is disabled.

Set voice VLAN assignment mode on a
port to manual

undo voice vlan mode
auto

Required

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

Quit to system view

quit

Enter VLAN view

vlan vlan-id

Access
port

Add the port to the
VLAN

port interface-list

Enter port view

interface interface-type
interface-num

Add the port to the
VLAN

port trunk permit vlan
vlan-id

port hybrid vlan vlan-id
{ tagged | untagged }

Required

By default, all the ports
belong to VLAN 1.

Add a
port in
manual
voice
VLAN
assignm
ent
mode to
the
voice
VLAN

Trunk or
Hybrid
port

Configure the
voice VLAN to be
the default VLAN
of the port

port trunk pvid vlan vlan-id

port hybrid pvid vlan
vlan-id

Optional

Refer to

Table 1-2

to

determine whether or
not this operation is
needed.

This manual is related to the following products: