Interface QoS commands

access

Syntax

access

Context

config>port

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

Commands in this context configure egress and ingress pool policy parameters.

network

Syntax

network

Context

config>port

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

Commands in this context configure egress and ingress pool policy parameters.

uplink

Syntax

uplink

Context

config>port>access

Platforms

7210 SAS-T

Description

Commands in this context configure access pool parameters.

egress

Syntax

egress

Context

config>port>access

config>port>network

config>port>uplink

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

Commands in this context specify the slope policy that is configured in the config>qos>slope-policy context.

ingress

Syntax

ingress

Context

config>port>ethernet>access

Platforms

7210 SAS-Mxp, 77210 SAS-R6, and 7210 SAS-R12.

Description

This command configures Ethernet access ingress port QoS parameters.

pool

Syntax

[no] pool [name]

Context

config>port>access>egress

config>port>network>egress

config>port>access>uplink>egress

Platforms

7210 SAS-T, 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC), and 7210 SAS-Sx 10/100GE

Description

Commands in this context configure the slope policy for the queues associated with this port.

Default

default

Parameters

name

Specifies the pool name, a string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes

slope-policy

Syntax

slope-policy name

no slope-policy

Context

config>port>access>egress>pool

config>port>access>uplink>pool

config>port>network>egress

Platforms

7210 SAS-T, 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC), and 7210 SAS-Sx 10/100GE

Description

Note:

The config>port>access>uplink>pool context is only supported on 7210 SAS platforms operating in the access-uplink mode.

This command specifies an existing slope policy which defines high and low priority RED slope parameters and the time average factor. The policy is defined in the config>qos>slope-policy context.

Parameters

name

Specifies the policy name, a string up to 32 characters.

qos

Syntax

qos policy-id

no qos

Context

config>port>ethernet>access>egress

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command associates a access-egress QoS policy to the access port.

On 7210 SAS-T operating in access uplink mode, this policy is used to enable port-based marking and configuring port-based queue parameters. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide.

On 7210 SAS-T operating in network mode, this policy is used to enable port-based marking and configuring port-based queue parameters. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide.

On 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, when SAP based egress queuing is configured, this policy is to used configure only marking values for packets sent out of access ports. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide and the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide.

On 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, when port-based queues are used on access ports, this policy is used to configure marking values and to configure the port-based queue parameters. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide and the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide.

On 7210 SAS-Sx/S 1/10GE(standalone and standalone-VC) and 7210 SAS-Sx 10/100GE, this policy is used to enable port-based marking and configuring port-based queue parameters. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide.

The no form of this command removes the explicit association of a user configured QoS policy and associates a default QoS policy with the port.

Parameters

policy-id

Specifies an existing QoS policy to be assigned to the port.

Values

1 to 65535

qos

Syntax

qos policy-id

no qos

Context

config>port>ethernet>access>uplink

Platforms

Only supported on 7210 SAS platforms configured in the access-uplink operating mode

Description

This command associates a network QoS policy to the access-uplink port.

On 7210 SAS-T operating in access uplink mode, this policy is used to enable marking on egress and classification and metering/policing on port ingress. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide.

The no form of this command removes the explicit association of a user configured QoS policy and associates a default QoS policy with the port.

Parameters

policy-id

Specifies an existing QoS policy to be assigned to the port.

Values

1 to 65535

qos

Syntax

qos policy-id

no qos

Context

config>port>ethernet>network

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command associates a network QoS policy to a network port.

Parameters

policy-id

Specifies an existing QoS policy to be assigned to the network port.

Values

1, 3 to 65535

queue-override

Syntax

[no] queue-override

Context

config>port>ethernet>access>egress

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

Commands in this context configure override values for the specified queue. These values will override the values specified in the associated access egress QoS policy.

The no form of this command removes all existing queue override commands.

queue

Syntax

[no] queue queue-id [create]

Context

config>port>ethernet>access>egress>queue-override

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

Commands in this context modify the queue parameters associated with a particular queue.

The no form of this command removes the queue override commands for this queue.

Parameters

queue-id

Specifies the ID of the queue.

Values

1 to 8

adaptation-rule

Syntax

adaptation-rule cir {max | min | closest} [pir {max | min | closest}]

no adaptation-rule

Context

config>port>ethernet>access>egress>queue-override>queue

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command overrides the adaptation-rule CIR and PIR values defined in the access egress QoS policy assigned to the port.

This command defines the method used by the system to derive the operational CIR and PIR settings when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to derive the best operational rate depending on the defined constraint.

The no form of this command removes adaptation-rule override parameters on the queue and applies the adaptation-rule defined for the queue in the access egress QoS policy.

Default

no adaptation-rule

Parameters

pir

Specifies the constraints enforced when adapting the PIR defined within the queue queue-id rate command. The pir parameter requires a qualifier that defines the constraint used when deriving the operational PIR for the queue. When the rate command is not specified, the default constraint applies.

cir

Specifies the constraints enforced when adapting the CIR defined within the queue queue-id rate command. The cir parameter requires a qualifier that defines the constraint used when deriving the operational CIR for the queue. When the cir parameter is not specified, the default constraint applies.

max | min | closest

Specifies the criteria to use to compute the operational CIR and PIR values for this queue, while maintaining a minimum offset.

Values

max — The max (maximum) option is mutually exclusive with the min and closest options. The hardware step size varies with the configured rate.

min — The min (minimum) option is mutually exclusive with the max and closest options. The hardware step size varies with the configured rate.

closest — The closest parameter is mutually exclusive with the min and max parameter. The hardware step size varies with the configured rate.

percent-rate

Syntax

percent-rate [cir cir-percent] [pir pir-percent]

no percent-rate

Context

config>port>ethernet>access>egress>queue-override>queue

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command overrides the percent-rate or rate CIR and PIR values defined in the access egress QoS policy assigned to the port.

The percent-rate command enables support for configuring a queue PIR and CIR as a percentage of the egress port line rate (that is, the port limit). When the rates are expressed as a port limit, the actual rates used per instance of the queue will vary based on the port speed or the configured port egress rate. For example, when the same QoS policy is used on a 1 Gigabit and a 10 Gigabit Ethernet port, the queue rates will be 10 times greater on the 10 Gigabit port because of the difference in port speeds.

If the port speed changes after the queue is created, the queue PIR and CIR will be recalculated based on the defined percentage value.

The rate and percent-rate commands override one another. If the current rate for a queue is defined using the percent-rate command and the rate command is executed, the percent-rate values are deleted. Similarly, the percent-rate command causes any rate command values to be deleted. A queue rate may dynamically be changed back and forth from a percentage to an explicit rate at anytime.

The no form of this command, when defined within an egress queue-override command, reverts to the defined PIR and CIR within the access egress QoS policy associated with the queue.

Default

no percent-rate

Parameters

cir cir-percent

Specifies the queue CIR as a percentage that is dependent on the use of the port-limit.

Values

0.00 to 100.00

Default

0.00

pir pir-percent

Specifies the queue PIR as a percentage that is dependent on the use of the port-limit.

Values

0.01 to 100.00

Default

100.00

queue-mgmt

Syntax

queue-mgmt name

no queue-mgmt

Context

config>port>ethernet>access>egress>queue-override>queue

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command overrides the queue management policy defined in the access egress QoS policy assigned to the port.

This command associates the specified queue management policy with this queue.

The queue management policy specifies the queue buffer parameters and queue slope policy parameters.

The no form of this command associates the queue management policy for this queue as defined in the access egress QoS policy.

Default

no queue-mgmt

Parameters

name

Specifies the name of the queue management policy, up to 32 characters.

queue-mode

Syntax

queue-mode queue-mode

no queue-mode

Context

config>port>ethernet>access>egress>queue-override>queue

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command overrides the queue mode defined in the access egress QoS policy assigned to the port.

This command determines whether the queue operates in strict or weighted mode.

The no form of this command associates the queue-mode for this queue as defined in access egress QoS policy.

Default

no queue-mode

Parameters

queue-mode

Specifies the queue mode.

Values

strict: Setting the queue mode to strict mode influences the CIR loop and the PIR loop. In both the CIR loop and the PIR loop, the scheduler schedules the queues in the order of their priority (that is, the weights are disregarded).

weighted: Setting the queue mode to weighted mode influences the CIR loop and the PIR loop as follows.

  • In the CIR loop, the scheduler distributes the available bandwidth to all the strict and then to all the weighted queues in round-robin fashion, up to the configured CIR rate.

  • In the PIR loop, after examining all the strict queues, the scheduler examines the weighted queues and distributes the available bandwidth, if any, in the proportion of the configured weights.

rate

Syntax

rate [cir cir-rate] [pir pir-rate]

no rate

Context

config>port>ethernet>access>egress>queue-override>queue

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command overrides the CIR and PIR values defined in the access egress QoS policy assigned to the port.

This command defines the administrative PIR and the administrative CIR parameters for the queue. The PIR defines the maximum rate at which the queue can transmit packets through the port. Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate. The actual rate sustained by the queue can be limited by oversubscription factors or available egress bandwidth. The CIR defines the rate at which the system prioritizes the queue over other queues competing for the same bandwidth.

The rate command can be executed at anytime, altering the PIR and CIR for all queues created on the access ports.

The rate and percent-rate commands override one another. If the current rate for a queue is defined using the percent-rate command and the rate command is executed, the percent-rate values are deleted. Similarly, the percent-rate command causes any rate command values to be deleted. A queue rate may dynamically be changed back and forth from a percentage to an explicit rate at anytime.

The no form of this command removes the percent-rate parameter and applies the rate or percent-rate as specified for the queue in access egress QoS policy.

Default

no rate

Parameters

cir cir-rate

Specifies that the cir parameter overrides the default administrative CIR used by the queue. If the rate command is not executed or the cir parameter is not explicitly specified, the default CIR value is used.

Values

0 to 100000000, max

Default

0

pir pir-rate

Specifies the administrative PIR rate, in kilobits, for the queue. When the rate command is executed, a PIR setting is optional. If the rate command is not executed, the default PIR of maximum value is used.

Values

0 to 100000000, max

Default

max — The max keyword implies the maximum port Ethernet speed or the egress-port rate.

weight

Syntax

weight weight

no weight

Context

config>port>ethernet>access>egress>queue-override>queue

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command overrides the weight defined in the access egress QoS policy assigned to the port.

For queues configured with queue-mode in weighted mode, weight values are considered only in the PIR loop. That is, in the CIR loop the CIR of the queues are met if bandwidth is available, and in the PIR loop the configured weight values determine the proportion of available bandwidth allocated to this queue relative to other queues configured in weighted mode.

The no form of this command removes the configured queue-override weight value and applies the weight value as defined in access-egress QoS policy for that queue.

Default

no weight

Parameters

weight

Specifies the weight value. The value is an integer that specifies the proportion of available bandwidth to be allocated to this queue relative to other queues.

Values

1 to 15

dot1p-classification

Syntax

dot1p-classification policy-id

no dot1p-classification

Context

config>port>ethernet>access>ingress

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command associates a dot1p classification policy with an Ethernet port.

The dot1p classification policy is applicable only when table-based classification is enabled on the access port. It is used to classify only bridged packets received on this port and processed in the context of an RVPLS service with a SAP configured on this port. The dot1p classification policy defines the mapping of IP dot1p values to forwarding class (FC) and profile (in-profile or out-profile).

The no form of this command removes the dot1p classification policy from its association with the Ethernet port.

Default

no dot1p-classification

Parameters

policy-id

Specifies the policy ID.

Values

1 to 65535

dscp-classification

Syntax

dscp-classification policy-id

no dscp-classification

Context

config>port>ethernet>access>ingress

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command associates a DSCP classification policy with an Ethernet port.

The DSCP classification policy is applicable only when table-based classification is enabled on the access port. It is used to classify only bridged packets received on this port and processed in the context of an RVPLS service with a SAP configured on this port. The DSCP classification policy defines the mapping of IP DSCP values to forwarding class (FC) and profile (in-profile or out-profile).

The no form of this command removes the DSCP classification policy from its association with the Ethernet port.

Default

no dscp-classification

Parameters

policy-id

Specifies the policy ID.

Values

1 to 65535

untagged-fc

Syntax

untagged-fc fc

no untagged-fc

Context

config>port>ethernet>access>ingress

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command assigns a default FC and profile to non-IP Ethernet packets received on this port and processed in the context of an RVPLS service that has a SAP configured on this port.

Non-IP tagged and untagged packets are assigned the untagged-fc fc because they do not have a DSCP field available to match in the DSCP classification policy.

Note:

All tagged bridged non-IP packets received on this port are processed in the context of an RVPLS service with a SAP configured on this port. FC is assigned as per the value configured using this command and profile is assigned using the DEI bit in the packet. Untagged bridged traffic will also match the untagged-fc fc and are treated as out of profile.

The no form of this command reverts the assigned FC to the default value.

Default

be

Parameters

fc

Specifies the fc value.

Values

be | l2 | af | l1 | h2 | ef | h1 | nc

Default

be

qos

Syntax

qos policy-id

no qos

Context

config>port>ethernet>access>ingress

Platforms

7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), and 7210 SAS-Sx 10/100GE (standalone)

Description

This command associates an access ingress policy with an access port configured to use the port-mode option in the configure port ethernet access-ingress-qos-mode command.

The qos command is ignored if the configure port ethernet access-ingress-qos-mode command is configured to use the sap-mode option.

The no form of this command reverts to the default value.

Default

qos 1

Parameters

policy-id

Specifies the access ingress QoS policy ID.

Values

1 to 65535