Network requirements, Network diagram – H3C Technologies H3C S3100 Series Switches User Manual

Page 129

Advertising
background image

1-12

# Set the voice VLAN aging timer.

[DeviceA] voice vlan aging 100

# Add a user-defined OUI address 0011-2200-000 and set the description string to “test”.

[DeviceA] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000 description test

# Enable the voice VLAN function globally.

[DeviceA] voice vlan 2 enable

# Configure the vocie VLAN to operate in automatic voice VLAN assignment mode on Ethernet 1/0/1.

This operation is optional. By default, a port operates in automatic voice VLAN assignment mode.

[DeviceA] interface Ethernet 1/0/1

[DeviceA-Ethernet1/0/1] voice vlan mode auto

# Configure Ethernet 1/0/1 as a hybrid port.

[DeviceA-Ethernet1/0/1] port link-type hybrid

# Configure VLAN 6 as the default VLAN of Ethernet 1/0/1, and configure Ethernet 1/0/1 to permit

packets with the tag of VLAN 6.

[DeviceA-Ethernet1/0/1] port hybrid pvid vlan 6

[DeviceA-Ethernet1/0/1] port hybrid vlan 6 tagged

# Enable the voice VLAN function on Ethernet 1/0/1.

[DeviceA-Ethernet1/0/1] voice vlan enable

Voice VLAN Configuration Example (Manual Voice VLAN Assignment Mode)

Network requirements

Create a voice VLAN and configure it to operate in manual voice VLAN assignment mode. Add the port

to which an IP phone is connected to the voice VLAN to enable voice traffic to be transmitted within the

voice VLAN.

z

Create VLAN 2 and configure it as a voice VLAN. Set the voice VLAN to operate in security mode

z

The IP phone sends untagged packets. It is connected to Ethernet 1/0/1, a hybrid port. Set this port

to operate in manual voice VLAN assignment mode.

z

You need to add a user-defined OUI address 0011-2200-000, with the mask being ffff-ff00-0000

and the description string being “test”.

Network diagram

Figure 1-3 Network diagram for voice VLAN configuration (manual voice VLAN assignment mode)

Internet

Device A

Eth1/0/1

VLAN2

VLAN2

010-1001
OUI:0011-2200-0000
Mask:ffff-ff00-0000

Device B

Advertising