<Quidway> system-view
[Quidway] vlan batch 2 6
# Configure the link type and default VLAN of the interface.
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port hybrid pvid vlan 6
[Quidway-GigabitEthernet1/0/1] port hybrid untagged vlan 6
[Quidway-GigabitEthernet1/0/1] quit
Step 2 Configure the voice VLAN on the Switch.
# Configure the voice VLAN on the interface.
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] voice-vlan 2 enable
# Set the mode of adding the interface to the voice VLAN to manual and add the interface to the
voice VLAN.
[Quidway-GigabitEthernet1/0/1] voice-vlan mode manual
[Quidway-GigabitEthernet1/0/1] port hybrid tagged vlan 2
[Quidway-GigabitEthernet1/0/1] quit
# Set the OUI of the voice VLAN.
[Quidway] voice-vlan mac-address 0011-2200-0000 mask ffff-ff00-0000
# Set the working mode of the voice VLAN.
[Quidway-GigabitEthernet1/0/1] voice-vlan security enable
Step 3 Verify the configuration.
Run the display voice-vlan oui command to check whether the OUI of the voice VLAN is
correct.
<Quidway> display voice-vlan oui
---------------------------------------------------
OuiAddress       Mask             Description
---------------------------------------------------
0011-2200-0000   ffff-ff00-0000
Run the display voice-vlan 2 status command to check whether the mode of adding the interface
to the voice VLAN, working mode, and aging time of the voice VLAN are correct.
<Quidway> display voice-vlan 2 status
Voice VLAN Configurations:
---------------------------------------------------
Voice VLAN ID            :  2
Voice VLAN status        : Enable
Voice VLAN aging time    : 1440 (minutes)
Voice VLAN 8021p remark  : 6
Voice VLAN dscp remark   : 46
----------------------------------------------------------
Port Information:
-----------------------------------------------------------
Port                     Add-Mode  Security-Mode  Legacy
-----------------------------------------------------------
GigabitEthernet1/0/1     Manual    Security       Disable
----End
Configuration Files
Configuration file of the Switch
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
152