Network QoS policies of the ip-interface type define ingress FC meters and map traffic to those meters for IP interfaces. When a network QoS policy is created, it always has two meters defined that cannot be deleted: one for the unicast traffic and one for the multipoint traffic. These meters exist within the definition of the policy. The meters are used by the hardware only when the policy is applied to an IP interface. This policy also defines the FC to EXP bit marking, on the egress mode.
A network QoS policy defines both the ingress and egress handling of QoS on the network IP interface and network port. The following functions are defined for a network policy of the ip-interface type:
Ingress
defines EXP value mapping to FCs. Ingress profile assignment using MPLS EXP values is configured using the mpls-lsp-exp-profile-map policy.
defines FC to meter mapping. By default, meters are color aware. The user cannot disable the meters or change the meter color mode (the meter color mode is always set to color-aware).
Egress
defines the FC to EXP value markings
remarking of QoS bits can be enabled or disabled
See Remark policies for more information about MPLS EXP, IP DSCP, and dot1p marking using network QoS policies.
The required elements to be defined in a network QoS policy are:
a unique network QoS policy ID
egress FC-to-EXP value mappings for each FC
a default ingress FC and in-profile/out-of-profile state
at least one default unicast FC meter. See Meter/policer parameters for information about the parameters that can be configured for a meter.
optional multipoint FC meter
Optional network QoS policy elements include:
additional unicast meters up to a total of 8
additional multipoint meters up to 8
EXP value to FC and profile state mappings for all EXP values received
Network policy ID 2 is reserved as the default network QoS policy of the ip-interface type. The default policy cannot be deleted or changed.
Default network QoS policy 2 is applied to all IP interfaces that do not have another network QoS policy assigned.
The network QoS policy applied at network egress (for example, on an IP interface) determines how or whether the profile state is marked in packets transmitted to the service core network. If the profile state is marked in the service core packets, out-of-profile packets are preferentially dropped over in-profile packets at congestion points in the core network. For network egress, traffic remarking in the network QoS policy is disabled. The following table lists the default mapping of FC-to-EXP values.
FC-ID | FC name | FC label | Egress EXP marking | |
---|---|---|---|---|
In-profile | Out-of-profile | |||
7 |
Network Control |
nc |
111 - 7 |
111 - 7 |
6 |
High-1 |
h1 |
110 - 6 |
110 - 6 |
5 |
Expedited |
ef |
101 - 5 |
101 - 5 |
4 |
High-2 |
h2 |
100 - 4 |
100 - 4 |
3 |
Low-1 |
l1 |
011 - 3 |
010-2 |
2 |
Assured |
af |
011-3 |
010 - 2 |
1 |
Low-2 |
l2 |
001 - 1 |
001 - 1 |
0 |
Best Effort |
be |
000 - 0 |
000 - 0 |
For network ingress, the following table lists the default mapping of EXP values to FC and profile state for the default network QoS policy. Color-aware policing is supported on network ingress.
EXP value | FC ingress | Profile |
---|---|---|
0 |
be |
Out |
1 |
l2 |
In |
2 |
af |
Out |
3 |
af |
In |
4 |
h2 |
In |
5 |
ef |
In |
6 |
h1 |
In |
7 |
nc |
In |