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.
voice-vlan remark { 8021p 8021p-value | dscp dscp-value } *
undo voice-vlan remark { 8021p | dscp } *
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. |
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.