This section provides information to configure Access Egress QoS policies using the command line interface.
On 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12, the 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. Use the configure system resource-profile qos port-scheduler-mode command on the 7210 SAS-Mxp and the configure system global-res-profile qos port-scheduler-mode command on the 7210 SAS-R6 and 7210 SAS-R12 to select the mode to be used for SAPs configured on all the ports of the node (in other words, this is a per node setting).
On 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12, an access egress policy allows user to define the marking values for the traffic sent out of the access ports towards the customer. Access egress QoS policies map forwarding class flows to marking values to use. In addition, based on the queuing mode used on access egress, it also defines the per port queue parameters.
The 7210 SAS-Mxp, 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 Layer 2 SAPs, that is, SAPs configured in Epipe and VPLS service. If user enables remarking in the SAP egress policy attached to the SAP, the remark policy configured is used to mark the packets sent out of the SAP. If remarking is disabled in the SAP egress policy attached to the SAP, remark policy configured under the access-egress policy associated with the egress access port is used to mark all packets sent out of the Layer 2 SAP configured on the access port. This is known as port-based marking.
Port-based marking is supported primarily for Layer 3 SAPs (that is, SAPs configured in VPRN services and IES services). In other words, SAP-based marking is not supported for Layer 3 SAPs.
On 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12, no explicit CLI command is provided to choose between port-based marking and SAP-based marking for Layer 2 SAPs. The user can choose SAP-based marking by enabling remarking in the SAP egress policy attached to the Layer 2 SAP or choose 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 on which the Layer 2 SAP is configured.
A remarking policy can be defined for each access egress policy and remarking is disabled by default. Only remarking policy of 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:
|
In addition to marking values, the access egress QoS policy provides an option to define port-based queues and scheduling when per port queues are used for SAPs configured on access ports.
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. Use the configure system resource-profile qos port-scheduler-mode command on 7210 SAS-Mxp or the configure system global-res-profile qos port-scheduler-mode on the 7210 SAS-R6 and 7210 SAS-R12 to select the mode to be used for SAPs configured on all the ports of the node. When port-scheduler-mode is enabled, software uses 8 egress queues per access port and all the SAPs configured on the port will share the 8 egress queues for traffic sent out of that port. In this mode, SAPs configured on hybrid port shares the egress queues with network port traffic. Enabling port-scheduler-mode affects the behavior for all the SAPs configured on either access or hybrid port. That is, port-based egress queues is mutually exclusive to use of SAP-based egress queues. When port-scheduler-mode is enabled, per port egress queues are defined using the access egress policies.
Additionally, the marking values used to mark traffic from different forwarding classes is defined by the remark policy in the access egress policy. In other words, 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 remarking policy of 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:
|
Access egress QoS policies define egress queues and map forwarding class flows to queues, if port-scheduler-mode is enabled. In port-scheduler-mode, the system allocates 8 queues to access port egress by default. To define a basic access egress QoS policy, the following are required:
The parameters that can be configured for a queue are discussed in Queue parameters.
Optional service egress QoS policy elements include:
When port-based queuing is used, the FC to queue map is fixed and the queues priority is determined by the queue number, with 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.
The following is a sample configuration output showing a default access-egress policy for the 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12.
The following QoS policy queue parameters can be overridden using the configure>port>ethernet>access>egress>queue-override command. For command description details, refer to the Port Ethernet QoS Commands section in the 7210 SAS-Mxp, R6, R12, S, Sx, T Interface Configuration Guide:
Refer to “Port Ethernet QoS Commands” in the 7210 SAS-Mxp, R6, R12, S, Sx, T Interface Configuration Guide for more information about the queue-override command.
A basic access egress QoS policy must conform to the following:
The following is a sample port-scheduler-mode policy configuration output for the 7210 SAS-R6 and 7210 SAS-R12.
Apply access egress policies to the following entities:
A policy can be applied to the ports that are in access mode.
Use the following syntax to apply an access-egress policy to an Ethernet port.
The following is a sample port configuration output for 7210 SAS-R6 and 7210 SAS-R12.
Existing policies and entries can be edited through the CLI or NMS. The changes are applied immediately to all services where the policy is applicable.
To prevent configuration errors perform the following:
Every access Ethernet port is associated, by default, with the default access egress policy (policy-id 1). You can replace the default policy with a customer-configured policy, but you cannot entirely remove the policy from the port configuration. When you remove a non-default access egress policy, the association reverts to the default policy-id 1.
A QoS policy cannot be deleted until it is removed from all access ports where they are applied.