Service egress queues are implemented at the transition from the service core network to the service access network and are available when SAP-based egress queues and shaping is enabled by using the configure system resource-profile qos no port-scheduler-mode command on the 7210 SAS-Mxp and the configure system global-resource-profile qos no port-scheduler-mode command on the 7210 SAS-R6 IMM-b and 7210 SAS-R12 IMM-b. The advantages of per-service queuing before transmission into the access network are:
per-service egress subrate capabilities especially for multipoint services
more granular, fairer scheduling per-service into the access network
per-service statistics for forwarded and discarded service packets
On egress of access ports, use either port-based egress queuing and shaping, or SAP-based egress queuing and shaping for SAPs configured on the port. Use the config>system>resource-profile>qos>port-scheduler-mode command on the 7210 SAS-Mxp or the config>system>global-resource-profile>qos>port-scheduler-mode command on the 7210 SAS-R6 IMM-b and 7210 SAS-R12 IMM-b to select the mode for SAPs configured on either access ports or hybrid ports. This per-node setting affects all SAPs and access ports.
When port-scheduler-mode is enabled, the software uses eight egress queues per port (access port or hybrid port). See Service egress QoS policies on 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 for more information. When port-scheduler-mode is disabled, the software allocates eight egress queues per SAP, which are configured using service egress policies.
The 7210 SAS-R6 IMM-c and 7210 SAS-R12 IMM-c support only port-based egress queues (with eight egress queues per port) and port-based scheduling. These platforms do not support per-SAP service egress policies.
The sub-rate capabilities and per-service scheduling control are required to make multiple services per physical port possible. Without egress shaping, it is not possible to support more than one service per port with QoS differentiation among services. 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.
Service egress QoS policies define egress queues and map FC flows to queues. The system allocates 8 (eight) queues to service egress by default. To define a basic egress QoS policy, the following are required:
a unique service egress QoS policy ID
a QoS policy scope of template or exclusive
See Queue parameters for information about the parameters that can be configured for a queue.
The 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 SAP if marking is enabled. See the Service egress policies on 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 and the Remark policies for more information about marking behavior and the available options. 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 for all the SAPs defined on the port. See Access egress QoS policies on 7210 SAS-Mxp for more information.
Use either port-based egress queuing and shaping or SAP-based egress queuing and shaping for SAPs configured on access ports or hybrid ports. Using the configure system resource-profile qos port-scheduler-mode command on the 7210 SAS-Mxp or the configure system global-resource-profile qos port-scheduler-mode command on the 7210 SAS-R6 IMM-b and 7210 SAS-R12 IMM-b, select the per-node mode for SAPs configured on the ports.
For Layer 2 SAPs, if remarking is enabled in the SAP egress policy and port-based marking is disabled, the dot1p values configured in the SAP egress policy are used. For Layer 3 SAPs no marking is done.
For Layer 2 SAPs, if remarking and port-based marking are enabled in the SAP egress policy, the dot1p values configured in the SAP egress policy are used. For Layer 3 SAPs, the dot1p and DSCP values configured in the access egress policy are used. The DSCP values configured in the access egress policy are used to mark the IP traffic sent out of Layer 2 SAPs.
If remarking is disabled for the SAP egress policy and port-based marking is enabled, IP DSCP values are marked, including for the traffic egressing the Layer 2 SAPs configured on the port. To avoid this, it is recommended to use only FC-to-dot1p values when both Layer 2 and Layer 3 SAPs are configured on the same access port.
Each queue in a policy is associated with one of the FCs. Each queue can have individual queue parameters allowing individual rate shaping of the FCs mapped to the queue. The FC per service egress packet is determined at ingress. If the packet ingressed the service on the same node, the service ingress classification rules determine the FC of the packet. If the packet is received, the FC is marked in the tunnel transport encapsulation.
The FC-to-queue map is fixed, and the queue priority is determined by the queue number, with the higher queue number having the higher priority. The user can configure a queue to be a strict queue to change the scheduling behavior for that queue. See Schedulers on 7210 SAS-Mxp and Schedulers on 7210 SAS-R6 and 7210 SAS-R12 for more information.
On the 7210 SAS-Mxp, 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 for those that do not have another service egress policy explicitly assigned. The following table lists the characteristics of the default policy.
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 |
|