beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 127

background image

1-10

To do…

Use the command…

Remarks

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
assignme
nt 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.

z

The voice VLAN function can be enabled for only one VLAN at one time.

z

If the Link Aggregation Control Protocol (LACP) is enabled on a port, voice VLAN feature cannot be

enabled on it.

z

Voice VLAN function can be enabled only for the static VLAN. A dynamic VLAN cannot be

configured as a voice VLAN.

z

When ACL number applied to a port reaches to its threshold, voice VLAN cannot be enabled on

this port. You can use the display voice vlan error-info command to locate such ports.

z

When a voice VLAN operates in security mode, the device in it permits only the packets whose

source addresses are the identified voice OUI addresses. Packets whose source addresses

cannot be identified, including certain authentication packets (such as 802.1x authentication

packets), will be dropped. Therefore, you are suggested not to transmit both voice data and service

data in a voice VLAN. If you have to do so, make sure that the voice VLAN does not operate in

security mode.

z

The voice VLAN legacy feature realizes the communication between H3C device and other

vendor's voice device by automatically adding the voice VLAN tag to the voice data coming from

other vendors’ voice device. The voice vlan legacy command can be executed before voice VLAN

is enabled globally and on a port, but it takes effect only after voice VLAN is enabled globally and

on the port.

z

When an S3100-C-EPON-EI switch works as an ONU device in the EPON system, the voice VLAN

function may not run properly. Therefore, it is not recommended to use the voice VLAN function in

the EPON system.

To assign a trunk port or a hybrid port to the voice VLAN, refer to VLAN Configurations of this manual

for the related command.