# QCI - QoS Mapping Configuration Mode Commands

The QoS Class Index (QCI) to QoS Mapping Configuration Mode is used to map QoS Class Indexes to enforceable QoS parameters. Mapping can occur between the RAN and the Serving Gateway (S-GW), the Mobility Management Entity (MME), and/or the PDN Gateway (P-GW) in an LTE network or between the RAN and the eHRPD Serving Gateway (HSGW) in an eHRPD network.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
end

Exits the current configuration mode and returns to the Exec mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
qci

Creates and maps QCI values to enforceable QoS parameters.
Platform:

ASR 5000
Product:

HSGW, P-GW, S-GW
Privilege:

Administrator
Syntax

    qci num [ delay-class num precedence-class num reliability-class num [ downlink | uplink ] ]qci num [ downlink { encaps-header { copy-inner | dscp-marking hex } | user-datagram
    dscp-marking hex [ encaps-header { copy-inner | dscp-marking hex } ] } ] qci num [ gbr [ delay-class | downlink | max-packet-delay | traffic-policing | uplink ] ]qci num [ max-packet-delay num max-error-rate num [ downlink | uplink ] ]qci num [ non-gbr [ delay-class | downlink | max-packet-delay | traffic-policing | uplink ] ]qci num  [ traffic-policing
    interval interval [ delay-class | downlink | max-packet-delay | uplink ] ]qci num [ uplink { encaps-header { copy-inner | dscp-marking hex } | user-datagram
    dscp-marking hex [ encaps-header { copy-inner | dscp-marking hex } ] } ][ default | no ] qci num

IMPORTANT:

The optional keywords associated with each of the initial optional keywords are abbreviated in the syntax examples above for clarity. Refer to the definitions below for the full keyword paths and associated descriptions for each keyword string in this command.
default

Resets the default values for the select QCI value.
no

Disables the selected QCI value.
num

Specifies the QCI value to be enabled. num must be an integer from 1 through 32.

QCI values of 1 through 9 are standard values. Only undefined values (10 through 32) can be defined.

IMPORTANT:

QCI values 1 through 9 are defined in 3GPP Specification TS 23.203 “Policy and charging control architecture”.
delay-class num precedence-class num reliability-class num

delay-class num: Specifies the pre-release 8 value for configuring packet delay.

num must be an integer from 1 and 32.

precedence-class num: Specifies the pre-release 8 value for configuring packet precedence.

num must be an integer from 1 through 32.

reliability-class num: Specifies the pre-release 8 value for configuring packet reliability.

num must be an integer from 1 through 32.
downlink { encaps-header { copy-inner | dscp-marking hex } | user-datagram dscp-marking hex [ encaps-header { copy-inner | dscp-marking hex } ] }

Configures parameters for downlink traffic.

encaps-header: Specifies that the DSCP marking must be set on the encapsulation header for IP-in-IP, GRE, or GTP encapsulation.

user-datagram dscp-marking hex: Specifies that the IP DSCP marking is to be defined by this keyword.

hex is expressed as a hexadecimal number from 0x00 through 0x3F.
{ copy-inner | dscp-marking hex }

- copy-inner: Specifies that the DSCP marking is to be acquired from the UDP headers within the encapsulation.
- dscp-marking hex: Specifies that the DSCP marking is to be defined by this keyword. hex ia expressed as a hexadecimal number from 0x00 through 0x3F.

gbr

Specifies that this QCI type is Guaranteed Bit Rate (GBR).
max-packet-delay num max-error-rate num

max-packet-delay num: Specifies the maximum packet delay (in milliseconds) that can be applied to the data with the QCI.

num must be an integer from 10 through 1000. Default is 10ms for QCI values greater than 9.

max-error-rate num: Specifies the maximum error loss rate of non-congestion related packet loss.

num must be an integer from 1 through 6, specifying 10-1 through 10-6. Default is 3 (or 10-3) for QCI values greater than 9.

IMPORTANT:

Defaults for QCI values less than 9 are defined in 3GPP Specification TS 23.203 “Policy and charging control architecture”.
non-gbr

Specifies that this QCI type is non-Guaranteed Bit Rate (non-GBR).
traffic-policing interval interval

Specifies the traffic policing interval associated with the this QCI.

interval must be an integer from 1 through 100.
uplink { encaps-header { copy-inner | dscp-marking hex } | user-datagram dscp-marking hex [ encaps-header { copy-inner | dscp-marking hex } ] }

Configures parameters for uplink traffic.

encaps-header: Specifies that the DSCP marking must be set on the encapsulation header for IP-in-IP, GRE, or GTP encapsulation.

user-datagram dscp-marking hex: Specifies that the IP DSCP marking is to be defined by this keyword.

hex is expressed as a hexadecimal number from 0x00 through 0x3F.
{ copy-inner | dscp-marking hex }

- copy-inner: Specifies that the DSCP marking is to be acquired from the UDP headers within the encapsulation.
- dscp-marking hex: Specifies that the DSCP marking is to be defined by this keyword. hex is expressed as a hexadecimal number from 0x00 through 0x3F.

Usage:

Use this command to create and map QCI values to enforceable QoS parameters.
Example:
The following command creates a QCI value of 15 and defines the uplink encapsulation header as using the DSCP marking from the encapsulated UDP header:

    qci 15 uplink encaps-header
    copy-inner