9.2. Access Egress QoS Policy Command Reference

9.2.1. Command Hierarchies

9.2.1.1. Configuration Commands for 7210 SAS-M (Access-uplink Mode)

config
— qos
access-egress policy-id [create]
— no access-egress policy-id
description description-string
fc fc-name [create]
— no fc fc-name
[no] de-mark [force de-value]
dot1p dot1p-priority
— no dot1p
dot1p-in-profile dot1p-value
dot1p-out-profile dot1p-value
dscp-in-profile dscp-name
dscp-out-profile dscp-name
queue queue-id
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
rate cir cir-rate [pir pir-rate]
— no rate
remarking {use-dot1p | use-dscp | all}
— no remarking
scope {exclusive | template}
— no scope

9.2.1.2. Configuration Commands for7210 SAS-M (Network Mode)

config
— qos
access-egress policy-id [create]
— no access-egress policy-id
description description-string
fc fc-name [create]
— no fc fc-name
[no] de-mark [force de-value]
dot1p dot1p-priority
— no dot1p
dot1p-in-profile dot1p-value
dot1p-out-profile dot1p-value
dscp-in-profile dscp-name
dscp-out-profile dscp-name
queue queue-id
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
rate cir cir-rate [pir pir-rate]
— no rate
remarking {use-dot1p | use-dscp | all}
— no remarking
scope {exclusive | template}
— no scope

9.2.1.3. Configuration Commands for 7210 SAS-T (Access-uplink Mode)

config
— qos
access-egress policy-id [create]
— no access-egress policy-id
description description-string
fc fc-name [create]
— no fc fc-name
[no] de-mark [force de-value]
dot1p dot1p-priority
— no dot1p
dot1p-in-profile dot1p-value
dot1p-out-profile dot1p-value
dscp-in-profile dscp-name
dscp-out-profile dscp-name
queue queue-id
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
rate cir cir-rate [pir pir-rate]
— no rate
remarking {use-dot1p | use-dscp | all}
— no remarking
scope {exclusive | template}
— no scope

9.2.1.4. Configuration Commands for 7210 SAS-T,7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE (Network Mode)

config
— qos
access-egress policy-id [create]
— no access-egress policy-id
description description-string
queue queue-id
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
rate cir cir-rate [pir pir-rate]
— no rate
remark policy-id
— no remark
— no remarking
scope {exclusive | template}
— no scope

9.2.1.5. Operational Commands

— config
— qos
copy sap-ingress src-pol dst-pol overwrite

9.2.1.6. Show Commands

show
— qos
access-egress [policy-id] [association| detail]

9.2.2. Configuration Commands

9.2.2.1. Generic Commands

description

Syntax 
description description-string
no description
Context 
config>qos>access-egress
Supported Platforms 

7210 SAS-M (in access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, and 7210 SAS-Sx 10/100GE

Description 

This command creates a text description stored in the configuration file for a configuration context.

The description command associates a text string with a configuration context to help identify the context in the configuration file.

The no form of this command removes any description string from the context.

Parameters 
description-string—
Specifies a text string describing the entity. Allowed values are any string up to 80 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.

access-egress

Syntax 
access-egress policy-id [create]
no access-egress policy-id
Context 
config>qos
Supported Platforms 

7210 SAS-M (in access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes),7210 SAS-Sx/S 1/10GE (standalone and standalone-VC), and 7210 SAS-Sx 10/100GE

Description 

This command enables the context to create or edit an access egress QoS policy. The policy can be applied to multiple access ports. The access egress policy is common to services (SAPs) that are all egressing on a particular port.

Any changes made to an existing policy are applied to all access ports on which the policy is specified.

The remarking parameters and queue parameters are used when port-based queuing is configured

This command is used to create or edit a access egress QoS policy. The egress policy defines the queue parameters (CIR/PIR) for each of the forwarding class traffic as they egress on the access port. Policies in effect are templates that can be applied to multiple access ports as long as the scope of the policy is template. There are 8 queues always available per port for which parameters are configurable.

Parameters 
policy-id—
Specifies the value that uniquely identifies the access-egress policy.
Values—
1 to 65535

 

create—
Keyword to create an access-egress policy. The create keyword requirement can be enabled or disabled in the environment>create context.

fc

Syntax 
fc fc-name [create]
no fc fc-name
Context 
config>qos>access-egress
Supported Platforms 

7210 SAS-M (in access-uplink and network modes) and 7210 SAS-T (access-uplink mode)

Description 

This command defines the fc node within the access egress QoS policy is used to contain the explicitly defined dot1p marking commands for the fc-name.

Note:

When the mapping for the fc-name and marking value is not defined, the node for fc-name is not displayed in the show configuration or save configuration output.

The no form of this command removes the explicit dot1p marking commands for the fc-name.

Parameters 
fc-name —
Specifies the forwarding class for which dot1p marking is to be edited. The value given for fc-name must be one of the predefined forwarding classes in the system.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

create—
Keyword to create an access-egress policy. The create keyword requirement can be enabled or disabled in the environment>create context.

de-mark

Syntax 
[no] de-mark [force de-value]
Context 
config>qos>access-egress>fc
Supported Platforms 

7210 SAS-M (access-uplink mode and network mode), and 7210 SAS-T (access-uplink mode)

Description 

This command explicitly defines the marking of the DEI bit for fc fc-name according to the in and out of profile status of the packet (fc-name may be used to identify the dot1p-value).

If no de-value is present, the default values are used for the marking of the DEI bit: for example, 0 for in-profile packets, 1 for out-of-profile ones – see IEEE 802.1ad-2005 standard.

If the de-value is specifically mentioned in the command line it means this value is to be used for all the packets of this forwarding class regardless of their in/out of profile status.

Parameters 
de-value—
Specifies the DEI value to use for this forwarding class.
Values—
0 or 1

 

dot1p

Syntax 
[no] dot1p dot1p-value
Context 
config>qos>access-egress>fc
Supported Platforms 

7210 SAS-M (access-uplink mode and network mode) and 7210 SAS-T (access-uplink mode)

Description 

This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets of fc-name that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined dot1p-value. If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, the dot1p command has no effect.

DEI marking can be enabled using the de-mark command along with this command for the command to take effect. When the de-mark command is configured along with this command, the DEI bit is marked in the packet to indicate the profile of the packet. The DEI bit is marked to 0 to indicate in-profile/green packet and 1 to indicate out-of-profile/yellow packet. If the force de-value parameter is specified then the DEI bit is set to specified value for all packets.

If the no form of this command is executed then software will use the dot1p-in-profile and dot1p-out-profile if configured, else it will use default values.

Note:

The following rules are applied by software to determine the Dot1p values to when both dot1p command and dot1p-in-profile and dot1p-out-profile command is specified:

  1. If de-mark is not configured, then dot1p [in | out]-profile values are considered. Even if dot1p value is configured, it is configured it is ignored and if ‘dot1p [in | out]-profile’ value is not configured then default values are considered for that FC.
  2. If de-mark is configured and if dot1p value is configured then it is considered. Else if ‘dot1p [in | out]-profile’ value is configured it is considered. In this case, dot1p value, has the precedence over ‘dot1p [in | out]-profile’.
Default 

no dot1p

Parameters 
dot1p-value—
Specifies the 802.1p value to set for in-profile frames in this forwarding class.
Values—
0 to 7

 

dot1p-in-profile

Syntax 
dot1p-in-profile dot1p-priority
no dot1p-in-profile
Context 
config>qos>>access-egress>fc
Supported Platforms 

7210 SAS-M (access-uplink mode and network mode) and 7210 SAS-T (access-uplink mode)

Description 

The command will add the capability to mark on an egress the in and out of profile status via a certain dot1p combination, similarly with the DEI options. It may be used when the internal in and out of profile status needs to be communicated to an adjacent network/customer device that does not support the DEI bit.

This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets with in-profile status (or green color) of fc-name that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined dot1p-value. If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, the dot1p command has no effect.

If DEI marking is enabled using the de-mark command and the command ‘dot1p dot1p-value’ is used to configure the dot1p value, then this command has no effect. In other words, enabling DEI marking has precedence over this command and the system ignores this command.

When this command is used the DEI Bit is left unchanged by the egress processing if a tag exists. If a new tag is added, the related DEI bit is set to 0.

The no form of this command sets the IEEE 802.1P or IEEE 802.1Q priority bits to 0.

Note:

The following rules are applied by software to determine the Dot1p values to when both dot1p command and dot1p-in-profile and dot1p-out-profile command is specified:

  1. If de-mark is not configured, then dot1p [in|out]-profile values are considered. Even if `dot1p <val>' command is configured it is ignored and if `dot1p [in|out]-profile' value is not configured then default values are considered for that FC.
  2. If de-mark is configured and if `dot1p <value>' command is configured then it is considered. Else if `dot1p [in|out]-profile' value is configured it is considered. In this case `dot1p <val>' has the precedence over `dot1p [in|out]-profile'.
  3. If marking is enabled and both dot1p <val> and dot1-[in|out]-profile commands are not specified, then the default values for default.
Default 

0

Parameters 
dot1p-priority—
Specifies the 802.1p value to set for in-profile frames in this forwarding class.
Values—
0 to 7

 

dot1p-out-profile

Syntax 
dot1p-out-profile dot1p-priority
no dot1p-out-profile
Context 
config>qos>access-egress>fc
Supported Platforms 

7210 SAS-M (access-uplink mode and network mode) and 7210 SAS-T (access-uplink mode)

Description 

The command will add the capability to mark on an egress the in and out of profile status via a certain dot1p combination, similarly with the DEI options. It may be used when the internal in and out of profile status needs to be communicated to an adjacent network/customer device that does not support the DEI bit.

This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets with out-of-profile status (or yellow color) of fc-name that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined dot1p-value. If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, the dot1p command has no effect.

If DEI marking is enabled using the de-mark command and the dot1p-value is configured, then this command has no effect. In other words, enabling DEI marking has precedence over this command and the system ignores this command.

When this command is used the DEI Bit is left unchanged by the egress processing if a tag exists. If a new tag is added, the related DEI bit is set to 0.

The no form of this command sets the IEEE 802.1P or IEEE 802.1Q priority bits to 0.

Note:

The following rules are applied by software to determine the Dot1p values to when both dot1p command and dot1p-in-profile and dot1p-out-profile command is specified:

  1. If de-mark is not configured, then dot1p [in|out]-profile values are considered. Even if `dot1p <val>' command is configured it is ignored and if `dot1p [in|out]-profile' value is not configured then default values are considered for that FC.
  2. If de-mark is configured and if `dot1p <value>' command is configured then it is considered. Else if `dot1p [in|out]-profile' value is configured it is considered. In this case `dot1p <val>', has the precedence over `dot1p [in|out]-profile'.
  3. If marking is enabled and both dot1p <val> and dot1-[in|out]-profile commands are not specified, then the default values for default.
Default 

0

Parameters 
dot1p-priority—
Specifies the 802.1p value to set for in-profile frames in this forwarding class.
Values—
0 to 7

 

dscp-out-profile

Syntax 
dscp-out-profile dscp-name
no dscp-out-profile
Context 
config>qos>access-egress>fc
Supported Platforms 

7210 SAS-M (in access-uplink and network modes) and 7210 SAS-T (in access-uplink mode and network).

Description 

This command specifies the out-of-profile DSCP name for the forwarding class. When marking is set, the corresponding DSCP value is used to mark all IP packets with out-of-profile status, on the egress of this forwarding class queue.

When multiple DSCP names are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.

The no form of this command reverts to the factory default out-of-profile dscp-name.

Parameters 
dscp-name—
Specifies the DSCP name.
Values—
be, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cs1, cp9, af11, cp11, af12, cp13, af13, cp15, cs2, cp17, af21, cp19, af22, cp21, af23, cp23, cs3, cp25, af31, cp27, af32, cp29, af33, cp31, cs4, cp33, af41, cp35, af42, cp37, af43, cp39, cs5, cp41, cp42, cp43, cp44, cp45, ef, cp47, nc1, cp49, cp50, cp51, cp52, cp53, cp54, cp55, nc2, cp57, cp58, cp59, cp60, cp61, cp62, cp63

 

dscp-in-profile

Syntax 
dscp-in-profile dscp-name
no dscp-in-profile
Context 
config>qos>access-egress>fc
Supported Platforms 

7210 SAS-M (in access-uplink and network modes) and 7210 SAS-T (access-uplink mode)

Description 

This command specifies the in-profile DSCP name for the forwarding class. When marking is set, the corresponding DSCP value is used to mark all IP packets with out-of-profile status, on the egress of this forwarding class queue.

When multiple DSCP names are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.

The no form of this command reverts to the factory default in-profile dscp-name.

Parameters 
dscp-name—
Specifies the DSCP name.
Values—
be, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cs1, cp9, af11, cp11, af12, cp13, af13, cp15, cs2, cp17, af21, cp19, af22, cp21, af23, cp23, cs3, cp25, af31, cp27, af32, cp29, af33, cp31, cs4, cp33, af41, cp35, af42, cp37, af43, cp39, cs5, cp41, cp42, cp43, cp44, cp45, ef, cp47, nc1, cp49, cp50, cp51, cp52, cp53, cp54, cp55, nc2, cp57, cp58, cp59, cp60, cp61, cp62, cp63

 

queue

Syntax 
queue queue-id
Context 
config>qos>access-egress
Supported Platforms 

7210 SAS-M (access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC), and 7210 SAS-Sx 10/100GE

Description 

This command creates the context to modify queue parameters associated with a particular queue. The queue is identifiable by queue ID and FCs are mapped into the queues. See Forwarding Class to Queue-ID Map for 7210 SAS-M, 7210 SAS-T, and 7210 SAS-Mxp and Forwarding Class-to-Queue ID Map for 7210 SAS-Sx/S 1/10GE and 7210 SAS-Sx 10/100GE for more information.

Parameters 
queue-id—
Values—
1 to 8

 

remarking

Syntax 
remarking {use-dot1p|use-dscp|all}
no remarking
Context 
config>qos>network>egress
Supported Platforms 

7210 SAS-M (access-uplink mode) and 7210 SAS-T (access-uplink mode)

Description 

This command enables the system to remark egress packets sent out of access ports. The user can specify if dot1p or dscp or both dot1p and dscp to be used for marking the packets sent out of the port.

When 7210 is operated in access-uplink mode, marking support is available as given below:

  1. On access port egress, the behavior is as follows:
    1. If the use-dot1p keyword is configured in the access-egress policy, then the dot1p bits are marked in the packet header for all traffic sent out of all SAPs configured on that access port.
    2. If the use-dscp keyword is configured in the access-egress policy, then the IP DSCP bits are marked in the packet header for IPv4 traffic sent out of all SAPs configured on that access port.
      Note:

      DSCP marking also marks the IPv4 packets associated with SAPs configured in an Layer 2 VPN service. If this is not required, to avoid this it is recommended to use only dot1p marking on access ports.

    3. If the all keyword is configured is configured in the access-egress policy, then the Dot1p bits are marked in the packet header for all traffic (Layer 2 and IPv4) sent out of all SAPs and the IP DSCP bits are marked in the packet header for all IPv4 traffic sent out of all SAPs configured on that access port.
      Note:

      1. DSCP marking also marks the packets associated with SAPs configured in an Layer 2 VPN service. If this is not required, to avoid this it is recommended to use only dot1p marking on access ports.
      2. If remarking is enabled in access-egress policy, by default use-dot1p is used. If no marking values are specified, then the default FC to Dot1p marking values are used.

The no form of this command disables remarking.

Default 

no remarking

remarking

Syntax 
remarking {use-dot1p|use-dscp|all}
no remarking
Context 
config>qos>access-egress
Supported Platforms 

7210 SAS-M (network mode)

Description 

This command enables the system to remark egress packets sent out of access ports. The user can specify if dot1p or dscp or both dot1p and dscp are to be used for marking the packets sent out of the port.

When 7210 SAS-M is operated in network mode, marking support is available as given below:

  1. On access port egress, the behavior is as follows:
    1. If the use-dot1p keyword is configured in the access-egress policy, then the dot1p bits are marked in the packet header for all traffic sent out of both Layer 2 SAPs and Layer 3 SAPs configured on that access port.
    2. If the use-dscp keyword is configured in the access-egress policy, then the IP DSCP bits are marked in the packet header for IPv4 traffic sent out of both Layer 2 and Layer 3 SAPs configured on that access port.
      Note:

      DSCP marking also marks the IPv4 packets associated with SAPs configured in an Layer 2 VPN service. To avoid this it is recommended to use only dot1p marking on access ports, when SAPs belonging to both Layer 3 services and Layer 2 VPN services are configured on the port.

    3. If the all keyword is configured is configured in the access-egress policy, then the dot1p bits are marked in the packet header for all traffic (Layer 2 and IPv4) sent out of both Layer 2 and Layer 3 SAPs and the IP DSCP bits are marked in the packet header for all IPv4 traffic sent out of both Layer 2 and Layer 3 SAPs configured on that access port.
      Note:

      1. DSCP marking also marks the packets associated with SAPs configured in an Layer 2 VPN service. To avoid this it is recommended to use only dot1p marking on access ports, when SAPs belonging to both Layer 3 services and Layer 2 VPN services are configured on the port.
      2. If remarking is enabled in access-egress policy, by default 'use-dot1p' is used. If no marking values are specified, then the default FC to dot1p marking values are used.

The no form of this command disables remarking.

Default 

no remarking

remark

Syntax 
remark policy-id
no remark
Context 
config>qos>access-egress
Supported Platforms 

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

Description 

This command specifies the remarking policy ID to use for marking packets on access egress (also known as, access port egress).

The remarking policy ID must be associated with the appropriate access egress policy and remarking must be enabled in the access egress policy to enable marking of packets sent out of all SAPs configured on the access port.

Only remarking policy of type dot1p, dscp, or dot1p-dscp is allowed to be used when the remark policy is associated with access-egress. See Summary of Remark Policy and Attachment Points for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE (Network Mode) and Summary of Remark Policy and Attachment Points for 7210 SAS-Mxp, for different remark policies supported on the node and its use.

The no form of this command removes the explicit association of the remark policy and associates the default remark policy. In other words, if remarking is enabled and no remark policy is executed, then the default remark policy is used to mark packets sent out. If no remark policy is executed and remarking is disabled, packets are not remarked.

Parameters 
policy-id—
Specifies the remark policy.
Values—
1 to 65535

 

remarking

Syntax 
no remarking
remarking
Context 
config>qos>access-egress
Supported Platforms 

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

Description 

This command enables the system to remark egress packets sent out of access ports.

When remarking is enabled, the remark policy configured in the QoS policy context is used to determine the FC to QoS bit mapping. For example, when remarking is enabled in the access-egress QoS policy, the remark policy associated with access-egress QoS policy is used to determine the FC to dot1p mapping to use for marking packets sent out of access ports.

See Remark Policies for the remark policy that can be used to configure FC to priority bit markings in different QoS policies associated with different service entities. For more information, see Summary of Remark Policy and Attachment Points for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE (Network Mode) and Summary of Remark Policy and Attachment Points for 7210 SAS-Mxp

The no form of this command disables remarking.

Default 

no remarking

9.2.2.2. Access Egress Queue QoS Policy Commands

adaptation-rule

Syntax 
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
no adaptation-rule
Context 
config>qos>access-egress>queue
Supported Platforms 

7210 SAS-M (access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, and 7210 SAS-Sx 10/100GE

Description 

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

The no form of this command removes any explicitly defined constraints used to derive the operational CIR and PIR created by the application of the policy. When a specific adaptation-rule is removed, the default constraints for cir and pir apply.

Default 

adaptation-rule pir closest cir closest

Parameters 
cir adaptation-rule—
Specifies the adaptation rule and defines the constraints enforced when adapting the CIR rate defined using the queue queue-id rate command. The cir parameter requires a qualifier that defines the constraint used to derive the operational CIR rate for the queue. When the cir parameter is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive. See Table 28 for information about supported hardware step-size rates.
Default—
closest
Values—
max — Specifies that the operational CIR value is less than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
min — Specifies that the operational CIR value is greater than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
closest — Specifies that the operational CIR value is equal to the closest specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

 

pir adaptation-rule—
Specifies the adaptation rule and defines the constraints enforced when adapting the PIR rate defined using the queue queue-id rate command. The pir parameter requires a qualifier that defines the constraint used when deriving the operational PIR rate for the queue. When the pir command is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive. See Table 28 for information about supported hardware step-size rates.
Default—
closest
Values—
max — Specifies that the operational PIR value is less than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
min — Specifies that the operational PIR value is greater than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
closest — Specifies that the operational PIR value is equal to the closest specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

 

rate

Syntax 
rate cir cir-rate [pir pir-rate]
no rate
Context 
config>qos>access-egress>queue
Supported Platforms 

7210 SAS-M (access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC), and 7210 SAS-Sx 10/100GE

Description 

This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue. The PIR defines the maximum rate that 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 rates for all queues created on the access ports.

The no form of this command reverts all queues created with the queue ID by association with the QoS policy to the default PIR (max) and CIR (0) parameters.

Parameters 
cir cir-rate—
Specifies the administrative CIR rate, in kilobits, for the queue. The cir parameter overrides the default administrative CIR used by the queue. When the rate command is executed, a valid CIR setting must be explicitly defined. When the rate command has not been executed or the cir parameter is not explicitly specified, the default CIR (0) is assumed.

Fractional values are not allowed and must be given as a positive integer.

Values—
0 to 1000000, max (For devices with only 1G ports)
0 to 10000000, max (For devices with both 1G and 10G ports)

 

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. When the rate command has not been executed, the default PIR of max is assumed.

Fractional values are not allowed and must be given as a positive integer.

The actual PIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned.

Values—
0 to 1000000, max (For devices with only 1G ports)
0 to 10000000, max (For devices with both 1G and 10G ports)

 

Default—
max

scope

Syntax 
scope {exclusive | template}
no scope
Context 
config>qos>access-egress
Supported Platforms 

7210 SAS-M (access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, and 7210 SAS-Sx 10/100GE

Description 

This command configures the scope as exclusive or template. The policy’s scope cannot be changed if the policy is applied to multiple ports.

The no form of this command reverts the scope of the policy to the default.

Default 

template

Parameters 
exclusive—
Specifies that the policy can only be applied to one interface port. If a policy with an exclusive scope is assigned to a second interface an error message is generated. If the policy is removed from the exclusive interface, it will become available for assignment to another exclusive interface. The system default policies cannot be put into the exclusive scope. An error will be generated if scope exclusive is executed in any policies with a policy ID equal to 1.
template—
Specifies that the policy can be applied to multiple ports on the router.

9.2.2.3. Operational Commands

copy

Syntax 
copy sap-ingress src-pol dst-pol [overwrite]
Context 
config>qos
Supported Platforms 

7210 SAS-M (access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE

Description 

This command copies existing QoS policy entries for a QoS policy ID to another QoS policy ID.

The copy command is a configuration level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the overwrite keyword.

Parameters 
sap-ingress src-pol dst-pol
Specifies the source policy ID that the copy command will attempt to copy from and specify the destination policy ID to which the command will copy a duplicate of the policy. Indicates that the source policy ID and the destination policy ID are SAP ingress policy IDs.
Values—
1 to 65535

 

overwrite—
Keyword to replace the existing destination policy. Everything in the existing destination policy will be overwritten with the contents of the source policy. If overwrite is not specified, an error will occur if the destination policy ID exists.

9.2.2.4. Show Commands

access-egress

Syntax 
access-egress [policy-id] [association | detail]
Context 
show>qos
Supported Platforms 

7210 SAS-M (access-uplink and network modes), 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, and 7210 SAS-Sx 10/100GE

Description 

This command displays access egress QoS policy information.

Parameters 
policy-id —
Displays the policy id of the access-egress policy.
association—
Displays associations related to the specified access-egress policy.
detail—
Displays detailed policy information including the policy associations.
Output 

The following output is an example of access egress QoS policy information, and Table 60 describes the output fields.

Sample Output
A:Dut-A>show>qos# access-egress
 
===============================================================================
Access Egress Policies
===============================================================================
Policy-Id            Scope     Description
-------------------------------------------------------------------------------
1                    Template  Default Access egress QoS policy.
===============================================================================
A:Dut-A>show>qos#
A:Dut-A>show>qos# access-egress 1 detail
 
===============================================================================
QoS Access Egress
===============================================================================
-------------------------------------------------------------------------------
Policy-id      : 1                            Scope        : Template
Remark         : False                        Remark Pol Id: 2
Description    : Default Access egress QoS policy.
-------------------------------------------------------------------------------
Queue Rates and Rules
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        CIR          CIR Adpt Rule        PIR          PIR Adpt Rule
-------------------------------------------------------------------------------
Queue1          0              closest            max            closest
Queue2          0              closest            max            closest
Queue3          0              closest            max            closest
Queue4          0              closest            max            closest
Queue5          0              closest            max            closest
Queue6          0              closest            max            closest
Queue7          0              closest            max            closest
Queue8          0              closest            max            closest
-------------------------------------------------------------------------------
Queue Mode and Weight Details
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId           Mode                      Weight
-------------------------------------------------------------------------------
Queue1            weighted                   1
Queue2            weighted                   1
Queue3            weighted                   1
Queue4            weighted                   1
Queue5            weighted                   1
Queue6            weighted                   1
Queue7            weighted                   1
Queue8            weighted                   1
-------------------------------------------------------------------------------
High Slope
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        State      Start-Avg(%)   Max-Avg(%)   Max-Prob(%)
-------------------------------------------------------------------------------
Queue1          Down            70           90            75
Queue2          Down            70           90            75
Queue3          Down            70           90            75
Queue4          Down            70           90            75
Queue5          Down            70           90            75
Queue6          Down            70           90            75
Queue7          Down            70           90            75
Queue8          Down            70           90            75
-------------------------------------------------------------------------------
Low Slope
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        State      Start-Avg(%)   Max-Avg(%)   Max-Prob(%)
-------------------------------------------------------------------------------
Queue1          Down            50           75            75
Queue2          Down            50           75            75
Queue3          Down            50           75            75
Queue4          Down            50           75            75
Queue5          Down            50           75            75
Queue6          Down            50           75            75
Queue7          Down            50           75            75
Queue8          Down            50           75            75
-------------------------------------------------------------------------------
Burst Sizes and Time Average Factor
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId         CBS            MBS       Time Average Factor        Queue-Mgmt
-------------------------------------------------------------------------------
Queue1          def               def              7           default
Queue2          def               def              7           default
Queue3          def               def              7           default
Queue4          def               def              7           default
Queue5          def               def              7           default
Queue6          def               def              7           default
Queue7          def               def              7           default
Queue8          def               def              7           default
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Port-id : 1/1/21
Port-id : 1/1/23
Port-id : 1/1/25
Port-id : 1/1/26
===============================================================================
A:Dut-A>show>qos#
A:Dut-A>show>qos#
 
Table 60:  Output Fields: QoS Access Egress 

Label

Description 

Policy-Id

The ID that uniquely identifies the policy

Remark

True — Remarking is enabled for all the dot1q-tagged packets that egress the ports on which the sap-egress QoS policy is applied and remarking is enabled

False — Remarking is disabled for the policy

Remark Pol Id

Displays the policy id of the remarking policy

Scope

Exclusive — Implies that this policy can be applied only to a single access egress port

Template — Implies that this policy can be applied to

multiple access ports on the router

Description

A text string that helps identify the policy’s context in the configuration file

Queue Rates and Rules

QueueId

Displays the Queue identifier associated with the sap-egress QoS policy

CIR

Specifies the administrative Committed Information Rate (CIR) parameters for the queue

The CIR defines the rate at which the system prioritizes the queue over other queues competing for the same bandwidth.

CIR Adpt Rule

min — The operational CIR for the queue will be equal to or greater than the administrative rate specified using the rate command

max — The operational CIR for the queue will be equal to or less than the administrative rate specified using the rate command

closest — The operational CIR for the queue will be the rate closest to the rate specified using the rate command without exceeding the operational PIR

PIR

Specifies the administrative Peak Information Rate (PIR) parameters for the queue

The PIR defines the maximum rate that the queue can transmit packets through the access port.

PIR Adpt Rule

min — The operational PIR for the queue will be equal to or greater than the administrative rate specified using the rate command

max — The operational PIR for the queue will be equal to or less than the administrative rate specified using the rate command

closest — The operational PIR for the queue will be the rate closest to the rate specified using the rate command

High Slope/Low slope

QueueId

Displays the Queue identifier associated with the sap-egress QoS policy

State

Displays the state of the queue. The state of the queue can be either “Up” or “Down”

Start Avg

Specifies the low priority or high priority RED slope position for the shared buffer average utilization value where the packet discard probability starts to increase above zero

Max Avg

Specifies the percentage of the shared buffer space for the buffer pool at which point the drop probability becomes “1”

This parameter is expressed as a decimal integer.

Max Prob

Specifies the high priority RED slope position for the maximum non-one packet discard probability value before the packet discard probability rises directly to one

Burst Sizes and Time Average Factor

QueueId

Displays the Queue identifier associated with the sap-egress QoS policy

CBS

Displays the configured CBS value

MBS

Displays the configured MBS value

Time Average Factor

Displays the value of the time average factor in use