Network QoS policies define egress QoS marking and ingress QoS interpretation for traffic on core network IP interfaces. The router automatically creates egress queues for each of the forwarding classes on network IP interfaces.
A network QoS policy defines both the ingress and egress handling of QoS on the IP interface. The following functions are defined:
ingress
defines DSCP, Dot1p, and IP criteria mappings to forwarding classes
defines LSP EXP value mappings to forwarding classes
egress
defines DSCP and IP precedence mappings to forwarding classes
defines forwarding class to DSCP value markings
defines forwarding class to Dot1p/DE value markings
defines forwarding class to LSP EXP value markings
enables/disables remarking of QoS
defines FC to policer/queue-group queue mapping
The required elements to be defined in a network QoS policy are:
a unique network QoS policy ID
egress forwarding class to DSCP value mappings for each forwarding class
egress forwarding class to Dot1p value mappings for each forwarding class
egress forwarding class to LSP EXP value mappings for each forwarding class
enabling/disabling of egress QoS remarking
a default ingress forwarding class and in-profile/out-of-profile state
Optional network QoS policy elements include:
DSCP name-to-forwarding class and profile state mappings for all DSCP values received
LSP EXP value-to-forwarding class and profile state mappings for all EXP values received
ingress FC fp-redirect-group policer mapping
egress FC port-redirect-group queue/policer mapping
Network policy ID 1 is reserved as the default network QoS policy. The default policy cannot be deleted or changed.
The default network QoS policy is applied to all network interfaces that do not have another network QoS policy explicitly assigned. Table: Default network QoS policy egress marking describes the default network QoS policy egress marking.
FC-ID | FC name | FC label | DiffServ name | Egress DSCP marking | Egress LSP EXP marking | ||
---|---|---|---|---|---|---|---|
In-profile name | Out-of-profile name | In-profile | Out-of- profile | ||||
7 |
Network Control |
nc |
NC2 |
nc2 111000 - 56 |
nc2 111000 - 56 |
111 - 7 |
111 - 7 |
6 |
High-1 |
h1 |
NC1 |
nc1 110000 - 48 |
nc1 110000 - 48 |
110 - 6 |
110 - 6 |
5 |
Expedited |
ef |
EF |
ef 101110 - 46 |
ef 101110 - 46 |
101 - 5 |
101 - 5 |
4 |
High-2 |
h2 |
AF4 |
af41 100010 - 34 |
af42 100100 - 36 |
100 - 4 |
100 - 4 |
3 |
Low-1 |
l1 |
AF2 |
af21 010010 - 18 |
af22 010100 - 20 |
011 - 3 |
010 - 2 |
2 |
Assured |
af |
AF1 |
af11 001010 - 10 |
af12 001100 - 12 |
011 - 3 |
010 - 2 |
1 |
Low-2 |
l2 |
CS1 |
cs1 001000 - 8 |
cs1 001000 - 8 |
001 - 1 |
001 - 1 |
0 |
Best Effort |
be |
BE |
be 000000 - 0 |
be 000000 - 0 |
000 - 0 |
000 - 0 |
For network ingress, Table: Default network QoS policy DSCP to forwarding class mappings and Table: Forwarding class and enqueuing priority classification hierarchy based on rule type list the default mapping of DSCP name and LSP EXP values to forwarding class and profile state for the default network QoS policy.
Ingress DSCP | Forwarding class | ||||
---|---|---|---|---|---|
dscp-name | dscp-value (binary - decimal) | FC ID | Name | Label | Profile state |
Default |
0 |
Best-Effort |
be |
Out |
|
ef |
101110 - 46 |
5 |
Expedited |
ef |
In |
nc1 |
110000 - 48 |
6 |
High-1 |
h1 |
In |
nc2 |
111000 - 56 |
7 |
Network Control |
nc |
In |
af11 |
001010 - 10 |
2 |
Assured |
af |
In |
af12 |
001100 - 12 |
2 |
Assured |
af |
Out |
af13 |
001110 - 14 |
2 |
Assured |
af |
Out |
af21 |
010010 - 18 |
3 |
Low-1 |
l1 |
In |
af22 |
010100 - 20 |
3 |
Low-1 |
l1 |
Out |
af23 |
010110 - 22 |
3 |
Low-1 |
l1 |
Out |
af31 |
011010 - 26 |
3 |
Low-1 |
l1 |
In |
af32 |
011100 - 28 |
3 |
Low-1 |
l1 |
Out |
af33 |
011110 - 30 |
3 |
Low-1 |
l1 |
Out |
af41 |
100010 - 34 |
4 |
High-2 |
h2 |
In |
af42 |
100100 - 36 |
4 |
High-2 |
h2 |
Out |
af43 |
100110 - 38 |
4 |
High-2 |
h2 |
Out |