< Home

voice-vlan remark-mode

Function

The voice-vlan remark-mode command configures a mode to increase the priority of voice packets.

The undo voice-vlan remark-mode command restores the default configuration.

By default, the priority of voice packets is increased based on VLAN IDs.

Format

voice-vlan remark-mode { vlan | mac-address }

undo voice-vlan remark-mode

Parameters

Parameter Description Value

vlan

Specifies that the priority of voice packets is increased based on VLAN IDs.

-

mac-address

Specifies that the priority of voice packets is increased based on MAC addresses.

-

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view, port group view, 25GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After voice VLAN is enabled on an interface, the device determines whether a data flow consists of voice packets based on the VLAN ID by default. In this situation, even if you do not run the voice-vlan mac-address command to configure the OUI of the voice VLAN, you can use the voice VLAN function. Therefore, the voice VLAN configuration is more flexible and simple. Specifically, you can configure voice VLAN in the following methods:
  • If you want to increase the priority of voice packets based on MAC addresses, run the voice-vlan remark-mode mac-address and voice-vlan mac-address commands.

  • If you want to increase the priority of voice packets based on VLAN IDs, run the voice-vlan remark-mode vlan command.

Prerequisites

Voice VLAN has been enabled on the interface using the voice-vlan enable command.

Example

# Configure GE0/0/1 to increase the priority of voice packets based on MAC addresses.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] voice-vlan remark-mode mac-address
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >