151
NOTE:
•
Configure the QoS priority settings for voice VLAN traffic on an interface before enabling voice VLAN
on the interface. If the configuration order is reversed, the priority settings will fail.
•
The
voice vlan qos
command and the
voice vlan qos trust
command can overwrite the other. When you
execute the two commands on a port multiple times, the one that was last executed takes effect.
Examples
# Configure interface GigabitEthernet 1/0/1 to modify the CoS value and the DSCP value marked for
voice VLAN packets into 5 and 45 respectively.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] voice vlan qos 5 45
voice vlan qos trust
Syntax
voice vlan qos trust
undo voice vlan qos
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the
voice vlan qos trust
command to configure the current 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 the
undo voice vlan qos
command 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.
Related commands:
voice vlan qos
.
NOTE:
•
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 1/0/1 to trust the priority settings carried in incoming voice VLAN
traffic.