Você está na página 1de 10

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

Table of Contents

Table of Contents
Chapter 1 Voice VLAN Configuration Commands ..................................................................... 1-1 1.1 Voice VLAN Configuration Commands ............................................................................. 1-1 1.1.1 display voice vlan error-info .................................................................................... 1-1 1.1.2 display voice vlan oui .............................................................................................. 1-1 1.1.3 display voice vlan status ......................................................................................... 1-2 1.1.4 display vlan.............................................................................................................. 1-3 1.1.5 voice vlan ................................................................................................................ 1-4 1.1.6 voice vlan aging....................................................................................................... 1-5 1.1.7 voice vlan enable .................................................................................................... 1-6 1.1.8 voice vlan mac-address .......................................................................................... 1-6 1.1.9 voice vlan mode ...................................................................................................... 1-7 1.1.10 voice vlan security enable ..................................................................................... 1-8

Huawei Technologies Proprietary i

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

Chapter 1 Voice VLAN Configuration Commands

Chapter 1 Voice VLAN Configuration Commands


1.1 Voice VLAN Configuration Commands
1.1.1 display voice vlan error-info
Syntax
display voice vlan error-info

View
Any view

Parameter
None

Description
Use the display voice vlan error-info command to display the ports on which the voice VLAN function fails to be enabled.

! Note: When ACL number applied to a port reaches to its threshold, voice VLAN cannot be enabled on this port.

Example
# Display the ports on which voice VLAN fails to be enabled.
<Quidway> display voice vlan error-info Fail to apply voice VLAN ACL rules to the following port(s): Ethernet1/0/10 Ethernet1/0/15

1.1.2 display voice vlan oui


Syntax
display voice vlan oui

View
Any view

Huawei Technologies Proprietary 1-1

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

Chapter 1 Voice VLAN Configuration Commands

Parameter
None

Description
Use the display voice vlan oui command to display the currently supported OUI addresses and the related information. Related command: voice vlan, voice vlan enable.

Example
# Display the OUI addresses and the related information of the voice VLAN.
<Quidway> display voice vlan oui Oui Address 0003-6b00-0000 00e0-fc00-0000 00d0-1e00-0000 00e0-7500-0000 00e0-bb00-0000 Mask ffff-ff00-0000 ffff-ff00-0000 ffff-ff00-0000 ffff-ff00-0000 ffff-ff00-0000 Description Cisco phone H3C Aolynk phone Pingtel phone Polycom phone 3Com phone

1.1.3 display voice vlan status


Syntax
display voice vlan status

View
Any view

Parameter
None

Description
Use the display voice vlan status command to display voice VLAN-related information, including voice VLAN operation mode, port mode (manual or automatic ), and so on. Related command: voice vlan, voice vlan enable.

Example
# Display the information about the voice VLAN.
<Quidway> display voice vlan status Voice Vlan status: ENABLE Voice Vlan ID: 2 Voice Vlan security mode: Security

Huawei Technologies Proprietary 1-2

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

Chapter 1 Voice VLAN Configuration Commands

-------------------------------Ethernet1/0/2 Ethernet1/0/3 AUTO MANUAL

Table 1-1 Description on the fields of the display voice vlan status command Field Voice Vlan status Voice Vlan ID Voice Vlan security mode Voice Vlan aging time Current voice vlan enable port mode Description The status of global voice VLAN function: enabled or disabled. The VLAN which is currently enabled with voice VLAN. The status of voice VLAN security mode: enabled or disabled. The voice VLAN aging time The ports on which the voice VLAN function is enabled.

Caution: The Current voice vlan enable port mode field lists the ports with the voice VLAN function enabled. Note that a port listed in this field may not currently operate in a voice VLAN. To view the ports operating in the voice VLAN currently, use the display vlan command, which is described in section1.1.4 display vlan.

1.1.4 display vlan


Syntax
display vlan vlan-id

View
Any view

Parameter
vlan-id: Voice VLAN ID in the range of 1 to 4094. VLAN 1 can not be enabled with voice VLAN function.

Huawei Technologies Proprietary 1-3

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

Chapter 1 Voice VLAN Configuration Commands

Description
Use the display vlan command to display all the ports in the voice VLAN currently. Related command: voice vlan.

Example
# Display all the ports in the current voice VLAN, assuming that the current voice VLAN is VLAN 6.
<Quidway> display vlan 6 VLAN ID: 6 VLAN Type: static Route Interface: not configured Description: VLAN 0006 Name: VLAN 0006 Tagged Ports:

Ethernet1/0/5 Untagged Ports: Ethernet1/0/6

The output indicates that Ethernet1/0/5 and Ethernet1/0/6 are in the voice VLAN currently.

1.1.5 voice vlan


Syntax
voice vlan vlan-id enable undo voice vlan enable

View
System view

Parameter
vlan-id: ID of the VLAN that needs to be enabled with the voice VLAN function, ranging from 2 to 4094.

Description
Use the voice vlan command to enable voice VLAN globally. Use the undo voice vlan enable command to disable voice VLAN globally.

Huawei Technologies Proprietary 1-4

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

Chapter 1 Voice VLAN Configuration Commands

Caution:
"

If you enable the voice VLAN function for a specified VLAN, the specified VLAN must exist, otherwise, your configuration fails. If you want to delete a VLAN with voice VLAN function enabled, you must disable the voice VLAN function first. The voice VLAN function can be enabled for only one VLAN at one time.

"

"

Related command: display voice vlan status.

Example
# Create VLAN 2, and enable the voice VLAN function on it.
<Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] vlan 2 [Quidway-vlan2] quit [Quidway] voice vlan 2 enable

# After the voice VLAN function of VLAN 2 is enabled, if you enable the voice VLAN function for other VLANs, the system will prompt that your configuration fails.
[Quidway] voice vlan 4 enable Can't change voice vlan configuration when other voice vlan is running

1.1.6 voice vlan aging


Syntax
voice vlan aging minutes undo voice vlan aging

View
System view

Parameter
minutes: Aging time (in minutes) to be set for a voice VLAN, ranges from 5 to 43,200.

Description
Use the voice vlan aging command to set the aging time for a voice VLAN. Use the undo voice vlan aging command to restore the default value. By default, the aging time for a voice VLAN is 1,440 minites. Related command: display voice vlan status.
Huawei Technologies Proprietary 1-5

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

Chapter 1 Voice VLAN Configuration Commands

Example
# Set the aging time of the voice VLAN to 100 minutes.
<Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] voice vlan aging 100

1.1.7 voice vlan enable


Syntax
voice vlan enable undo voice vlan enable

View
Ethernet port view

Parameter
None

Description
Use the voice vlan enable command to enable voice VLAN on a port. Use the undo voice vlan enable command to disable voice VLAN on a port. The voice VLAN function takes effect on a port only when it is enabled in both system view and port view. Note that the operation to enable the voice VLAN function for a port is independent of that to enable the function globally, which means you may first enable the function on a port and then enable it globally. Related command: display voice vlan status.

Example
# Enable the voice VLAN function on Ethernet1/0/2.
<Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface Ethernet 1/0/2 [Quidway-Ethernet1/0/2] voice vlan enable

1.1.8 voice vlan mac-address


Syntax
voice vlan mac-address oui mask oui-mask [ description text ] undo voice vlan mac-address oui

Huawei Technologies Proprietary 1-6

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

Chapter 1 Voice VLAN Configuration Commands

View
System view

Parameter
oui: MAC address, in the format of H-H-H. oui-mask: MAC address valid length, indicated by a mask in the format of H-H-H. text: Description string of the MAC address, containing 1 to 30 characters.

Description
Use the voice vlan mac-address command to set a MAC address used by a voice VLAN to identify a voice device. Use the undo voice vlan mac-address command to cancel the configuration. The maximum number of MAC addresses can be identified by the OUI address system is 16. If the number increases, the system processes no more. After a switch starts, there are five default OUI addresses. Table 1-2 Default OUI addresses of a switch Number 1 2 3 4 5 OUI addresses 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

Related command: display voice vlan oui.

Example
# Set 00aa-bb00-0000 as an OUI address, with the description string being ABC.
<Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] voice vlan mac-address 00aa-bb00-0000 mask ffff-ff00-0000

description ABC

1.1.9 voice vlan mode


Syntax
voice vlan mode auto undo voice vlan mode auto

Huawei Technologies Proprietary 1-7

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

Chapter 1 Voice VLAN Configuration Commands

View
Ethernet port view

Parameter
None

Description
Use the voice vlan mode auto command to configure the voice VLAN operation mode on an Ethernet port to automatic. Use the undo voice vlan mode auto command to configure the voice VLAN operation mode on an Ethernet port to manual. By default, the voice VLAN operation mode on an Ethernet port is automatic. Related command: display voice vlan status.

Example
# Configure the voice VLAN operation mode on Ethernet1/0/2 to manual.
<Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface Ethernet 1/0/2 [Quidway-Ethernet1/0/2] undo voice vlan mode auto

1.1.10 voice vlan security enable


Syntax
voice vlan security enable undo voice vlan security enable

View
System view

Parameter
None

Description
Use the voice vlan security enable command to enable the voice VLAN security mode. Use the undo voice vlan security enable command to disable the voice VLAN security mode. In security mode, the ports in a voice VLAN and with voice devices attached to can only forward voice data. Data packets with their MAC addresses not among the OUI
Huawei Technologies Proprietary 1-8

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

Chapter 1 Voice VLAN Configuration Commands

addresses that can be identified by the system will be filtered out. This mode has no effects on other VLANs. By default, the voice VLAN security mode is enabled. Related command: display voice vlan status.

Example
# Disable the voice VLAN security mode.
<Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] undo voice vlan security enable

Huawei Technologies Proprietary 1-9

Você também pode gostar