< Home

display voice-vlan status

Function

The display voice-vlan status command displays information about the current voice VLAN.

Format

display voice-vlan [ vlan-id ] status

Parameters

Parameter

Description

Value

vlan-id

Displays information about a specified voice VLAN. If vlan-id is not specified, information about all voice VLANs is displayed.

The value is an integer that ranges from 2 to 4094.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the voice VLAN function is enabled, you can run the display voice-vlan status command to check the voice VLAN configuration.

Example

# Display information about the current voice VLAN, such as the working status, secure mode, the 802.1p priority, DSCP value, and information about an interface that is enabled with voice VLAN.

<HUAWEI> display voice-vlan status
Voice VLAN Configurations:                                                                                                          
-----------------------------------------------------------                                                                         
Voice VLAN ID            : 2                                                                                                        
Voice VLAN status        : Enable                                                                                                   
Voice VLAN 8021p remark  : 6                                                                                                        
Voice VLAN dscp remark   : 46                                                                                                       
-----------------------------------------------------------                                                                         
Port Information:                                                                                                                   
-------------------------------------------------------------------------------                                                     
Port             Add-Mode  Security-Mode  Legacy  PribyVLAN  Untag   Tag0                                                           
-------------------------------------------------------------------------------                                                     
GE0/0/4          Manual    Normal         Disable Enable     Disable Disable 
Table 1 Description of the display voice-vlan status command output

Item

Description

Voice VLAN ID

ID of the voice VLAN.

Voice VLAN status

Status of the voice VLAN function. The value can be:
  • Enable
  • Disable
You can run the voice-vlan enable command to configure the voice VLAN status.

Voice VLAN 8021p remark

802.1p priority of the voice VLAN. You can run the voice-vlan remark command to configure the 802.1p priority of the voice VLAN.

Voice VLAN dscp remark

DSCP value of the voice VLAN. You can run the voice-vlan remark command to configure the DSCP value of the voice VLAN.

Port

Number of the interface on which the voice VLAN function is enabled.

Add-Mode

Working mode of the voice VLAN. The value can be:
  • Manual: indicates the manual mode.
  • Auto: indicates the automatic mode.
You can run the voice-vlan mode command to configure the working mode of the voice VLAN.

Security-Mode

Security mode of the voice VLAN on the interface. The value can be:

  • Security: indicates the secure mode.
  • Normal: indicates the normal mode.
You can run the voice-vlan security enable command to configure the secure mode of the voice VLAN.

Legacy

Whether the interface can communicate with voice devices of other vendors. The value can be:

  • Enable: indicates that the interface can communicate with voice devices of other vendors.
  • Disable: indicates that the interface cannot communicate with voice devices of other vendors.
You can run the voice-vlan legacy enable command to enable an interface to communicate with voice devices of other vendors.

PribyVLAN

Whether the interface increases the priority of voice packets based on VLAN IDs
  • Enable: The priority of voice packets is increased based on VLAN IDs.

  • Disable: The priority of voice packets is increased based on MAC addresses.

To specify the parameter, run the voice-vlan remark-mode command.

Untag

Whether the interface adds voice VLAN IDs to untagged packets
  • Enable: The interface adds voice VLAN IDs to untagged packets.

  • Disable: The interface adds PVID to untagged packets.

To specify the parameter, run the voice-vlan enable command.

Tag0

Whether the interface changes VLAN 0 in packets to the voice VLAN ID:
  • Enable: The interface changes VLAN 0 in packets to the voice VLAN ID.

  • Disable: The interface changes VLAN 0 in packets to the PVID of the interface.

To specify the parameter, run the voice-vlan enable command.

NOTE:

Only the S5720-EI, S6720-EI, and S6720S-EI support this parameter.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >