H3C LS-3100-52P-OVS-H3 Operation Manual page 152

S5500-ei series ethernet switches
Table of Contents

Advertisement

# Since GigabitEthernet 1/0/1 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
# Configure the allowed OUI addresses as MAC addresses prefixed by 0011-1100-0000 or
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-1100-0001 mask ffff-ff00-0000 description IP phone A
[DeviceA] voice vlan mac-address 0011-2200-0001 mask ffff-ff00-0000 description IP phone B
# Configure GigabitEthernet 1/0/1 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/1
[DeviceA-GigabitEthernet1/0/1] voice vlan mode auto
# Configure GigabitEthernet 1/0/1 as a hybrid port.
[DeviceA-GigabitEthernet1/0/1] port link-type access
Please wait... Done.
[DeviceA-GigabitEthernet1/0/1] port link-type hybrid
# Configure VLAN 2 as the voice VLAN for GigabitEthernet 1/0/1.
[DeviceA-GigabitEthernet1/0/1] voice vlan 2 enable
[DeviceA-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2.
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] voice vlan mode auto
[DeviceA-GigabitEthernet1/0/2] port link-type access
Please wait... Done.
[DeviceA-GigabitEthernet1/0/2] port link-type hybrid
[DeviceA-GigabitEthernet1/0/2] voice vlan 3 enable
Verification
# Display the OUI addresses, OUI address masks, and description strings supported currently.
<DeviceA> display voice vlan oui
Oui Address
Mask
0001-e300-0000
ffff-ff00-0000
0003-6b00-0000
ffff-ff00-0000
0004-0d00-0000
ffff-ff00-0000
0011-1100-0000
ffff-ff00-0000
0011-2200-0000
ffff-ff00-0000
00d0-1e00-0000
ffff-ff00-0000
0060-b900-0000
ffff-ff00-0000
00e0-7500-0000
ffff-ff00-0000
00e0-bb00-0000
ffff-ff00-0000
# Display the current states of voice VLANs.
<DeviceA> display voice vlan state
Description
Siemens phone
Cisco phone
Avaya phone
IP phone A
IP phone B
Pingtel phone
Philips/NEC phone
Polycom phone
3com phone
3-7

Advertisement

Chapters

Table of Contents
loading

Table of Contents