232
Predefined user roles
network-admin
Usage guidelines
When a port trusts the QoS priority settings in incoming voice VLAN packets, the port does not
modify their CoS and DSCP values.
You cannot execute this command on a voice VLAN-enabled port. Before you execute this command
on a port, you must disable the voice VLAN feature on it.
If you execute both the
voice-vlan qos and voice-vlan qos trust commands multiple
times, the most recent configuration takes effect.
Examples
# Configure GigabitEthernet 1/0/1 to trust the priority settings in incoming voice VLAN traffic.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] voice-vlan qos trust
Related commands
voice-vlan qos
voice-vlan security enable
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.
Syntax
voice-vlan security enable
undo voice-vlan security enable
Default
The voice VLAN security mode is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
In security mode, a voice VLAN transmits only voice packets whose source MAC addresses match
the OUI addresses of the device.
In normal mode, a voice VLAN transmits voice packets and non-voice packets.
Examples
# Disable the voice VLAN security mode.
<Sysname> system-view
[Sysname] undo voice-vlan security enable
Related commands
display voice-vlan state