R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
134
Usage guidelines
Configure the QoS priority settings for voice VLAN traffic on an interface before you enable 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 each other. When you
execute the two commands on a port multiple times, the most recent configuration takes effect.
Examples
# Configure interface GigabitEthernet 4/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 4/0/1
[Sysname-GigabitEthernet4/0/1] voice vlan qos 5 45
Related commands
voice vlan qos trust
voice vlan qos trust
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.
Syntax
voice vlan qos trust
undo voice vlan qos
Default
An interface modifies the CoS value and the DSCP value marked for voice VLAN traffic into 6 and 46,
respectively.
Views
Interface view
Default command level
2: System level
Usage guidelines
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 most recent configuration takes effect.
Examples
# Configure interface GigabitEthernet 4/0/1 to trust the priority settings carried in incoming voice VLAN
traffic.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] voice vlan qos trust