168
Examples
# Configure interface Ethernet 1/0/1 to modify the CoS value and the DSCP value marked for voice
VLAN packets to 5 and 45, respectively.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] voice vlan qos 5 45
voice vlan qos trust
Syntax
voice vlan qos trust
undo voice vlan qos
View
Layer 2 Ethernet interface view
Default level
2: System level
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