Verification, Network requirements – H3C Technologies H3C S5120 Series Switches User Manual

Page 162

Advertising
background image

2-9

# Configure the allowed OUI addresses as MAC addresses prefixed by 0011-2200-0000. In this way,

Device A identifies packets whose MAC addresses match any of the configured OUI addresses as

voice packets.

[DeviceA] voice vlan mac-address 0011-2200-0001 mask ffff-ff00-0000 description IP phone B

# Configure GigabitEthernet 1/0/2 to operate in automatic voice VLAN assignment mode. (Optional. By

default, a port operates in automatic voice VLAN assignment mode.)

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] voice vlan mode auto

# Configure GigabitEthernet 1/0/2 as a hybrid port.

[DeviceA-GigabitEthernet1/0/2] port link-type access

Please wait... Done.

[DeviceA-GigabitEthernet1/0/2] port link-type hybrid

# Configure VLAN 2 as the voice VLAN for GigabitEthernet 1/0/2.

[DeviceA-GigabitEthernet1/0/2] voice vlan 2 enable

[DeviceA-GigabitEthernet1/0/2] quit

Verification

# Display the OUI addresses, OUI address masks, and description strings supported currently.

<DeviceA> display voice vlan oui

Oui Address Mask Description

0001-e300-0000 ffff-ff00-0000 Siemens phone

0003-6b00-0000 ffff-ff00-0000 Cisco phone

0004-0d00-0000 ffff-ff00-0000 Avaya phone

0011-2200-0000 ffff-ff00-0000 IP phone B

00d0-1e00-0000 ffff-ff00-0000 Pingtel phone

0060-b900-0000 ffff-ff00-0000 Philips/NEC phone

00e0-7500-0000 ffff-ff00-0000 Polycom phone

00e0-bb00-0000 ffff-ff00-0000 3com phone

# Display the current states of voice VLANs.

<DeviceA> display voice vlan state

Maximum of Voice VLANs: 1

Current Voice VLANs: 1

Voice VLAN security mode: Security

Voice VLAN aging time: 30 minutes

Voice VLAN enabled port and its mode:

PORT VLAN MODE

-----------------------------------------------

GigabitEthernet1/0/2 3 AUTO

Manual Voice VLAN Assignment Mode Configuration Example

Network requirements

z

Create VLAN 2 and configure it as a voice VLAN permitting only voice traffic to pass through.

z

The IP phones send untagged voice traffic. Configure GigabitEthernet 1/0/1 as a hybrid port.

Advertising