211
Parameters
None
Description
Use voice vlan qos trust to configure the interface to trust the priority settings carried in incoming voice
traffic. With this command configured, an interface keeps the CoS and DSCP values marked for
incoming voice traffic unchanged.
Use undo voice vlan qos to restore the default.
By default, an interface modifies the CoS value and the DSCP value marked for voice VLAN traffic into
6 and 46, respectively.
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 each other. After you
execute the two commands on a port multiple times, the one that was last executed takes effect.
Related commands: voice vlan qos.
Examples
# Configure interface Ethernet 1/0/1 to trust the priority settings carried in incoming voice VLAN traffic.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/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 voice vlan security enable to enable the voice VLAN security mode.
Use undo voice vlan security enable to disable the voice VLAN security mode.
By default, the voice VLAN security mode is enabled.
When 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.