10.3. Command descriptions

10.3.1. Configuration commands

10.3.1.1. Generic commands

description

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

Supported on all 7210 SAS platforms as described in this document

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, etc.), 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
Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates or edits an access-egress QoS policy. The policy can be applied to multiple access ports. The access-egress policy is common to services (SAPs) all configured on that access 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.

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

 

create—
Specifies that an access-egress policy is created. 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
Platforms 

Supported on all 7210 SAS platforms as described in this document

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.

If 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 the command removes the explicit dot1p marking commands for the fc-name.

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

 

create—
Specifies that an access-egress policy is created. 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
config>qos>network>egress>fc
Platforms 

Supported on all 7210 SAS platforms as described in this document

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 FC regardless of their in/out of profile status.

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

 

dot1p

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

Supported on all 7210 SAS platforms as described in this document

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 de-mark command is configured along with this command, then 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 the 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 the 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, the dot1p [in|out]-profile values are considered. Even if dot1p dot1p-value is configured, it is ignored. If the dot1p [in|out]-profile value is not configured, the default values are considered for that FC.
  2. If de-mark is configured and if dot1p dot1p-value is configured then it is considered. Else if the dot1p [in|out]-profile value is configured it is considered. In this case dot1p 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 FC.
Values—
0 to 7

 

dot1p-in-profile

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

Supported on all 7210 SAS platforms as described in this document

Description 

The command enables the context 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 the software to determine the dot1p values to when both the dot1p command and the dot1p-in-profile and dot1p-out-profile command is specified.

  1. If de-mark is not configured, the dot1p [in|out]-profile values are considered. Even if dot1p dot1p-value is configured it is ignored. If the dot1p [in|out]-profile value is not configured, the default values are considered for that FC.
  2. If de-mark is configured, and if the dot1p 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 dot1p-value has the precedence over dot1p [in|out]-profile.
  3. If marking is enabled and both dot1p and dot1-[in|out]-profile commands are not specified, then the value reverts to the default.
Default 

0

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

 

dot1p-out-profile

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

Supported on all 7210 SAS platforms as described in this document

Description 

The command enables the context 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, the dot1p [in|out]-profile values are considered. Even if dot1p dot1p-value command is configured, it is ignored. If the dot1p [in|out]-profile value is not configured, the default values are considered for that FC.
  2. If de-mark is configured and if dot1p 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 dot1p-value, has the precedence over dot1p [in|out]-profile.
  3. If marking is enabled and both dot1p dot1p-value and dot1-[in|out]-profile commands are not specified, the value revert to the default.
Default 

0

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

 

dscp-out-profile

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

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the out-of-profile DSCP name for the FC. 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 FC queue.

When multiple DSCP names are associated with the FC 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 | cp 4| 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
Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the in-profile DSCP name for the FC. 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 FC queue.

When multiple DSCP names are associated with the FC 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
Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies a queue for which to modify queue parameters.

Parameters 
queue-id—
Specifies the access-egress queue-id associated with an FC according to Table 15.
Values—
1 to 8

 

remarking

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

Supported on all 7210 SAS platforms as described in this document

Description 

This command remarks egress packets sent out of access ports and access-uplink ports. For 7210 SAS-D, remarking can be enabled or disabled.

Note:

If remarking is enabled without specifying one of the options, by default 'use-dot1p' is used for access-egress and “all” is used for network-egress.

The no form of this command disables remarking, which is the default behavior.

Default 

no remarking

Parameters 
use-dot1p—
Specifies that the dot1p bits are marked in the packet header for all IEEE 802.1q and IEEE 802.1p encapsulated traffic sent out of the access port.
use-dscp—
Specifies that the IP DSCP bits are marked in the packet header for IPv4 traffic sent out of the access port.
all—
Specifies that the dot1p bits are marked in the packet header for all IEEE 802.1q and IEEE 802.1p encapsulated traffic, and in addition the IP DSCP bits are marked in the packet header for all IPv4 traffic sent out the access port.

10.3.1.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
Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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 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.
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.
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
Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command defines the administrative PIR and 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 over subscription 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 any time, altering the PIR and CIR rates for all queues created on the access ports.

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

Parameters 
cir-rate—
Specifies that the default administrative CIR used by the queue is overridden. 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—
For devices with only 1G ports: 0 to 1000000, max
For devices with both 1G and 10G ports: 0 to 10000000, max

 

Default—
0
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—
For devices with only 1G ports: 0 to 1000000, max
For devices with both 1G and 10G ports: 0 to 10000000, max

 

Default—
max

scope

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

Supported on all 7210 SAS platforms as described in this document

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 sets the scope of the policy to the default of template.

Default 

template

Parameters 
exclusive—
Specifies that the policy can only be applied to one 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 becomes available for assignment to another exclusive interface. The system default policies cannot be put into the exclusive scope. An error occurs if scope exclusive is executed in the default access-egress policy (policy-id 1).
template—
Specifies that the policy can be applied to multiple ports on the router.

access-egress

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

Supported on all 7210 SAS platforms as described in this document

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 44 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
-------------------------------------------------------------------------------
===============================================================================
A:Dut-A>show>qos#
A:Dut-A>show>qos#
Table 44:  Access-egress labels and descriptions  

Label

Description

Scope

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

Template — Specifies that this policy can be applied to multiple access ports on the router

Description

A text string that helps identify the policy 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 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 is equal to or greater than the administrative rate specified using the rate command

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

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

PIR

Specifies the administrative 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 is equal to or greater than the administrative rate specified using the rate command

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

closest — The operational PIR for the queue is 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