You are on page 1of 11

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Table of Contents

Table of Contents
Chapter 1 Voice VLAN Configuration.......................................................................................... 1-1 1.1 Voice VLAN Overview ....................................................................................................... 1-1 1.1.1 Configuring Operation Mode for Voice VLAN ......................................................... 1-1 1.1.2 Supporting Information of Voice VLAN on Various Ports ....................................... 1-2 1.2 Configuring Voice VLAN .................................................................................................... 1-4 1.2.1 Configuration Prerequisites..................................................................................... 1-4 1.2.2 Configuring a Voice VLAN to Operate in Automatic Mode ..................................... 1-4 1.2.3 Configuring a Voice VLAN to Operate in Manual Mode.......................................... 1-6 1.3 Displaying Voice VLAN...................................................................................................... 1-8 1.4 Voice VLAN Configuration Example .................................................................................. 1-8 1.4.1 Voice VLAN Configuration Example (Automatic Mode).......................................... 1-8 1.4.2 Voice VLAN Configuration Example (Manual Mode) .............................................. 1-9

Huawei Technologies Proprietary i

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

Chapter 1 Voice VLAN Configuration


1.1 Voice VLAN Overview
Voice VLANs are VLANs configured specially for voice traffic. By adding the ports with voice devices attached to voice VLANs, you can perform QoS-related configuration for voice data, ensuring the transmission priority of voice traffic and voice quality. S3900 series Ethernet switches determine whether a received packet is a voice packet by checking its source MAC address. If the source MAC addresses of packets comply with the organizationally unique identifier (OUI) addresses configured by the system, the packets are determined as voice packets and transmitted in voice VLAN. You can configure an OUI address for voice packets or specify to use the default OUI address.

! Note: An OUI address is a globally unique identifier assigned to a vendor by IEEE. You can determine which vendor a device belongs to according to the OUI address which forms the first 24 bits of a MAC address.

The following table shows the five default OUI addresses of a switch. Table 1-1 Default OUI addresses preset by the switch Number 1 2 3 4 5 OUI Address 0003-6b00-0000 00e0-fc00-0000 00d0-1e00-0000 00e0-7500-0000 00e0-bb00-0000 Cisco phone H3C Aolynk phone Pingtel phone Polycom phone 3Com phone Vendor

1.1.1 Configuring Operation Mode for Voice VLAN


A voice VLAN can operate in two modes: automatic and manual. You can configure the operation mode for the voice VLAN according to data traffic passing through a port.

Huawei Technologies Proprietary 1-1

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

I. Processing mode of untagged packets sent by IP voice devices


"

Automatic mode: an S3900 Ethernet switch automatically adds a port connecting an IP voice device to the voice VLAN by learning the source MAC address in the untagged packet sent by the IP voice device when it is powered on. When the aging time of a port expires, voice ports on which the OUI addresses are not updated (no voice traffic passes) will be automatically removed from the voice VLAN; voice ports can not be added into or removed from the voice VLAN through manual configurations.

"

Manual mode: add a voice port to the voice VLAN or remove a voice port from the voice VLAN through manual configuration.

II. Processing mode of tagged packets sent by IP voice devices


For the tagged packets sent by IP voice devices, they are processed in the same way in either of the above two modes: forwarded within corresponding VLAN according to their VLAN ID in the tags.

! Note:
" "

An untagged packet refers to the packet without the VLAN tag. A tagged packet refers to the packet with the VLAN tag.

1.1.2 Supporting Information of Voice VLAN on Various Ports


Voice VLAN packets can be forwarded by both trunk and hybrid ports in voice VLAN. You can enable a trunk or hybrid port belonging to other VLANs to forward voice and service packets simultaneously by enabling the voice VLAN. As multiple types of IP voice devices exist, you need to match port mode with types of voice traffic sent by IP voice devices, as listed in Table 1-2.

Huawei Technologies Proprietary 1-2

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

Table 1-2 Matching relationship between port modes and voice traffic types Port voice VLAN mode Voice traffic type Port type Access Supported or not Not supported Supported Trunk Tagged voice traffic Automatic mode Make sure the default VLAN of the port exists and is not a voice VLAN. And the access port permits the traffic of the default VLAN. Supported Hybrid Make sure the default VLAN of the port exists and is not a voice VLAN. The default VLAN must be in the list of the tagged VLANs whose traffic is permitted by the access port. Not supported, because the default VLAN of the port must be a voice VLAN and the access port is in the voice VLAN. This can be done by adding the port to the voice VLAN manually. Not supported Supported Trunk Tag voice traffic Make sure the default VLAN of the port exists and is not a voice VLAN. And the access port permits the traffic of the default VLAN. Supported Hybrid Make sure the default VLAN of the port exists and is in the list of the tagged VLANs whose traffic is permitted by the access port. Supported Access Make sure the default VLAN of the port is a voice VLAN. Supported Untag voice traffic Trunk Make sure the default VLAN of the port is a voice VLAN and the port permits the traffic of the VLAN. Supported Hybrid Make sure the default VLAN of the port is a voice VLAN and is in the list of untagged VLANs whose traffic is permitted by the port.

Access Untagged voice traffic Trunk Hybrid Access

Manual mode

Huawei Technologies Proprietary 1-3

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

Caution:
"

If the voice traffic transmitted by an IP voice device is with VLAN tag, and the port which the IP voice device is attached to is enabled with 802.1x authentication and 802.1x guest VLAN, assign different VLAN IDs for the voice VLAN, the default VLAN of the port, and the 802.1x guest VLAN to ensure the effective operation of these functions.

"

If the voice traffic transmitted by the IP voice device is without VLAN tag, the default VLAN of the port which the IP voice device is attached to can only be configured to a voice VLAN to ensure the effective operation of the voice VLAN function. In this case, the 802.1x authentication is unavailable.

1.2 Configuring Voice VLAN


1.2.1 Configuration Prerequisites
" "

Create the corresponding VLAN before configuring a voice VLAN. VLAN 1 is the default VLAN and do not need to be created. And VLAN 1 does not support voice VLAN .

1.2.2 Configuring a Voice VLAN to Operate in Automatic Mode


Table 1-3 Configure a voice VLAN to operate in automatic mode Operation Enter system view Enter Ethernet port view Enable the voice VLAN function on a port Command system-view interface interface-type interface-number voice vlan enable Required Required By default, voice VLAN is disabled. Optional voice vlan mode auto The default voice VLAN operation mode on a port is automatic. Optional By default, the switch determines the voice traffic according to the default OUI address. Description

Set the voice VLAN operation mode on a port to automatic. Quit to system view Set an OUI address that can be identified by the voice VLAN

quit voice vlan mac-address oui mask oui-mask [ description text ]

Huawei Technologies Proprietary 1-4

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

Operation Enable the voice VLAN security mode

Command voice vlan enable security

Description Optional By default, the voice VLAN security mode is enabled. Optional The default aging time is 1,440 minutes. Required

Set the aging time for the voice VLAN Enable the voice VLAN function globally

voice vlan minutes voice enable vlan

aging

vlan-id

Caution:
"

For a voice VLAN operates in automatic mode, it does not support the adding of an Access port, and thus a voice VLAN cannot function when configuring with the VLAN VPN function.

"

For a voice VLAN operates in automatic mode, it only supports that the Hybrid port to process the tagged voice traffic. However, the protocol VLAN feature requires the Hybrid port to remove tags from the packets, see the VLAN part of this manual for details. Therefore, a VLAN cannot be configured as a voice VLAN and a protocol VLAN simultaneously.

"

For a port operates in automatic mode, a default VLAN cannot be configured as a voice VLAN, otherwise the system prompts you for unsuccessful configuration.

! Note: When the voice VLAN is working normally, if the device restarts or the Unit ID of a device in a stack changes, in order to make the established voice connections work normally, the system does not need to be triggered by the voice traffic to add the port in automatic mode to the local devices as well as the IRF of the voice VLAN but does so immediately after the restart or the changes.

Huawei Technologies Proprietary 1-5

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

1.2.3 Configuring a Voice VLAN to Operate in Manual Mode


Table 1-4 Configure a voice VLAN to operate in manual mode Operation Enter system view Enter port view Command system-view interface interface-type interface-number ! Required Required Enable voice VLAN on a port voice vlan enable By default, voice VLAN is disabled on a port. Required Set voice VLAN operation mode on a port to manual undo voice vlan mode auto The default voice VLAN operation mode on a port is automatic. ! Description

Quit to system view Enter VLAN view Add the port to the VLAN Enter port view Add the port to the VLAN Configure the voice VLAN to be the default VLAN of the port

quit vlan vlan-id

Access port

port interface-list Required

Add a port in manua l mode to the voice VLAN

interface interface-type interface-num port trunk vlan-id permit vlan

Trunk or Hybrid port

port hybrid vlan vlan-id { tagged | untagged } Optional port trunk pvid vlan vlan-id port hybrid vlan-id pvid vlan Refer to Table 1-2 to determine whether or not this operation is needed. ! Optional

Quit to system view Set an OUI address that can be identified by the voice VLAN

quit voice vlan mac-address oui mask oui-mask [ description text ]

Without this address, the default OUI address is used.

Huawei Technologies Proprietary 1-6

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

Operation

Command

Description Optional

Enable the voice security mode

VLAN

voice vlan security enable

By default, the voice VLAN security mode is enabled. Optional

Set the aging time for a voice VLAN Enable the voice function globally VLAN

voice vlan aging minutes

The default aging time is 1,440 minutes. Required

voice vlan vlan-id enable

Caution:
" "

The voice VLAN function can be enabled for only one VLAN at one time. If the Link Aggregation Control Protocol (LACP) is enabled on a port, voice VLAN feature cannot be enabled on it. Voice VLAN function can be enabled only for the static VLAN. A dynamic VLAN cannot be configured as a voice VLAN. 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.

"

"

"

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.

! Note: To add a Trunk port or a Hybrid port to the voice VLAN, refer to the Port Basic Configurations part of the Quidway S3900 Series Ethernet Switches Command Manual for the related command.

Huawei Technologies Proprietary 1-7

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 1 Voice VLAN Configuration

1.3 Displaying Voice VLAN


After the above configurations, you can execute the display command in any view to view the running status and verify the configuration effect. Table 1-5 Display configurations of a Voice VLAN Operation Display the information about ports on which voice VLAN configuration fails Display the voice VLAN configuration status Display the currently valid OUI addresses Display the ports operating in the current voice VLAN Command display voice vlan error-info Description

display voice vlan status display voice vlan oui

You can execute the display command in any view.

display vlan vlan-id

1.4 Voice VLAN Configuration Example


1.4.1 Voice VLAN Configuration Example (Automatic Mode)
I. Network requirements
" "

Create VLAN 2 and configure it as a voice VLAN. Configure port Ethernet1/0/1 as a Trunk port, with VLAN 6 as the default VLAN and permits the traffic of the default VLAN. Ethernet1/0/1 can be added to/removed from the voice VLAN automatically according to the data stream that reaches the port.

"

II. Configuration procedure


# Create VLAN 2.
<Quidway> system-view [Quidway] vlan 2

# Configure Ethernet1/0/1 port to be a Trunk port, with VLAN 6 as the default VLAN and permits the traffic of the default VLAN.
[Quidway] interface Ethernet 1/0/1 [Quidway-Ethernet1/0/1] port link-type trunk [Quidway-Ethernet1/0/1] port trunk pvid vlan 6 [Quidway-Ethernet1/0/1] port trunk permit vlan 6

# Enable the voice VLAN function on the port and configure its voice VLAN operation mode to automatic.
Huawei Technologies Proprietary 1-8

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
[Quidway-Ethernet1/0/1] voice vlan enable [Quidway-Ethernet1/0/1] voice vlan mode auto

Chapter 1 Voice VLAN Configuration

# Enable the voice VLAN function globally.


[Quidway-Ethernet1/0/1] quit [Quidway] voice vlan 2 enable

1.4.2 Voice VLAN Configuration Example (Manual Mode)


I. Network requirements
" "

Create VLAN 3 and configure it as a voice VLAN. Configure Ethernet1/0/1 port as a Trunk port for it to be added to/removed from the voice VLAN manually. Configure the OUI address to be 0011-2200-0000, with the description string being test.

"

II. Configuration procedure


# Create VLAN 3.
<Quidway> system-view [Quidway] vlan 3 [Quidway-vlan3] quit

# Configure Ethernet1/0/3 port to be a Trunk port and add it to VLAN 3.


[Quidway] interface Ethernet 1/0/3 [Quidway-Ethernet1/0/3] port link-type trunk [Quidway-Ethernet1/0/3] port trunk permit vlan 3

# Enable the voice VLAN function on the port and configure its voice VLAN operation mode to manual.
[Quidway-Ethernet1/0/3] voice vlan enable [Quidway-Ethernet1/0/3] undo voice vlan mode auto [Quidway-Ethernet1/0/3] quit

# Specify an OUI address.


[Quidway] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000

description test

# Enable the voice VLAN function globally.


[Quidway] voice vlan 3 enable

# Display voice VLAN-related configurations.


[Quidway] display voice vlan status Voice Vlan status: ENABLE Voice Vlan ID: 3 Voice Vlan security mode: Security

Huawei Technologies Proprietary 1-9

Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
Voice Vlan aging time: 1440 minutes Current voice vlan enabled port mode: PORT MODE

Chapter 1 Voice VLAN Configuration

---------------------------------------Ethernet1/0/3 MANUAL

# Remove Ethernet1/0/3 port from the voice VLAN.


[Quidway] interface Ethernet 1/0/3 [Quidway-Ethernet1/0/3] undo port trunk permit vlan 3

Huawei Technologies Proprietary 1-10

You might also like