16-8
Support for this command varies with device models.
Configure the QoS priority trust mode for voice VLAN traffic on an interface before enabling voice
VLAN on the interface. If the configuration order is reversed, your priority trust setting will fail.
The voice vlan qos command and the voice vlan qos trust command can overwrite the other.
After you execute the two commands on a port multiple times, the one that was last executed
takes effect.
Examples
# Configure interface GigabitEthernet 2/0/1 to trust the priority settings carried in incoming voice VLAN
traffic.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] voice vlan qos trust
voice vlan security enable
Syntax
voice vlan security enable
undo voice vlan security enable
View
System view
Default Level
2: System level
Parameters
None
Description
Use the voice vlan security enable command to enable voice VLAN security mode.
Use the undo voice vlan security enable command to disable voice VLAN security mode.
After you enable the security mode for a voice VLAN, only voice traffic can be transmitted in the voice
VLAN. The device matches the source MAC addresses of the packets against the supported OUI
addresses to determine whether they are voice traffic and filters all non-voice traffic, guaranteeing high
priority and high quality for voice traffic. On the other hand, when a voice VLAN operates in common
mode, other service traffic is also allow to be transmitted in the voice VLAN.
By default, voice VLAN security mode is not enabled.
Examples
# Disable voice VLAN security mode.
<Sysname> system-view
[Sysname] undo voice vlan security enable