3.27.1 QoS Port Classification Configuration

Use this command to configure the basic QoS Classification settings for all the switch ports. Select the CoS (Class of Service), the DPL (Drop Precedence Level), the PCP (Priority Code Point), and the DEI (Drop Eligible Indicator) values. Enable or disable the DSCP-Based QoS Ingress port classification. Specify the QCE (QoS Control Entry) combinations of keys and actions.

Command Syntax:

qos cos <cos>
qos dpl <dpl>
qos pcp <pcp>
qos dei <dei>
qos trust dscp 
qos qce { [ addr { source | destination } ] [ key { double-tag | normal | ip-addr | mac-ip-addr } ] }
Table 3-108. Command Description

Argument

Description

Parameter

<cos>

The Class of Service value. It can range from 0–7. The default value is 0.

<dpl>

Drop Precedence Level value. It can range from 0–1. The default value is 0.

<pcp>

Priority Code Point value. It can range from 0–7. The default value is 0.

<dei>

Drop Eligible Indicator value. It can range from 0–1. The default value is 0.

{ source | destination }

Specify whether the QCL classification must be based on source (SMAC/SIP) or destination (DMAC/DIP) addresses on the port.

double-tag

Quarter key, match inner and outer tag.

normal

Half key, match outer tag, SIP/DIP, and SMAC/DMAC.

ip-addr

Half key, match inner and outer tag, SIP and DIP. For non-IP frames, match outer tag only.

mac-ip-addr

Full key, match inner and outer tag, SMAC, DMAC, SIP, and DIP.

Default

N.A

Mode

Port List Interface mode

Usage

Configure basic QoS settings. To revert to the default, use the ‘no’ version of the command.

Example

Example 1:

Set the QoS DPL to 1 and enable DSCP on port 1.

(config)# interface GigabitEthernet 1/1
(config-if)# qos dpl 1
(config-if)# qos trust dscp