Voice vlan configuration examples, Automatic voice vlan mode configuration example, Network requirements – H3C Technologies H3C S5120 Series Switches User Manual

Page 161: Configuration procedure, Voice vlan configuration

Advertising
background image

2-8

Voice VLAN Configuration Examples

Automatic Voice VLAN Mode Configuration Example

Network requirements

As shown in

Figure 2-3

,

z

The MAC address of IP phone A is 0011-1100-0001. The phone connects to a downstream device

named PC A whose MAC address is 0022-1100-0002 and to GigabitEthernet 1/0/1 on an upstream

device named Device A.

z

The MAC address of IP phone B is 0011-2200-0001. The phone connects to a downstream device

named PC B whose MAC address is 0022-2200-0002 and to GigabitEthernet 1/0/2 on Device A.

z

Device A uses voice VLAN 2 to transmit voice packets for IP phone A and voice VLAN 3 to transmit

voice packets for IP phone B.

Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to work in automatic voice VLAN

assignment mode. In addition, if one of them has not received any voice packet in 30 minutes, the port

is removed from the corresponding voice VLAN automatically.

Figure 2-3 Network diagram for automatic voice VLAN assignment mode configuration

Device A

Device B

GE1/0/1

IP phone B
010-1002
MAC: 0011-2200-0001
Mask: ffff-ff00-0000

0755-2002

GE1/0/2

Internet

PC B

MAC: 0022-2200-0002

VLAN 3

Configuration procedure

# Create VLAN 3.

<DeviceA> system-view

[DeviceA] vlan 3

# Set the voice VLAN aging time to 30 minutes.

[DeviceA] voice vlan aging 30

# Since GigabitEthernet 1/0/2 may receive both voice traffic and data traffic at the same time, to ensure

the quality of voice packets and effective bandwidth use, configure voice VLANs to work in security

mode, that is, configure the voice VLANs to transmit only voice packets. (Optional. By default, voice

VLANs work in security mode.)

[DeviceA] voice vlan security enable

Advertising