Advanced Traffic Management Guide K/KA/KB.15.15

3. Assign the DSCP policies to the selected VLAN IDs and display the result.
HP Switch(config)#: vlan 1 qos dscp 000010
HP Switch(config)#: vlan 20 qos dscp 000010
HP Switch(config)#: vlan 30 qos dscp 000101
HP Switch(config)#: vlan 40 qos dscp 000111
HP Switch(config)#: show qos vlan-priority
VLAN priorities
VLAN ID Apply rule | DSCP Priority
------- ----------- + ------ -----------
1 DSCP | 000010 1
20 DSCP | 000010 1
30 DSCP | 000101 5
40 DSCP | 000111 7
The switch will now apply the DSCP policies to packets received on the switch with the specified
VLAN-IDs. This means the switch will:
Overwrite the original DSCPs in the selected packets with the new DSCPs specified in the
above policies.
Assign the 802.1p priorities in the above policies to the appropriate packets.
Assigning a priority for a global source-port classifier
This global QoS packet-marking option assigns a priority to all outbound packets having the
specified source-port.
This option can be configured by either specifying the source-port ahead of the qos command or
moving to the port context for the port you want to configure for priority. For configuring multiple
source-ports with the same priority, it is easier to use the interface port-list command to
go to the port context instead of individually configuring the priority for each port.
Syntax:
interface port-list qos priority 0 - 7
Configures an 802.1p priority for packets entering the switch through the specified
(source) ports. This priority determines the packet queue in the outbound ports to
which traffic is sent. If a packet leaves the switch on a tagged port, it carries the
802.1p priority with it to the next downstream device. You can configure one QoS
classifier for each source-port or group of source-ports.
Default: No-override
Syntax:
no interface port-list
Disables use of the specified source-ports for QoS classifiers and resets the priority
for the specified source-ports to No-override.
Syntax:
show qos port-priority
Lists the QoS port-priority classifiers with their priority data.
Assigning a priority for a global source-port classifier 213