Network QoS policy of the port type defines ingress FC meters and maps traffic to the meters for only IP traffic received on network and hybrid ports. When a network policy of this type is created, it has a single unicast meter that cannot be deleted. These meters exist within the definition of the policy. The meters are instantiated in hardware only when the policy is applied to a network port. This policy also defines the FC-to-DSCP or dot1p marking used for packets sent out through that port.
A network QoS policy of the port type defines both the ingress and egress handling of QoS on the network port.
The following functions are defined:
Ingress
defines DSCP or dot1p value mapping to FCs. Only one type is supported, such as DSCP or dot1p, per policy, with an option to use the DEI bit along with dot1p classification for profile assignment.
defines FC-to-meter mapping. By default, meters are color aware. The user cannot disable meters or change the meter color mode (meter color mode is always set to color-aware).
Egress
specifies the remark policy that defines FC-to-DSCP or dot1p (or both) value markings. See Remark policies for more information.
The following are the required elements defined in a network QoS policy of the port type:
a unique network QoS policy ID and network-policy-type set to port
egress FC-to-DSCP or dot1p (or both) 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 network QoS policy elements include the following:
additional unicast meters up to a total of 8
additional multipoint meter up to a total of 8
DSCP or dot1p (or both) value to FC and profile state mappings for all DSCP or dot1p values received
option to use the DEI bit along with dot1p classification for profile state mapping
Network policy ID 1 is reserved as the default network QoS policy of the port type. The default policy cannot be deleted or changed.
The default network QoS policy is applied to all network ports that do not have another network QoS policy assigned.
The following table lists the default mapping of FC-to-dot1p and DSCP values.
FC-ID | FC name | FC label | Egress DSCP marking | Egress dot1p marking | ||
---|---|---|---|---|---|---|
In-profile | Out-of-profile | In-profile | Out-of-profile | |||
7 |
Network Control |
nc |
nc2 |
nc2 |
111 - 7 |
111 - 7 |
6 |
High-1 |
h1 |
nc1 |
nc1 |
110-6 |
110-6 |
5 |
Expedited |
ef |
ef |
ef |
101-5 |
101-5 |
4 |
High-2 |
h2 |
af41 |
af41 |
100-4 |
100-4 |
3 |
Low-1 |
l1 |
af21 |
af22 |
011-3 |
010-2 |
2 |
Assured |
af |
af11 |
af12 |
011-3 |
010-2 |
1 |
Low-2 |
l2 |
cs1 |
cs1 |
001-1 |
001-1 |
0 |
Best Effort |
be |
be |
be |
000-0 |
000-0 |
The following table lists the default mapping of dot1p or DSCP values to FC and profile state for the default network QoS policy of the port type for network ingress. Color-aware policing is supported on network ingress.
DSCP value | Dot1p value | FC ingress | Profile |
---|---|---|---|
be |
0 |
be |
Out |
cs1 |
1 |
l2 |
In |
af12 |
2 |
af |
Out |
af11 |
3 |
af |
In |
af41 |
4 |
h2 |
In |
ef |
5 |
ef |
In |
nc1 |
6 |
h1 |
In |
nc2 |
7 |
nc |
In |