Sets the Quality of Service (QoS) Differentiated Services (DiffServ)
marking that a subscriber session is allowed. The DSCP is disabled by default.
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration >
Subscriber Configuration
configure > context
context_name
> subscriber { default | name
subscriber_name
}
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-subscriber)#
Syntax
Syntax Description
ip allowed-dscp class class max-class maxclass [ rt-marking marking ]
no ip allowed-dscp class
no
Resets the parameters to the defaults: class none, max-class
be. This indicates that all packets are let
through without any dscp checking
ip allowed-dscp class
class
Specifies the Differentiated Services Codepoint (DSCP) class with
which the subscriber session may mark its packets. If the subscriber sessions
packets request a code point class higher than the code point class specified,
the PDSN service re-marks the packets with the QOS-DSCP value specified by the
ip qos-dscp command.
Default: none
class must be one of the following;
a: allow packets with AF DSCPs
e: allow packets with EF DSCP
o: allow packets for experimental or local
use
ae: allow packets with AF and EF DSCPs
ao: allow packets with AF DSCPs or packets
for experimental or local use
eo: allow packets with EF DSCPs or packets
for experimental or local use
aeo: allow packets with AF or EF DSCPs or
packets for experimental or local use
none: allow only the
be and
sc1 through
sc7 code points
max-class
maxclass
This parameter specifies the maximum code point with which a
subscriber session may mark its packets. The subscriber sessions packets must
be marked with a code point equal to or less than the code point specified. If
the subscriber sessions packets request a code point higher than the code point
specified, the PDSN service re-marks the packets with the QOS-DSCP value
specified by the lower of the max-class and the
ip qos-dscp command.
The list below identifies the code points from lowest to highest
precedence. For example, if the
maxclass is set to af22, that becomes the
maximum code point that the subscriber session may mark it's packets with and
only
be, af13, af12, af11,af23, and
af22 are allowed. If a subscriber session
marks its packets with anything after af22 in this list, the PDSN service
re-marks the packets with the QOS-DSCP value specified by the lower of the
maxclass and the
ip qos-dscp command.
If class is set to none only the be and sc1 through sc7 codepoints are
allowed. For example; if
class is set to none and you set
max-class to
sc1, only the
sc1 and
be codepoints are allowed.
Default:
be
maxclass must be one of the following;
be: best effort forwarding
af13: assured Forwarding 13
af12: assured Forwarding 12
af11: assured Forwarding 11
af23: assured Forwarding 23
af22: assured Forwarding 22
af21: assured Forwarding 21
af31: assured Forwarding 31
af32: assured Forwarding 32
af33: assured Forwarding 33
af41: assured Forwarding 41
af42: assured Forwarding 42
af43: assured Forwarding 43
ef: expedited forwarding
sc1: selector class 1
sc2: selector class 2
sc3: selector class 3
sc4: selector class 4
sc5: selector class 5
sc6: selector class 6
sc7: selector class 7
rt-marking
marking
This parameter is used for Mobile IP (MIP) reverse tunnels. When MIP
session packets do not have a DSCP marking, the Foreign Agent (FA) marks the
packets with the value specified by
rt-marking
marking.
If MIP sessions packets have a DSCP marking, the marking is subjected
to the conformance rules for the values of class and max-class; the final DSCP
marking is then copied from the inner IP header to the outer IP header.
Default:
be
marking must be one of the following;
be: best effort forwarding
af11: assured Forwarding 11
af12: assured Forwarding 12
af13: assured Forwarding 13
af21: assured Forwarding 21
af22: assured Forwarding 22
af23: assured Forwarding 23
af31: assured Forwarding 31
af32: assured Forwarding 32
af33: assured Forwarding 33
af41: assured Forwarding 41
af42: assured Forwarding 42
af43: assured Forwarding 43
ef: expedited forwarding
sc1: selector class 1
sc2: selector class 2
sc3: selector class 3
sc4: selector class 4
sc5: selector class 5
sc6: selector class 6
sc7: selector class 7
Usage Guidelines
Use this command to configure Quality of Service (QoS) for a
subscriber session to allow a Differentiated Services (DiffServ) Code Point
(DSCP) marker in the header of each IP packet that prompts network routers to
apply differentiated grades of service to various packet streams.
This command uses
class and type of marker
(rt-marking for reverse tunnels) for configuration
with
max-class maximum code point that a
subscriber session may mark its packets with.
Examples
The following command will allow
o packets for experimental or local use with
best effort forwarding
be:
ip allowed-dscp class o max-class be