This chapter provides information about Quality of Service (QoS) policy management.
The 7210 SAS devices are designed with ingress and egress QoS mechanisms to support multiple services per physical port. The 7210 SAS devices have extensive and flexible capabilities to classify, police, queue, shape, and mark traffic.
In the Nokia service router service model, a service is provisioned on the provider-edge (PE) equipment. Service data is encapsulated and then sent in a service tunnel to the far-end Nokia service router where the service data is delivered.
The operational theory of a service tunnel is that the encapsulation of the data between the two Nokia service routers appears as a Layer 2 path to the service data; however, the data is really traversing an IP or IP/MPLS core. The tunnel from one edge device to the other edge device is provisioned with an encapsulation, and the services are mapped to the tunnel that most appropriately supports the service needs.
The 7210 SAS supports eight forwarding classes that are internally named: Network-Control, High-1, Expedited, High-2, Low-1, Assured, Low-2, and Best-Effort. See Forwarding Classes for more information.
The 7210 SAS supports the use of different types of QoS policies to handle the specific QoS needs at each point in the service delivery model within the device. QoS policies are defined in a global context on the 7210 SAS and only take effect when the policy is applied to an entity.
QoS policies are uniquely identified with a policy ID number or name. Typically, Policy ID 1 or Policy ID “default” is reserved for the default policy, however there are a few instances where the default QoS policy uses a different ID. The default QoS policy is used if no policy is explicitly applied.
The QoS policies supported on the 7210 SAS can be divided into the following main types.
7210 SAS-R6 and 7210 SAS-R12 QoS policies are applied on service ingress, service egress, access port egress, network port ingress and egress, and network IP interface ingress. These policies allow users to configure the following:
QoS policies are the following types:
Service ingress QoS policies are applied to the customer-facing SAPs. Traffic that enters through the SAP is classified to map it to an FC. FC is associated with meters on ingress. The mapping of traffic to meters can be based on combinations of customer QoS marking (IEEE 802.1p bits), IP criteria, and MAC criteria.
The characteristics of the FC meters are defined within the policy with regard to the number of FC meters for unicast traffic and the meter characteristics (like CIR, PIR, and so on). Each FC can be associated with different unicast parameters. A service ingress QoS policy also defines up to three meters per FC, which are used for multipoint traffic for multipoint services. A maximum of 32 meters are supported per service ingress QoS policy.
For VPLS, the following forwarding types are supported:
Multicast, broadcast, and unknown forwarding types are flooded to all destinations within the service, while the unicast forwarding type is handled in a point-to-point manner within the service.
On the 7210 SAS-R6 and 7210 SAS-R12, the user has a per-node or per-chassis option to use either a service egress QoS policy with the capability to use eight egress queues per SAP (port-scheduler-mode command disabled), or an access egress policy with the capability to use eight egress queues for all SAPs configured on the access port (port-scheduler-mode command enabled). The former is referred to as “SAP-based egress queuing mode,” and the latter is referred to as “access port-based egress queuing mode.” A service-egress QoS policy or access-egress policy also defines how to remark the FC-to-IEEE 802.1p bits in the customer traffic.
Service egress QoS policies are applied to SAPs and map FCs to service egress queues for a service. This option is available only when using SAP-based egress queuing mode. The system allocates eight queues per SAP for the eight FCs. All traffic types (that is, both unicast and BUM traffic types) classified to the same FC share the same queue on service egress.
A service egress QoS policy defines the FC queue characteristics, and also defines how to remark the FC-to-priority bits in the packet header (for example, IEEE 802.1p bits in the Ethernet VLAN tag) in the customer traffic. When SAP-based egress queuing mode is configured, the access egress policy configures marking values to use on egress. See Access Egress QoS Policies for more information.
An access ingress policy is applied to the physical port instead of the SAP; the policy applies to all SAPs configured on the specific access port. At ingress, the access ingress QoS policy uses dot1p, DEI with dot1p, or IP DSCP values to assign a forwarding class and profile to traffic, which facilitates the classification of traffic received on the access port. The FC is associated with meters at ingress. An access ingress QoS policy allows the user to define up to one meter per forwarding class for unicast traffic, and up to one meter per forwarding class for multipoint traffic (that is, broadcast, multicast, and unknown-unicast) for multipoint services. The system supports up to 16 meters per access ingress QoS policy.
For a SAP-egress policy, an access egress policy is applied on the physical port as opposed to the logical port (SAP). The policy applies to all the SAPs on the port. This option is available only when using SAP-based egress queuing mode. An access egress QoS policy maps the traffic egressing out the customer-facing ports into various queues and marks the traffic accordingly. The FCs are mapped onto the queues.
There are eight queues at the port level. FC-to-queue mapping is not configurable. The number of queues is not user-configurable, and the software allocates eight queues at the port level. All traffic types (that is, both unicast and BUM traffic types) classified to the same FC share the same queue on service egress. An access egress policy also defines how to remark the FC-to-packet header bits (for example, IEEE 802.1p bits in the L2 VLAN header).
Network QoS policies can be applied to the following:
On egress, network queue policies are applied to network and hybrid ports. The policies define the FC queue characteristics for these entities. The FCs are mapped onto the queues. There are eight queues at the port level. FC-to-queue mapping is not configurable. The number of queues are static and the service always had eight queues at the port level.
Service ingress, service egress, access egress, and network QoS policies are defined with a scope of either template or exclusive. Template policies can be applied to multiple entities (such as SAPs and ports); exclusive policies can only be applied to a single entity.
One service ingress and one service egress QoS policy can be applied to a specific SAP access egress policy, which can then be applied to an access port. One network QoS policy can be applied to a specific IP interface or network port based on the type of network QoS policy. A network QoS policy defines both ingress and egress behavior. One network queue policy can be applied to the network port.
If no QoS policy is explicitly applied to a SAP, port, or interface, a default QoS policy is applied.
The 7210 SAS-R6 and 7210 SAS-R12 can operate in either the low SAP scale mode or high SAP scale mode. In low SAP scale mode, SAP and service scaling is limited by the amount of CAM resources available for the SAP ingress policy (both classification and meters). In the high SAP scale mode, SAP and service scaling are significantly higher compared to the low SAP scale mode and use access port ingress policies. The use of network port policies remains unchanged when the system is operating in high SAP scale mode; however, the high SAP scale mode assumes that the user requires Layer 2 uplinks, and uses access port ingress and egress policies on those uplinks.
SAPs configured on ports operating in hybrid mode cannot be configured to use access ingress QoS policies. Therefore, the access-ingress-qos port-mode option is not supported for ports configured in hybrid mode.
The following QoS policies are supported on access ports and SAPs in the low SAP scale mode:
The following QoS policies are supported on access ports and SAPs in the high SAP scale mode:
Table 5 describes the major functions performed by QoS policies for 7210 SAS-R6 and 7210 SAS-R12.
Policy Type | Applied at | Description | Section |
Service ingress | Access SAP ingress |
| |
Service egress | SAP egress |
| |
Access Ingress | Access Port |
| |
Access egress | Access port | The following is available only in access port-based egress queuing mode:
| |
Network (type = ip-interface) | Network IP interface |
| |
Egress rate | Access and network port | Configures the maximum bandwidth available for traffic sent out of a specified port | |
Network (type = port) | Network and hybrid ports |
| |
Network queue | Network and hybrid ports |
| |
Queue management policies | Queues at service ingress, service egress, and network egress |
| |
Remark | SAP egress, network egress (port and IP interface) |
|
Different QoS mechanisms are used with the 7210 SAS platforms based on the types of traffic on the interface. For customer interfaces, there are service ingress and service egress traffic types. For traffic received and sent to the network core over network ports and IP interfaces, there are network ingress and network egress traffic types, as shown in Figure 1.
The 7210 SAS uses the following QoS policies applied to a SAP, network port, access port, or access-uplink port to define queuing, queue attributes, meter/policer attributes, and QoS marking interpretation.
The 7210 SAS supports the following types of service and network QoS policies:
The following apply to network QoS policies configured in network mode.
Network QoS policies of the ip-interface type define ingress FC meters and map traffic to those meters for IP interfaces. When created, each network QoS policy has two meters defined within the policy that cannot be deleted; one meter handles the unicast traffic, and the other meter handles the multipoint traffic. These meters are used when the policy is applied to an IP interface. A remarking policy can be specified to define the FC-to-EXP bit marking, on egress.
The following apply to network QoS policies of the ip-interface type:
The elements required by a network QoS policy are the following:
Optional network QoS policy elements include:
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 explicitly assigned.
The egress component of the network QoS policy applied to the network IP interface also determines how or whether the profile state is marked in packets transmitted into 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 default network QoS policy is disabled. Table 6 lists the default mapping of FC-to EXP-values.
FC-ID | FC Name | FC Label | Egress MPLS 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, Table 7 lists the default mapping of EXP values to FC and profile state for the default network QoS policy.
MPLS 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 |
Network QoS policies of the port type define ingress FC meters, and map traffic to those meters for only IP traffic received on network and hybrid ports. When created, each network QoS policy of this type has a single meter defined within the policy that cannot be deleted. The meter is used when the policy is applied to a network port. It also defines the FC-to-DSCP or dot1p marking used for packets sent 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 apply to network QoS policies of the port type:
The elements required in a network QoS policy of the port type are:
Optional network QoS policy elements include the following:
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 explicitly assigned.
Table 8 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 |
Table 9 lists the default mapping of dot1p and 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 |
In the network mode of operation, network queue policies define the network FC queue characteristics. Network queue policies are applied on egress on network and hybrid ports for 7210 SAS devices operating in network mode. The system allocates a fixed number of queues for the network port, and FCs are mapped to these queues. All policies use fixed number queues, like the default network queue policy.
Eight queues are allocated for a network queue policy and eight FCs are mapped to these eight queues. Table 20 lists the FC-to-queue mapping.
The network queues on hybrid ports are used for MPLS traffic, IP traffic, and SAP traffic sent out of IP interfaces, and SAPs configured on hybrid ports.
The queue characteristics that can be configured on a per-FC basis are the following:
Network queue policies are identified with a unique policy name that conforms to the standard 7210 SAS alphanumeric naming conventions. The system default network queue policy is named “default” and cannot be edited or deleted. CBS values cannot be provisioned.
Table 10 list the default network queue policy definition.
FC | Queue | Definition |
Network-Control (nc) | Queue 8 |
|
High-1 (h1) | Queue 7 |
|
Expedited (ef) | Queue 6 |
|
High-2 (h2) | Queue 5 |
|
Low-1 (l1) | Queue 4 |
|
Assured (af) | Queue 3 |
|
Low-2 (l2) | Queue 2 |
|
Best-Effort (be) | Queue 1 |
|
Service ingress QoS policies define ingress service FCs and map flows to those FCs. The FC is configured with a meter/policer to limit the rate. When a service ingress QoS policy is created, it has a single meter defined that cannot be deleted and is used for all the traffic (both unicast and multicast traffic). These meters exist within the definition of the policy but only get instantiated in hardware when the policy is applied to a SAP. In the case where the service does not have multipoint traffic, the multipoint meters are not instantiated.
In the simplest service ingress QoS policy, all traffic is handled as a single flow and mapped to a single meter, including all flooded traffic. The required elements to define a service ingress QoS policy are the following:
Optional service ingress QoS policy elements include the following:
The the following options are available when using resources for classification and policing:
Each meter or queue can have unique meter or queue parameters to allow individual policing or shaping of the flow mapped to the FC. Figure 2 shows service traffic being classified into three different FCs.
Mapping flows to FCs is controlled by comparing each packet to the match criteria in the QoS policy. The ingress packet classification to FC requires a provisioned classification policy.
On SAP ingress, users have an option to use either MAC criteria or IP criteria, or both IPv4 and MAC criteria. To use the available classification resources effectively, the following options are available:
Among the supported options, the following can be configured together in a single policy:
Note: When specifying both MAC and IPv4 criteria in a single SAP-ingress policy, only IPv6 DSCP match is allowed. Other IPv6 fields, such as src-address and dst-address, are not allowed. |
In addition to the classification rules listed previously in this section, an optional DEI bit is available to identify the ingress profile and enable color-aware policing. See DEI-Based Classification and Marking for more information. The 7210 SAS-R6 and 7210 SAS-R12 also provide an option to use DSCP table-based classification to assign both FC and profile on SAP ingress for use with color-aware meters. See Service Ingress QoS Policies.
Note: See Service Ingress QoS Policies for more information about the resource allocation required for each of these criteria. |
The IP and MAC match criteria can be very basic or quite detailed. IP and MAC match criteria are assembled using policy entries. An entry is identified by a unique, numerical entry ID. A single entry cannot contain more than one match value for each match criteria. Each match entry has an action that specifies the FC of packets that match the entry.
The entries are evaluated in numerical order based on the entry ID from the lowest to highest ID value. The first entry that matches all match criteria has its action performed.
Table 11 lists the supported IPv4, MAC, and IPv6 header fields for SAP ingress classification.
Match Criteria | Description |
IP criteria | IP DSCP and IP precedence value (available for SAPs in VPLS, VLL, PBB Epipe I-SAP, PBB VPLS I-SAP, IES, VPRN, and R-VPLS services) |
IP source and mask, IP destination and mask, IP protocol, TCP/UDP source port, TCP/UDP destination port (available only for SAPs in VPLS, VLL, PBB Epipe I-SAP, PBB VPLS I-SAP, IES, VPRN, and R-VPLS services) | |
IPv6 criteria | IP DSCP and IP precedence value (available for SAPs in VPLS, VLL, PBB services) |
IPv6 128-bit source and mask, IPv6 128-bit destination and mask, IP protocol/next-header, TCP/UDP source port, TCP/UDP destination port (available only for SAPs in VPLS, VLL, PBB Epipe I-SAP, PBB VPLS I-SAP) | |
MAC criteria | IEEE 802.1p/dot1p value/mask, source MAC address/mask, destination MAC address/mask, EtherType Value/Mask (available for VLL, VPLS, PBB (Epipe I-SAP, VPLS I-SAP, B-SAP), IES, VPRN, and R-VPLS services) |
The MAC match criteria that can be used for an Ethernet frame depends on the format of the frame. Table 12 and Table 13 describe MAC Ethernet frame types and list the MAC match criteria frame type dependencies.
Frame Format | Description |
802.3 | IEEE 802.3 Ethernet frame. Only the source MAC, destination MAC, and IEEE 802.1p value are compared for match criteria. |
Ethernet-II | Ethernet type II frame where the 802.3 length field is used as an Ethernet type (Etype) value. Etype values are two-byte values greater than 0x5FF (1535 decimal). |
Frame Format | Source MAC | Dest MAC | IEEE 802.1p Value | Etype Value |
802.3 | Yes | Yes | Yes | No |
ethernet-II | Yes | Yes | Yes | Yes |
Service ingress QoS policy ID 1 is reserved for the default service ingress policy. The default policy cannot be deleted or changed.
The default service ingress policy is implicitly applied to all SAPs that do not explicitly have another service ingress policy assigned. In the default policy, no queues are defined. All traffic is mapped to the default FC, which uses one meter by default. Table 14 lists the characteristics of the default policy.
Characteristic | Item | Definition |
Meter | Meter 1 | 1 (one) all unicast traffic:
|
Flows | Default FC | 1 (one) flow defined for all traffic:
|
The available ingress CAM hardware resources can be allocated according to user needs for use with different QoS classification match criteria. By default, the system allocates a single meter and two classification entries, so that all traffic is mapped to a single FC and the FC uses a single meter. Users can change the resource allocation based on the need to scale the number of entries or number of associations (that is, number of SAPs using a policy that uses a particular match criterion). If no resources are allocated to particular match criteria used in the policy, the association of that policy to a SAP fails. Allocation of classification entries also allocates meter resources, which are used to implement the per-FC per-traffic type policing function. See Resource Allocation for Service Ingress QoS Policies for information about resource use and allocation to SAP ingress policies.
The 7210 SAS-R6 and 7210 SAS-R12 provide an option to use table-based classification using either IP DSCP or dot1p classification to assign both an FC and profile on SAP ingress for use with color-aware meters. See Service Ingress QoS Policies for more information.
Hierarchical ingress policing allows users to specify the amount of traffic admitted into the system per SAP. It also allows users to share the available bandwidth per SAP among the different FCs of the SAP. For example, users can allow the packets classified as Internet data to use the entire SAP bandwidth when other FCs do not have traffic.
Hierarchical ingress policing provides an option to configure a SAP-ingress aggregate policer per SAP on SAP ingress. The user should configure the PIR rate for the ingress aggregate policer and optionally configure the burst size.
The SAP-ingress aggregate policer monitors the traffic on different FCs and determines whether the packet is forwarded or dropped. The final behavior of the packet is based on the operating rate of the following:
For more information about the final color/profile assigned to the packet, refer to the 7210 SAS-R6, R12 Services Guide, configure service sap ingress aggregate-meter-rate command description.
The trtcm2 (RFC 4115) meter mode is used only on SAP ingress. When the SAP-ingress aggregate policer is configured, the per-FC policer can be configured only in trtcm2 mode. The meter modes srtcm and trtcm1 can be used only if a SAP-ingress aggregate meter is not configured for use with the SAP.
Note: Before using per-SAP ingress aggregate meters/policers, meter resources must be allocated using the config system resource-profile ingress-internal-tcam sap-aggregate-meter command. A change to the number of resources allocated for a SAP aggregate meter requires a reboot of the node to take effect. The amount of resources allocated for this feature determines the number of SAPs that can use the aggregate meter/policer. Refer to the 7210 SAS-M, T, R6, R12, Mxp, Sx, S Basic System Configuration Guide for more information. |
Service egress queues are implemented at the transition from the service core network to the service access network. The advantages of per-service queuing before transmission into the access network are the following:
Note:
|
The sub-rate capabilities and per-service scheduling control are required to make multiple services per physical port possible. Without egress shaping, it is impossible to support more than one service per port. There is no way to prevent service traffic from bursting to the available port bandwidth and starving other services.
For accounting purposes, per-service statistics can be logged. When statistics from service ingress queues are compared with service egress queues, the ability to conform to per-service QoS requirements within the service core can be measured. The service core statistics are a major asset to core provisioning tools.
Service egress QoS policies define egress queues and map FC flows to queues. The system allocates eight queues to service egress by default. To define a basic egress QoS policy, the following are required:
See Queue Parameters for information about parameters that can be configured for a queue.
Optional service egress QoS policy elements include specifying a remark policy that defines IEEE 802.1p priority value remarking, based on FC.
The user has an option to use SAP-based marking. With SAP-based marking, the remark policy defined in the SAP-egress policy associated with each SAP is used to mark the packets egressing out of the SAP, if marking is enabled. The user can also enable port-based marking, in which case the remark policy defined in the access-egress policy associated with the access port determines the marking values to use for all the SAPs defined on that port. See Access Egress QoS Policies for more information.
Each queue in a policy is associated with one of the FCs. Each queue can have individual queue parameters, which allow individual rate shaping of the FCs mapped to the queue.The FC per service egress packet is determined at ingress. If the packet ingresses the service on the same node, the service ingress classification rules determine the FC of the packet. If the packet is received on a network port over an MPLS tunnel, the FC is marked in the tunnel transport encapsulation (for example, MPLS EXP bits).
The FC-to-queue map is fixed and the queue priority is determined by the queue number, with a higher queue number having the higher priority. The user can configure a queue to be a strict queue to change the scheduling behavior for the queue. See Schedulers for more information.
Note: When using SAP-based egress queues, only unicast traffic sent out of RVPLS SAPs uses per-SAP egress queues. BUM traffic sent out of RVPLS SAPs uses per-port egress queues. |
Service egress QoS policy ID 1 is reserved as the default service, which does not have another service egress policy explicitly assigned. Table 15 lists the characteristics of the default policy for 7210 SAS-R6 and 7210 SAS-R12 platforms.
Characteristic | Item | Definition |
Queues | Queue 1-8 | 1 (one) queue defined for each traffic class |
Network-Control (nc) | Queue 8 |
|
High-1 (h1) | Queue7 |
|
Expedited (ef) | Queue 6 |
|
High-2 (h2) | Queue 5 |
|
Low-1 (l1) | Queue 4 |
|
Assured (af) | Queue 3 |
|
Low-2 (l2) | Queue 2 |
|
Best-Effort (be) | Queue 1 |
|
The marking values used to mark traffic from different FCs are defined by the remark policy in the access egress policy. Table 16 lists the remarking policy for type dot1p for 7210 SAS-R6 and 7210 SAS-R12.
FC (FC) | In-profile | Out-Profile |
Network-Control (nc) | 7 | 7 |
High-1 (h1) | 6 | 6 |
Expedited (ef) | 5 | 5 |
High-2 (h2) | 4 | 4 |
Low-1 (l1) | 3 | 2 |
Assured (af) | 3 | 2 |
Low-2 (l2) | 1 | 1 |
Best-Effort (be) | 0 | 0 |
Note:
|
This section describes the access ingress QoS policies supported on the 7210 SAS-R6 and 7210 SAS-R12.
An access ingress QoS policy defines the ingress QoS processing for packets received on the access port when the configure port ethernet access-ingress-qos-mode command is set to port-mode.
When the access-ingress-qos-mode command is set to sap-mode, no access ingress QoS policy is attached to the port. When the access-ingress-qos-mode command is set to port-mode, access ingress policy 1 is attached by default, and this policy can be replaced with a user-defined access ingress QoS policy.
The access ingress QoS policy defines the ingress classification rule that uses dot1p and IP DSCP values from the packet header to map traffic flows to up to eight (8) FCs and assign a profile at ingress. In addition, the user also has an option to use DEI with dot1p classification for color assignment. Each FC can be associated with up to two (2) meters: one meter for unicast traffic and another for multipoint traffic (that is, broadcast, multicast and unknown-unicast traffic). The user can configure meter characteristics such as CIR and PIR rates, CBS and MBS, and so on.
Define the following to configure a basic access ingress QoS policy:
Access ingress QoS policy ID 1 is reserved as the default policy for access ports to which an access ingress policy is not explicitly assigned. Table 17 lists the characteristics of the default access ingress policy ID 1.
Item | Definition |
Meter 1 | 1 (one) meter all unicast traffic:
|
Meter 9 | 1 (one) meter all multicast traffic:
|
Default forwarding class (be) | 1 (one) flow defined for all traffic:
|
On the 7210 SAS-R6 and 7210 SAS-R12, an access-egress policy allows users to define the marking values for the traffic sent out of the access ports towards the customer. Access-egress QoS policies map FC flows to marking values. In addition, based on the queuing mode used on access egress, it also defines the per-port queue parameters.
The 7210 SAS-R6 and 7210 SAS-R12 support SAP-based marking for access SAPs and port-based egress marking on access ports. SAP-based marking is only supported for L2 SAPs, which are SAPs configured in Epipe and VPLS services. If users enable remarking in the SAP-egress policy attached to the SAP, the configured remark policy is used to mark the packets sent out of the SAP. If remarking is disabled in the SAP-egress policy attached to the SAP, the remark policy configured under the access-egress policy associated with the egress-access port is used to mark all packets sent out of the L2 SAP configured on the access port. This is known as port-based marking.
Port-based marking is supported primarily for L3 SAPs (that is, SAPs configured in VPRN services and IES services). SAP-based marking is not supported for L3 SAPs.
No explicit CLI command is provided to choose between port-based marking and SAP-based marking for L2 SAPs. The user can choose SAP-based marking by enabling remarking in the SAP-egress policy attached to the L2 SAP, or port-based marking by disabling remarking in the SAP egress policy attached to the SAP and enabling remarking in the access-egress policy associated with the access port where the L2 SAP is configured.
A remarking policy can be defined for each access-egress policy and remarking is disabled by default. Only remarking policy of the type dot1p, dot1p-lsp-exp-shared, dscp, or dot1p-dscp can be used with access-egress policy. The following is the marking behavior with different remark policy types.
Note:
|
When port-based queues are enabled in addition to marking values, the access-egress QoS policy provides an option to define port-based queues and scheduling.
Users have an option to use either port-based egress queuing and shaping or SAP-based egress queuing and shaping for SAPs configured on access ports or hybrid ports. The config system global-resource-profile qos port-scheduler-mode command allows users to select the mode used for SAPs configured on all the ports of the node (this is a per-node setting). When port-scheduler-mode is enabled, the software uses eight egress queues per access port, and all the SAPs configured on the port share the eight egress queues for traffic sent out of that port.
When port-scheduler-mode is enabled, the queue parameters for the access port egress queues are defined using the access-egress policies.
Modify queue parameters for a specific queue using the queue override feature. See QoS Overrides for Meters/Policers for more information.
Additionally, the marking values used to mark traffic from different FCs are defined by the remark policy in the access-egress policy. Per-SAP marking cannot be used when port-based queuing mode is used. A remarking policy can be defined for each access-egress policy and remarking is disabled by default. Only a remarking policy of the type dot1p, dot1p-lsp-exp-shared, dscp, or dot1p-dscp can be used with an access-egress policy. The following is the marking behavior for different remark policy types.
Note:
|
Access-egress QoS policies define egress queues and map FC flows to queues, if port-scheduler-mode is enabled. Using port-scheduler-mode, the system allocates eight queues to access port egress by default. To define a basic access-egress QoS policy, the following are required:
See Queue Parameters for information about the parameters that can be configured for a queue.
Optional service-egress QoS policy elements include the following:
When port-based queuing is used, the FC-to-queue map is fixed and the queue priority is determined by the queue number, with higher queue numbers having the higher priority. The user can configure a queue to be a strict queue to change the scheduling behavior for the queue.
Access-egress QoS policy ID 1 is reserved as the default access-egress policy. The default policy cannot be deleted or changed. The default access-egress policy is applied to all access ports that do not have another access-egress policy explicitly assigned. By default, sap-qos-marking is enabled. Table 18 and Table 19 list the characteristics of the default policy.
Characteristic | Item | Definition |
Network-Control (nc) | Queue 8 |
|
High-1 (h1) | Queue7 |
|
Expedited (ef) | Queue 6 |
|
High-2 (h2) | Queue 5 |
|
Low-1 (l1) | Queue 4 |
|
Assured (af) | Queue 3 |
|
Low-2 (l2) | Queue 2 |
|
Best-Effort (be) | Queue 1 |
|
FC (FC) | In-profile | Out-Profile |
Network-Control (nc) | 7 | 7 |
High-1 (h1) | 6 | 6 |
Expedited (ef) | 5 | 5 |
High-2 (h2) | 4 | 4 |
Low-1 (l1) | 3 | 2 |
Assured (af) | 3 | 2 |
Low-2 (l2) | 1 | 1 |
Best-Effort (be) | 0 | 0 |
This policy defines the FC-to-egress marking values. Based on the packet encapsulation used to send out the service packets, the remark policy allows the user to define and associate appropriate policies to service egress and network egress QoS policies. 7210 SAS supports the following types of remark policies:
Each of these remark policy types can be associated with only appropriate QoS policies, as describes in the previous list. Refer to the section about marking support on network egress, SAP egress and access port egress in the 7210 SAS-R6, R12 Quality of Service Guide.
Note: On the 7210 SAS-R6 and 7210 SAS-R12, when the port-based scheduling mode is enabled per-node for SAPs, only per-port egress marking policies are supported; per-SAP egress marking is not supported for L2 and L3 SAPs. |
The required elements to define a remark QoS policy are the following:
The 7210 SAS supports port egress rate limiting. This feature allows the user to limit the bandwidth available on the egress of the port to a value less than the maximum possible link bandwidth. It also allows the user to control the amount of burst sent out.
The 7210 SAS supports multiple FCs and class-based queuing, which means that the concept of FCs is common to all the QoS policies.
Each FC (also called Class of Service (CoS)) is important only in relation to the other FCs. An FC provides network elements a method to weigh the relative importance of one packet over another in a different FC.
Queues are created for a specific FC to determine the manner in which the queue output is scheduled. The FC of the packet, along with the in-profile or out-of-profile state, determines how the packet is queued and handled (the per-hop behavior (PHB)) at each hop along its path to a destination egress point. Table 20 describes the FCs supported by the 7210 SAS.
FC ID | FC Name | FC Designation | DiffServ Name | Notes |
7 | Network Control | NC | NC2 | Intended for network control traffic |
6 | High-1 | H1 | NC1 | Intended for a second network control class or delay/jitter sensitive traffic |
5 | Expedited | EF | EF | Intended for delay/jitter sensitive traffic |
4 | High-2 | H2 | AF4 | Intended for delay/jitter sensitive traffic |
3 | Low-1 | L1 | AF2 | Intended for assured traffic. Also is the default priority for network management traffic. |
2 | Assured | AF | AF1 | Intended for assured traffic |
1 | Low-2 | L2 | CS1 | Intended for BE traffic |
0 | Best Effort | BE | BE |
Table 20 lists the default definitions for the FCs. The FC behavior, in terms of ingress marking interpretation and egress marking, can be changed; see Network QoS Policies for more information. All FC queues support the concept of in-profile and out-of-profile.
Eight FCs are supported on the 7210 SAS devices. Each of these FCs is mapped to a specific queue. By mapping FCs to different queues, the differential treatment is imparted to various classes of traffic.
By default, the 7210 SAS allocates eight queues to SAP egress (or optionally access port egress) and network. The queues cannot be created or deleted by the user. CLI commands allow the user to configure the queue parameters.
The queue IDs 1 to 8 are assigned to each of the eight queues. Queue ID 8 is the highest priority and queue ID 1 is the lowest priority. FCs are correspondingly mapped to these queue IDs according to their priority. Table 21 describes the system-defined map is described. This mapping is not user configurable.
Note: On the 7210 SAS-R6 and 7210 SAS-R12, users can configure the queue to be strict mode or weighted mode. Strict priority queues are serviced before weighted queues. See Schedulers for more information about scheduling behavior and queue parameters. |
FC-ID | FC Name | FC Designation | Queue-ID |
7 | Network control | NC | 8 |
6 | High-1 | H1 | 7 |
5 | Expedited | EF | 6 |
4 | High-2 | H2 | 5 |
3 | Low-1 | L1 | 4 |
2 | Assured | AF | 3 |
1 | Low-2 | L2 | 2 |
0 | Best-Effort | BE | 1 |
Services are configured with default QoS policies. Additional policies must be explicitly created and associated. The following policies are configured by default:
Only one ingress QoS policy and one egress QoS policy can be applied to a SAP or IP interface, or network port.
When you create a new QoS policy, default values are provided for most parameters, with the exception of the policy ID and descriptions. Each policy has a scope, default action, a description, and meters for ingress policies and queues for egress policies. The queue is associated with an FC.
QoS policies can be applied to the following service types:
QoS policies can be applied to the following entities:
Default access QoS policies map all traffic with equal priority and allow an equal chance of transmission (best effort (be) FC) and an equal chance of being dropped during periods of congestion. QoS prioritizes traffic according to the FC and uses congestion management to control access ingress, access egress, and network traffic, with queuing according to priority.
An overview of QoS policy support on hybrid ports is described in this section.
The following policies are available when SAP-based queues are enabled.
When port-based queues are enabled for SAPs, the QoS policies available for use with hybrid port are the same as in the previous list, with the following exceptions:
This section provides information about meters/policers.
This section describes the supported meter parameters.
In network mode of operation, meter/policer is available with the following:
The meter ID uniquely identifies the meter. The meter ID is only unique within the context of the QoS policy within which the meter is defined.
The committed information rate (CIR) for a meter is the long-term average rate at which traffic is considered conforming traffic or in-profile traffic. The higher the rate, the greater the expected throughput. The user can burst above the CIR and up to the PIR for brief periods of time. The time and profile of the packet is determined based on the burst sizes. See Committed Burst Size and Maximum Burst Size.
When defining the CIR for a meter, the value specified is the administrative CIR for the meter. The 7210 SAS devices have a number of native rates in the hardware that determine the operational CIR for the meter. The user has some control over how the administrative CIR is converted to an operational CIR if the hardware does not support the exact CIR and PIR combination specified. See Adaptation Rule for Meters for information about the interpretation of the administrative CIR.
The CIR for meters is provisioned on service ingress and network ingress within service ingress QoS policies and network QoS policies, respectively.
The peak information rate (PIR) defines the maximum rate at which packets are allowed to exit the meter. The PIR does not specify the maximum rate at which packets can enter the meter; this is controlled by the ability of the meter to absorb bursts and is defined by its maximum burst size (MBS).
When defining the PIR for a meter, the value specified is the administrative PIR for the meter. The 7210 SAS devices have a number of rates in hardware that determine the operational PIR for the meter. The user has some control over how the administrative PIR is converted to an operational PIR, if the hardware does not support the exact CIR and PIR combination specified. See Adaptation Rule for Meters for information about the interpretation of the administrative PIR.
The PIR for meters is provisioned on service ingress and network ingress within service ingress QoS policies and network QoS policies, respectively.
The adaptation rule provides the QoS provisioning system with the ability to adapt the administrative rates provisioned for CIR and PIR, to derive the operational rates based on the underlying capabilities of the hardware. The administrative CIR and PIR rates are translated to actual operational rates, which are enforced by the hardware meter. The rule provides a constraint for when the exact rate is not available as a result of hardware capabilities. Table 22 list supported rates and burst step sizes.
Rate (kb/s) | Rate Step Size (bits) |
2048 to 4095 | 2 |
4096 to 8191 | 4 |
8192 to 16383 | 8 |
16384 to 32767 | 16 |
32768 to 65535 | 32 |
65536 to 131071 | 64 |
131072 to 262143 | 128 |
262144 to 524287 | 256 |
524288 to 1048575 | 512 |
1048576 to 2097151 | 1024 |
2097152 to 4194303 | 2048 |
4194304 to 8388607 | 4096 |
8388608 to max | 8192 |
The system attempts to find the best operational rate, depending on the defined constraint. The following constraints are supported:
Table 23 lists the rate values configured in the hardware when different PIR or CIR rates are specified in the CLI.
Administrative Rate | Operation Rate (Min) | Operation Rate (Max) | Operation Rate (Closest) |
8 | 8 | 8 | 8 |
10 | 16 | 8 | 8 |
118085 | 11808 | 11800 | 11808 |
46375 | 46376 | 46368 | 46376 |
If the configured value is greater than 0 and less than 8, the operation rate configured in the hardware is 8 kb/s, irrespective of the constraint.
Note: The configured burst size affects the rate step size used by the system. The system uses the step size to ensure that both the burst size and rate parameter constraints are met. For example, if the rate specified is less than 4 Gb/s but the burst size is 17 Mb, the system uses rate step size of 16 kb and burst step size of 8192 bits. |
The CBS command specifies the committed burst size that can be transmitted by the source at the CIR while complying with the CIR. If the transmitted burst is lower than the CBS value, the packets are marked as in-profile by the meter to indicate that the traffic is complying with meter-configured parameters.
The operational CBS set by the system is adapted from the user-configured value by using the minimum constraint.
For Two Rate Three Color Marking (trTCM), the MBS command specifies the maximum burst size that can be transmitted by the source at the PIR while complying with the PIR. If the transmitted burst is lower than the MBS value, the packets are marked as out-of-profile by the meter to indicate that the traffic is not complying with CIR, but complying with PIR.
For Single Rate Three Color Marking (srTCM), the MBS command specifies the maximum burst size that can be transmitted by the source while not complying with the CIR. If the transmitted burst is lower than the MBS value, the packets are marked as out-of-profile by the meter to indicate that the traffic is not complying with CIR.
If the packet burst is higher than MBS, packets marked as red are dropped.
The operational MBS set by the system is adapted from the user-configured value by using the minimum constraint.
The 7210 SAS devices maintain counters for meters within the system for granular billing and accounting. Each meter maintains the following counters:
The 7210 SAS devices support the following meter modes:
In srTCM, the CBS and MBS token buckets are replenished at single rate, that is, CIR; in trTCM, CBS and MBS buckets are individually replenished at CIR and PIR rates, respectively. In trTCM1, the policing algorithm is implemented as defined in RFC 2698; in trTCM2 the policing algorithm is implemented as defined in RFC 4115.
In color-aware policing, the user can define the color of the packet using the classification and feed the colored packets to the meter. A color-aware meter handles packets according to the color defined on ingress. The following applies to color-aware policing.
The profile marked by the meter determines the eligibility of the packet to be enqueued into a buffer on egress (when a slope policy is configured on egress).
In color-blind mode, the profile and color assigned to the packet on ingress is ignored. The CIR and PIR rate configured for the meter determines the final profile for the packet. If the packet is within the CIR, the final profile assigned to the packet is in-profile/green, and if the packets exceeds the CIR and is within the PIR, the final profile assigned to the packet is out-of-profile/yellow. Packets that exceed the PIR rate are dropped.
In color-aware mode, the meter uses the profile assigned to the packet on ingress. The profile can be assigned on ingress either by enabling DEI classification, as done on access ports, or by assigning the profile based on either dot1p or DEI, as done on network ports and access-uplink ports. On the 7210 SAS-R6 and 7210 SAS-R12, the profile can also be assigned on service (or SAP) ingress by using a DSCP classification policy while using table-based classification.
The 7210 SAS devices support color-aware policing on network ingress; however, on service ingress, a policing option is provided to use either color-aware policing or color-blind policing.
The QoS override feature on access SAPs allows the user to override the meter/policer parameters, such as CBS, MBS, rate (CIR and PIR), mode, and adaptation rule (CIR and PIR), in the SAP context.
When the meter or queue parameter values are not overridden, the values are taken from the SAP-ingress policy. See Configuration Guidelines for QoS Overrides for information about configuring overrides for meters/policers.
This section provides information about QoS queue management.
This section describes the parameters available for queues.
On the 7210 SAS-R6 and 7210 SAS-R12, queues are available for use with the following:
The queue ID is used to uniquely identify the queue. The queue ID is only unique within the context of the QoS policy where the queue is defined.
The CIR for a queue performs the following functions:
On egress, queues never mark the packets as in-profile or out-profile based on the queue CIR and PIR values. The in-profile and out-profile state of the queue interacts with the scheduler mechanism and provides the minimum and maximum bandwidth guarantees.
When defining the CIR for a queue, the value specified is the administrative CIR for the queue. The user has some control over how the administrative CIR is converted to an operational CIR if the hardware does not support the exact CIR and PIR combination specified. See Adaptation Rule for Meters for information about the interpretation of the administrative CIR.
Although the 7210 SAS is flexible in how the CIR can be configured, there are conventional ranges for the CIR based on the FC of a queue. A queue associated with the high-priority class normally has the CIR threshold equal to the PIR rate, although the 7210 SAS allows the CIR to be provisioned to any rate below the PIR, if required.
The CIR for a queue is provisionedf on egress using the service egress QoS policy.
The CIR for the network queues are defined within network queue policies based on the FC. The CIR for network queues is specified as a percentage of the network interface bandwidth.
The PIR defines the maximum rate at which packets are allowed to exit the queue. The PIR does not specify the maximum rate at which packets can enter the queue; this is determined by the ability of the queue to absorb bursts. The actual transmission rate of a egress queue depends on more than just its PIR. Each queue is competing with other queues for transmission bandwidth. The PIR, CIR, and relative priority and weight of the scheduler serving each queue combine to affect the ability of the queue to transmit packets.
The PIR is provisioned on egress queues using service egress QoS policies.
The PIR for network queues are defined using network queue policies based on the FC. The PIR for the queues is specified as a percentage of the network interface bandwidth.
When defining the PIR for a queue, the value specified is the administrative PIR for the queue.The user has some control over how the administrative PIR is converted to an operational PIR, if the hardware does not support the exact CIR and PIR values specified. See Adaptation Rule for Queues for information about the interpretation of the administrative PIR.
The adaptation rule provides the QoS provisioning system with the ability to adapt defined CIR and PIR administrative rates to the underlying capabilities of the hardware where the queue will be created, which derives the operational rates. The administrative CIR and PIR rates are translated to actual operational rates enforced by the hardware queue. The rule provides a constraint used when the exact rate is not available as a result of hardware implementation trade-offs.
For the CIR and PIR parameters individually, the system attempts to find the best operational rate, depending on the defined constraint. The following constraints are supported:
Depending on the hardware where the queue is provisioned, the actual operational CIR and PIR settings used by the queue depend on the method the hardware uses to implement and represent the mechanisms that enforce the CIR and PIR rates.
The 7210 SAS-R6 and 7210 SAS-R12 use a rate step value based on the configured rate to define the granularity for both the CIR and PIR rates. See Table 24 for 7210 SAS-R6 and 7210 SAS-R12 values. The adaptation rule controls the method the system uses to choose the rate step based on the administrative rates defined by the rate command.
Rate (kbps) | Rate Step Size (bits) |
0 to 2047 | 8 |
2048 to 4095 | 8 |
4096 to 8191 | 8 |
8192 to 16383 | 8 |
16384 to 32767 | 16 |
32768 to 65535 | 32 |
65536 to 131071 | 64 |
131072 to 262143 | 128 |
262144 to 524287 | 256 |
524288 to 1048575 | 512 |
1048576 to 2097151 | 1024 |
2097152 to 4194303 | 2048 |
4194304 to 8388607 | 4096 |
8388608 to max | 8192 |
If the adaptation rule is minimum, the operational CIR and PIR values are 99 kbps and 161 kbps. The hardware step rate is 12.359619, because the native hardware rate is equal to or greater than the administrative CIR and PIR values.
If the adaptation rule is maximum, the operational CIR and PIR values are 87 kbps and 149 kbps.
If the adaptation rule is closest, the operational CIR and PIR values are 87 kbps and 149 kbps, respectively, because those are the closest matches for the administrative values that are even multiples of the 12.359619 kbps rate step.
The user has an option to specify whether the SAP egress queue is a strict or weighted queue. The priority of the queue is determined by the FC of the queue, with the higher priority FC being assigned a queue at a higher priority. The user can specify the weight of the queue for weighted queues. The pir-weight command determines the proportion of the available bandwidth that is allocated to the queues that are vying for bandwidth at the same priority.
The CBS and MBS parameters specify the amount of buffer reserved for a queue, and up to how much buffer a queue can compete for in the shared buffer space, respectively. After the reserved buffers for a queue are used, the queue competes with other queues for shared buffer resources up to the MBS.
The CBS and MBS for the queues are configurable for access and network ports and access uplink ports. The CBS and MBS values for the queues are set to default values that handle specific FC needs in maintaining differential treatment.
The default CBS and MBS values are as follows:
The 7210 SAS-R6 and 7210 SAS-R12 have a single buffer pool per node, the system pool. All the queues created by the system are allocated buffers from this system pool. Queues come up with default buffers, and the buffers change accordingly when they are associated with a network port or SAP. Queue management policies allow the user to specify the parameters that determine buffer allocation to the queues. Buffer pools cannot be created or deleted in the 7210 SAS.
Queue management policies define the queue buffer and WRED slope parameters.
The 7210 SAS supports a single buffer pool per node. All the queues created in the system are allocated buffers from the system pool. The default buffers are allocated to the queues accordingly when they are associated with a SAP or a network port.
Queue management policies define the CBS, MBS, and WRED parameters for use by the queue. The CBS and MBS parameters allocate the appropriate amount of buffer from the system pool to the queues. The WRED parameters define the WRED slope characteristics. Users can define a high-slope and a low-slope for each of the queues. High-priority slope is used for in-profile packets being enqueued into the queues, and low-priority slope is used for out-of-profile packets being enqueued into the queues.
By default, each queue is associated with a default queue-management policy. The default policy allocates the appropriate amount of CBS and MBS buffer based on whether the queue is associated with a SAP or network port.
Note: If WRED is not configured, tail drop is used. |
This section describes the operation and configuration of weighted random early detection (WRED) slopes.
The 7210 SAS provides a single buffer pool for use by all the queues created in the system. Each queue provides users with an option to configure a high-priority WRED slope and a low-priority WRED slope.
The high-priority RED slope manages access to the shared portion of the buffer pool for high-priority or in-profile packets. The low-priority RED slope manages access to the shared portion of the buffer pool for low-priority or out-of-profile packets.
By default, the high-priority and low-priority slopes are disabled.
The WRED uses average queue lengths, queue thresholds provisioned, and drop probability to calculate the eligibility of a packet to be enqueued. The committed portion of the buffer pool is exclusively used by a queue to enqueue traffic within a committed rate.
For the queues within a buffer pool, packets are either queued using CBS buffers or shared buffers. The CBS buffers are buffer memory that is allocated to the queue while the queue depth is at or below its CBS threshold. The amount of CBS assigned to all queues depends on the number of queues created, the setting of the default CBS defined in the policy, and any CBS values set per queue within a QoS policy. However, from a functional perspective, the buffer pool does not keep track of the total of the CBS assigned to queues serviced by the pool. CBS subscription on the pool is an administrative function that must be monitored by the queue provisioner.
For each queue, the amount of access and network buffer pools and the percentage of the buffers that are reserved for CBS buffers are configured by the software (cannot be changed by users). This setting indirectly assigns the amount of shared buffer on the pool. This is an important function that controls the ultimate average and total shared buffer utilization value calculation for WRED slope operation. The CBS setting can dynamically maintain the buffer space on which the WRED slopes operate.
When queue depth exceeds the CBS of the queue, packets received on the queue must contend with other queues exceeding their CBS for shared buffers. To resolve this contention, the buffer pool uses two WRED slopes to determine buffer availability on a packet-by-packet basis. A packet that was either classified as high priority or considered in-profile is handled by the high-priority WRED slope. This slope should be configured with WRED parameters that prioritize buffer availability over packets associated with the low-priority WRED slope. Packets classified as low priority or out-of-profile are handled by this low-priority WRED slope.
The following is a simplified overview of how a WRED slope determines shared buffer availability on a packet basis.
Figure 3 shows how a RED slope is a graph with an X (horizontal) and Y (vertical) axis. The X-axis plots the percentage of shared buffer average utilization, ranging from 0 to 100 percent. The Y-axis plots the probability of packet discard marked as 0 to 1. The actual slope can be defined as four sections in (X, Y) points.
The following describe the sections shown in Figure 3.
Plotting any value of shared buffer average utilization results in a value for packet discard probability from 0 to 1. Changing the values for start-avg, max-avg, and max-prob allows the adaptation of the RED slope to the needs of the access or network queues using the shared portion of the buffer pool, including disabling the RED slope.
The 7210 SAS allows tuning the calculation of the Shared Buffer Average Utilization (SBAU) after assigning buffers for a packet entering a queue as used by the RED slopes to calculate a packet’s drop probability. It implements a time average factor (TAF) parameter in the buffer policy which determines the contribution of the historical shared buffer utilization and the instantaneous Shared Buffer Utilization (SBU) in calculating the SBAU. The TAF defines a weighting exponent used to determine the portion of the shared buffer instantaneous utilization and the previous shared buffer average utilization used to calculate the new shared buffer average utilization. To derive the new shared buffer average utilization, the buffer pool takes a portion of the previous shared buffer average and adds it to the inverse portion of the instantaneous shared buffer utilization (SBU). The formula used to calculated the average shared buffer utilization is shown in Figure 4.
where:
SBAUn = Shared buffer average utilization for event n
SBAUn-1 = Shared buffer average utilization for event (n-1)
SBU = The instantaneous shared buffer utilization
TAF = The time average factor
Table 25 describes the effect the allowed values of TAF have on the relative weighting of the instantaneous SBU and the previous SBAU (SBAUn-1) on calculating the current SBAU (SBAUn).
TAF | 2TAF | Equates To | Shared Buffer Instantaneous Utilization Portion | Shared Buffer Average Utilization Portion |
0 | 20 | 1 | 1/1 (1) | 0 (0) |
1 | 21 | 2 | 1/2 (0.5) | 1/2 (0.5) |
2 | 22 | 4 | 1/4 (0.25) | 3/4 (0.75) |
3 | 23 | 8 | 1/8 (0.125) | 7/8 (0.875) |
4 | 24 | 16 | 1/16 (0.0625) | 15/16 (0.9375) |
5 | 25 | 32 | 1/32 (0.03125) | 31/32 (0.96875) |
6 | 26 | 64 | 1/64 (0.015625) | 63/64 (0.984375) |
7 | 27 | 128 | 1/128 (0.0078125) | 127/128 (0.9921875) |
8 | 28 | 256 | 1/256 (0.00390625) | 255/256 (0.99609375) |
9 | 29 | 512 | 1/512 (0.001953125) | 511/512 (0.998046875) |
10 | 210 | 1024 | 1/1024 (0.0009765625) | 1023/2024 (0.9990234375) |
11 | 211 | 2048 | 1/2048 (0.00048828125) | 2047/2048 (0.99951171875) |
12 | 212 | 4096 | 1/4096 (0.000244140625) | 4095/4096 (0.999755859375) |
13 | 213 | 8192 | 1/8192 (0.0001220703125) | 8191/8192 (0.9998779296875) |
14 | 214 | 16384 | 1/16384 (0.00006103515625) | 16383/16384 (0.99993896484375) |
15 | 215 | 32768 | 1/32768 (0.000030517578125) | 32767/32768 (0.999969482421875) |
The value specified for the TAF affects the speed at which the shared buffer average utilization tracks the instantaneous shared buffer utilization. A low value weights the new shared buffer average utilization calculation more to the shared buffer instantaneous utilization. When TAF is zero, the shared buffer average utilization is equal to the instantaneous shared buffer utilization. A high value weights the new shared buffer average utilization calculation more to the previous shared buffer average utilization value. The TAF value applies to all high and low priority RED slopes for ingress and egress buffer pools controlled by the buffer policy.
The elements required to define a queue management policy are the following:
The queue management policy ID default is reserved for the default queue management policy. The default policy cannot be deleted or changed. The default policy is implicitly applied to all queues that do not have another queue management policy explicitly assigned.
Table 26, Table 27, and Table 28 list the default values for the default slope policy.
Parameter | Description | Setting |
Policy ID | Queue management policy ID | Default (for default queue management policy) |
CBS | Committed burst size | Default (in kilobytes) |
MBS | Maximum burst size | Default (in kilobytes) |
High (RED) slope | Administrative state | Shutdown |
start-avg | 70% utilization | |
max-avg | 90% utilization | |
max-prob | 75% | |
Low (RED) slope | Administrative state | Shutdown |
start-avg | 50% utilization | |
max-avg | 75% utilization | |
max-prob | 75% | |
TAF | time-average-factor | 7 |
Platforms | CBS (in KB) Network Queue | CBS (in KB) Access Queue |
7210 SAS-R6 and 7210 SAS-R12 | 128 | 10 |
Platforms | MBS (in KB) Network Queue | MBS (in KB) Access Queue |
7210 SAS-R6 and 7210 SAS-R12 | 256 | 64 |
The configuration guidelines for the QoS override feature are the following.
The following is a sample meter override parameter configuration output.
The following is a sample queue override parameter configuration output.
The queue override feature for access egress QoS policies allows users to override the queue parameter settings of an access egress QoS policy that is applied to a port. An access egress QoS policy defines the QoS behavior on access port egress. Queue override is used when port-based queues with shaping and scheduling are configured instead of per-SAP egress queues. Queue override is supported on the 7210 SAS-R6 and 7210 SAS-R12.
Queue override support on access egress ports allows the user to override queue parameters, such as adaptation rule, percent CIR and PIR rates, queue-management policy, queue mode, CIR and PIR rates, and queue weight. See Queue Parameters for parameter descriptions.
When the queue override feature is not used, queue parameters for the port are taken from the access egress QoS policy assigned to the port.
Queue override commands are supported on all Ethernet access ports.
Refer to the 7210 SAS-M, T, R6, R12, Mxp, Sx, S Interface Configuration Guide for CLI command descriptions of the queue override parameters.
The following is a sample queue override parameter configuration output.
The 7210 SAS-R6 and 7210 SAS-R12 support scheduling as follows.
See Schedulers for more information about scheduling behavior and queue parameters considered by the scheduler.
The following information describes QoS implementation guidelines and restrictions.