Configures the quality of service (QoS) differentiated service code
point (DSCP) used when sending data packets over the Gn' interface in the
uplink direction.
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > PDG
Service Configuration
configure > context
context_name
> pdg-service
service_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-pdg-service)#
Syntax
[ no ] ip gnp-qos-dscp { background dscp | conversationaldscp | interactive dscp | streaming dscp | interactive [ traffic-handling-priority traffic_priority ] { allocation-retention-priority allocation_retention_priority } } +
default ip gnp-qos-dscp
no
Disables the overriding of the ToS (Type of Service) field and enables
the pass-through option.
background
dscp
Specifies the DSCP marking to be used for packets of sessions
subscribed to the 3GPP background class, in which the data transfer is not
time-critical (for example, in e-mail exchanges). This traffic class is the
lowest QoS.
dscp : Sets the DSCP for the specified
traffic class. See the
dscp section below.
conversational
dscp
Specifies the DSCP marking to be used for packets of sessions
subscribed to the 3GPP conversational class, in which there is a constant flow
of traffic in both the uplink and downlink direction. This traffic class is the
highest QoS.
dscp : Sets the DSCP for the specified
traffic pattern. See the dscp section below.
interactive [ traffic-handling-priority
traffic_priority
]
Specifies the DSCP marking to be used for packets of sessions
subscribed to three possible traffic priorities in the 3GPP interactive class,
in which there is an intermittent flow of packets in the uplink and downlink
direction. This traffic class has a higher QoS than the background class, but
not as high as the streaming class.
traffic_priority is the 3GPP traffic
handling priority and can be the integers 1, 2 or 3.
allocation-retention-priority
allocation_retention_priority
Specifies the DSCP for the interactive class if the allocation
priority is present in the QoS profile.
allocation-retention-priority can be the
integers 1, 2, or 3.
DSCP uses the values in the following table based on the traffic
handling priority and allocation/retention priority if the allocation priority
is present in the QOS profile.
Allocation Priority
|
1
|
2
|
3
|
Traffic Handling Priority
|
|
|
|
1
|
ef
|
ef
|
ef
|
2
|
af21
|
af21
|
af21
|
3
|
af21
|
af21
|
af21
|
Important
|
If you only configure DCSP marking for interactive traffic classes
without specifying ARP, it may not properly take effect. The CLI allows this
scenario for backward compatibility however, it is recommended that you
configure all three values.
|
streaming
dscp
Specifies the DSCP marking to be used for packets of sessions
subscribed to the 3GPP streaming class, in which there is a constant flow of
data in either in the uplink or downlink direction. This traffic class has a
higher QoS than the interactive class, but not as high as the conversational
class.
dscp: Set the DSCP for the specified traffic pattern. See the dscp
section below.
dscp
Default:
- background: be
- interactive
- Traffic Priority 1: ef
- Traffic Priority 1: af21
- Traffic Priority 1: af21
- streaming: af11
- conversational: ef
Specifies the DSCP for the specified traffic pattern.
dscp can be configured to any one of the
following:
- af11: Assured Forwarding 11 per-hop-behavior (PHB)
|
- af33: Assured Forwarding 33 PHB
|
- af12: Assured Forwarding 12 PHB
|
- af41: Assured Forwarding 41 PHB
|
- af13: Assured Forwarding 13 PHB
|
- af42: Assured Forwarding 42 PHB
|
- af21: Assured Forwarding 21 PHB
|
- af43: Assured Forwarding 43 PHB
|
- af22: Assured Forwarding 22 PHB
|
- be: Best effort forwarding PHB
|
- af23: Assured Forwarding 23 PHB
|
- ef: Expedited forwarding PHB
|
|
|
|
|
+
More than one of the above keywords can be entered within a single
command.
Usage Guidelines
DSCP levels can be assigned to specific traffic patterns in order to
ensure that data packets are delivered according to the precedence with which
they're tagged. The diffserv markings are applied to the IP header of every
subscriber data packet transmitted over the Gn' interface(s).
The four traffic patterns have the following order of precedence:
background (lowest), interactive, streaming, and conversational (highest). Data
packets falling under the category of each of the traffic patterns are tagged
with a DSCP that further indicate their precedence as shown in the following
tables:
Drop Precedence
|
Class
|
Class 1
|
Class 2
|
Class 3
|
Class 4
|
Low
|
af11
|
af21
|
af31
|
af41
|
Medium
|
af12
|
af22
|
af32
|
af41
|
High
|
af13
|
af23
|
af33
|
af43
|
Precedence (low to high)
|
DSCP
|
1
|
Best Effort (be)
|
2
|
Class 1
|
3
|
Class 2
|
4
|
Class 3
|
5
|
Class 4
|
6
|
Express Forwarding (ef)
|
The DSCP level can be configured for multiple traffic patterns within
a single instance of this command.
Example
The following command configures the DSCP level for the streaming
traffic pattern to be ef:ip gnp-qos-dscp streaming ef
The following command configures the DSCP levels for the
conversational, streaming, interactive and background traffic patterns to be
ef, af22, and af41, respectively:ip gnp-qos-dscp conversational ef
streaming ef interactive af22 background af41