< Home

voice-vlan remark

Function

The voice-vlan remark command changes the 802.1p priority and DSCP value for a voice VLAN.

The undo voice-vlan remark command restores the 802.1p priority and DSCP value to their default values for a voice VLAN.

By default, the 802.1p priority and DSCP value for a voice VLAN are 6 and 46 respectively.

Format

voice-vlan remark { 8021p 8021p-value | dscp dscp-value } *

undo voice-vlan remark { 8021p | dscp } *

Parameters

Parameter Description Value
8021p 8021p-value

Specifies the 802.1p priority.

The 802.1p priority is indicated by the value in the 3-bit PRI field in each 802.1Q VLAN frame. This field determines the transmission priority for data packets when a switching device is congested.

The value is an integer that ranges from 0 to 7. The default value 6. The larger the value, the higher the priority.
dscp dscp-value

Specify the DSCP value.

The DSCP value is indicated by the 6 bits in the ToS field in the IPv4 packet header. DSCP, as the signaling for DiffServ, is used for QoS guarantee on IP networks. The traffic controller on the network gateway takes actions merely based on the information carried by the 6 bits.

The value is an integer that ranges from 0 to 63. The default value is 46.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When voice VLAN is deployed on a network, voice service must be transmitted with a shorter delay than data service. Therefore, voice data packets need to be transmitted with a higher priority than other service data packets to reduce the transmission delay. You can run the voice-vlan remark command to change the 802.1p and DSCP priorities of a voice VLAN to allow voice data packets to be transmitted with a high priority.

Precautions

The voice-vlan vlan-id enable command has been run on an interface to specify a VLAN as a voice VLAN, and the voice VLAN function has been enabled on the interface.

If the voice-vlan remark command has been run multiple times, the last configuration overrides the previous configurations.

When the remark and voice-vlan remark commands are used together to modify the user packet priority, if the services conflict:
  • For S5730-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-HI, and S5720-HI, the priority configured using the remark command takes effect.
  • For S5720-EI, S6720-EI, and S6720S-EI, the priority configured using the voice-vlan remark command takes effect.

Example

# Set the DSCP value for a voice VLAN to 20.

<HUAWEI> system-view
[HUAWEI] voice-vlan remark dscp 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >