Professional Documents
Culture Documents
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
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
! 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
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
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.
! Note:
" "
An untagged packet refers to the packet without the VLAN tag. A tagged packet refers to the packet with the VLAN tag.
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
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.
Manual mode
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
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.
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 .
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
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
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
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.
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
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
Access 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
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
Operation
Command
Description Optional
VLAN
Set the aging time for a voice VLAN Enable the voice function globally VLAN
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.
Operation Manual Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510
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.
"
# 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
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.
"
# 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
description test
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
---------------------------------------Ethernet1/0/3 MANUAL