shaping

Prev Next

shaping add envelope

Assurance Sensor GT/GT-S Only

shaping add envelope - Add a new envelope

Description:

Create a new envelope.

Syntax:

shaping add envelope <envelope-name> {
                {shaping-mode <ingress | egress>} |
                {coupling-flag {enable | disable}} |
                {port <port-name>} |
                {ranking {queue-name,queue-name,...}}}+

Parameters:

Parameter Description
shaping-mode Determines if shaping occurs as a pre-action (i.e., at the ingress port) or as a post-action (i.e., once the frame leaves via the egress port). The shaping mode of the envelope determines (and overrides) the shaping mode of every queue specified in the ranking field.
coupling-flag Determines how tokens from the CBS buckets of the queues are used in the envelope.
  • Enabled: Unused tokens from CIR-compliant frames are used for EIR-compliant frames.
  • Disabled: Unused tokens are discarded.
port Port assigned to the envelope.
ranking Queue envelope ranking list. Specifies the queue shaper order in the envelope (e.g., PORT-1-1,PORT-1-3,PORT-1-2).
PORT-1-1 is the highest rank, PORT-1-3 is the middle rank, and PORT-1-2 is the lowest rank. Queues may not belong to multiple envelopes.

shaping add queuing-profile

shaping add queuing-profile - Add a new queuing profile

Description:

Create a new queuing profile.

Syntax:

shaping add queuing-profile <queuing-profile-name> {
                {port <port-name>} |
                {cos-mapping {queue-name,queue-name,...}}}+

Parameters:

Parameter Description
port Port assigned to the envelope.
cos-mapping Queuing Profile internal CoS mapping. All 8 internal CoS must be specified. (ex: PORT-1-1,PORT-1-3,PORT-1-3,... PORT-1-1 is for CoS 0, PORT-1-3 is for CoS 1, PORT-1-3 is for CoS 2, ...)

shaping clear oam-queue statistics

shaping clear oam-queue statistics - Clear the OAM queue statistics

Description:

Clear the OAM queue statistics. If no parameters are passed, all OAM queue statistics will be cleared. If port is specified, only the OAM queue statistics associated to this port will be cleared.

Syntax:

shaping clear oam-queue statistics {
                {name <oam-queuing name>} |
                {port <port-name>}}+

Parameters:

Parameter Description
name OAM queue name for which statistics will be cleared
port Port assigned to the envelope.

shaping clear queue statistics

shaping clear queue statistics - Clear the queue statistics

Description:

Clear the queue statistics. If no parameters are passed, all queue statistics will be cleared. If port is specified, only the queue statistics associated to this port will be cleared.

Syntax:

shaping clear queue statistics {
                {name <queue name>} |
                {port <port-name>}}+

Parameters:

Parameter Description
name Queue name for which statistics will be cleared.
port Port name for which all queue statistics will be cleared.

shaping delete envelope

Assurance Sensor GT/GT-S Only

shaping delete envelope - Delete an Envelope

Description:

Delete an Envelope from the Envelope list.

Syntax:

shaping delete envelope <envelope name>

shaping delete queuing-profile

shaping delete queuing profile - Delete a Queuing Profile

Description:

Delete a Queuing Profile from the Queuing Profile list.
Note: A Queuing Profile cannot be deleted if it is referenced in a policy.

Syntax:

shaping delete queuing-profile <queuing-profile name>

shaping edit default-queuing-profile

shaping edit default-queuing-profile - Edit the default-queuing profile

Description:

Allow a user to edit the configuration of the Default Queuing Profile

Syntax:

shaping edit default-queuing-profile <port name> {
                {cos-mapping <queue name list>} |

Parameters:

Parameter Description
cos-mapping Queuing Profile internal CoS mapping. All 8 internal CoS must be specified. (ex: PORT-1-1,PORT-1-3,PORT-1-3,... PORT-1-1 is for CoS 0, PORT-1-3 is for CoS 1, PORT-1-3 is for CoS 2, ...)

shaping edit envelope

Assurance Sensor GT/GT-S Only

shaping edit envelope - Edit the configuration of an envelope

Description:

Allow a user to modify the configuration of an Envelope.

Syntax:

shaping edit envelope <envelope name> {
                {shaping-mode <ingress | egress>} |
                {coupling-flag <enable | disable>} |
                {name <new name>} |
                {ranking <queue name list>}}+

Parameters:

Parameter Description
shaping-mode Determines if shaping occurs as a pre-action (i.e., at the ingress port) or as a post-action (i.e., once the frame leaves via the egress port). The shaping mode of the envelope determines (and overrides) the shaping mode of every queue specified in the ranking field.
coupling-flag Determines how tokens from the CBS buckets of the queues are used in the envelope.
  • Enabled: Unused tokens from CIR-compliant frames are used for EIR-compliant frames.
  • Disabled: Unused tokens are discarded.
name Envelope name.
ranking Queue envelope ranking list. Specifies the queue shaper order in the envelope (e.g., PORT-1-1,PORT-1-3,PORT-1-2).
PORT-1-1 is the highest rank, PORT-1-3 is the middle rank, and PORT-1-2 is the lowest rank. Queues may not belong to multiple envelopes.

shaping edit port-shaper

shaping edit port-shaper - Edit the configuration of a port shaper

Description:

Allow a user to modify the configuration of a Port Shaper.

Syntax:

shaping edit port-shaper <port name> {
                {cbs <1-2047>} |
                {cir <0-1000000>} |
                {cpu-cir-state <enable | disable>} |
                {state <enable | disable>}}+ 

Parameters:

Parameter Description
cbs Committed Burst Size (CBS), in steps of 1KiB (1024 bytes).
cir Committed Information Rate (CIR), in steps of 125Kbps.
cpu-cir-state Specifies whether CPU traffic is debited from the CIR.
Note: CPU traffic is never shaped by the shaper.
state Enable or disable the Port Shaper.

shaping edit queue

shaping edit queue

Description:

Allow a user to modify the Queue configuration parameters.

Syntax:

shaping edit queue <queue name> {
                {blue-state <enable | disable>} |
                {blue-decrement <0-25>} |
                {blue-freeze-time <0-655350>} |
                {blue-increment <0-25>} |
                {blue-max-level <5-98>} |
                {blue-min-level <5-98>} |
                {cbs <0-2047>} |
                {cir <0-1000000>} |
                {cir-max <0-1000000>} |
                {color <green | yellow>} |
                {coupling-flag <enable | disable>} |
                {ebs <0-2047>} |
                {eir <0-1000000>} |
                {eir-max <0-1000000>} |
                {max-queue-size <16-1920>} |
                {name <new name>} |
                {port <port-name>} |
                {priority <0-7>} |
                {shaping-mode <ingress | egress>} |
                {shaping-state <enable | disable>} |
                {unassigned} |
                {yellow-threshold <16-1920>}}+

Parameters:

Parameter Description
blue-state Enable the Blue algorithm for this queue.
blue-decrement Blue drop probability decrement (steps of 1%).
blue-freeze-time Blue minimum interval time, in microseconds, between two successive updates of the marking probability (steps of 10μs).
blue-increment Blue drop probability increment (steps of 1%).
blue-max-level Blue level for which drop probability increases (percentage of queue length).
blue-min-level Blue level for which drop probability decreases (percentage of queue length).
cbs Committed Burst Size (CBS), in steps of 1KiB (1024 bytes).
cir Committed Information Rate (CIR), in steps of 125Kbps.
cir-max Maximum Committed Information Rate (CIR), in steps of 125Kbps.
color Frame color when shaping is disabled.
coupling-flag Allows transfer of unused CIR tokens to EIR bucket. Coupling flag of all queues in the envelope MUST match.
ebs Excess Burst Size (EBS), in steps of 1KiB (1024 bytes).
eir Excess Information Rate (EIR), in steps of 125Kbps.
eir-max Maximum Excess Information Rate (EIR), in steps of 125Kbps.
max-queue-size Threshold from which tail drop begin on green frame (steps of 1KiB (1024 bytes)). Dedicated queue range: 16-1920. User Assignable queue range: 16-1920
name Queue name.
port Port to which the queue is assigned.
priority Queue priority, used for round-robin purposes.
shaping-mode Determines if shaping occurs as a pre-action (i.e., at the ingress port) or as a post-action (i.e., once the frame leaves via the egress port). The shaping mode of the envelope determines (and overrides) the shaping mode of every queue specified in the ranking field.
shaping-state Enable or disable shaping for this queue. Must be enabled to include queues in envelopes. Cannot be edited once the queue is in an envelope.
unassigned Used to remove a user-assignable queue from a specified port.
yellow-threshold Threshold from which tail drop begin on green frame (steps of 1KiB (1024 bytes)). Dedicated queue range: 16-1920. User Assignable queue range: 16-1920

shaping edit queuing-profile

shaping edit queuing-profile - Edit a queuing profile

Description:

Allow a user to modify the parameters of a Queuing Profile.

Syntax:

shaping edit queuing-profile <queuing profile name> {
                {cos-mapping <queue name list>} |
                {name <new name>}}+

Parameters:

Parameter Description
cos-mapping Queuing Profile internal CoS mapping. All 8 internal CoS must be specified. (ex: PORT-1-1,PORT-1-3,PORT-1-3,... PORT-1-1 is for CoS 0, PORT-1-3 is for CoS 1, PORT-1-3 is for CoS 2, ...)
name Queuing Profile name

shaping show default-queuing-profile configuration

shaping show default-queuing-profile configuration - Show default queuing profile configuration

Description:

This command displays detailed configuration for the default queuing profile.

Syntax:

shaping show default-queuing-profile configuration <port name>

shaping show envelope configuration

Assurance Sensor GT/GT-S Only

shaping show envelope configuration - Show configuration of an envelope

Description:

Without arguments or with the port argument, this command displays the envelope configuration summary in table format. When specifying an envelope name, this command displays detailed configuration for that envelope. The paging option allow to display result in page style.

Syntax:

shaping show envelope configuration {
                {name <envelope name>} |
                {paging} |
                {port <port-name>}}+

Parameters:

Parameter Description
name Name of the envelope.
paging Enable the paging option.
port Name of the port.

shaping show oam-queue statistics

Assurance Sensor GT/GT-S Only

shaping show oam-queue statistics - Show the OAM queue statistics

Description:

Without arguments or with the port argument, this command displays the OAM queue statistics summary in table format. When specifying an OAM queue name, this command displays detailed statistics for that queue. The paging option allows to display results in page style.

Syntax:

Syntax:
  shaping show oam-queue statistics {
                {name <queue name>} |
                {paging} |
                {port <port-name>}}+

Parameters:

Parameter Description
name Name of the envelope.
paging Enable the paging option.
port Name of the port.

shaping show port-shaper configuration

shaping show port-shaper configuration - Show configuration for a port-shaper

Description:

Without arguments, this command displays the port shaper summary in a table format. When specifying a port shaper name, this command displays detailed configuration for that port shaper. The paging option allow to display result in page style.

Syntax:

shaping show port-shaper configuration {
                {paging} |
                {port <port-name>}}+

Parameters:

Parameter Description
paging Enable the paging option.
port Name of the port.

shaping show queue configuration

shaping show queue configuration - Show queue configuration

Description:

Without arguments or with the port argument, this command displays the queue configuration summary in a table format. When specifying a queue name, this command displays detailed configuration for that queue. The paging option allow to display result in page style.

Syntax:

shaping show queue configuration {
                {name <queue name>} |
                {paging} |
                {port <port-name>}}+

Parameters:

Parameter Description
name Name of the envelope.
paging Enable the paging option.
port Name of the port.

shaping show queue statistics

shaping show queue statistics - Show queue statistics

Description:

Without arguments or with the port argument, this command displays the queue statistics summary in a table format. When specifying a queue name, this command displays detailed statistics for that queue. The paging option allow to display result in page style.

Syntax:

Syntax:
shaping show queue statistics {
                { name <queue name>} |
                { paging} |
                { port <port-name>} |
                { type {clearable | persistent | historic}} |
                { buckets <0-16>} |
                { period <period-id>}}+

Parameters:

Parameter Description
<queue name> <string> Name of the queue.
<period-id> <decimal> Reference period identifier.
name Name of the queue.
paging Enable the paging option.
port Name of the port.
type Type of statistics to display:
  • clearable: Current statistics since the last clear command.
  • persistent: Current statistics since system start.
  • historic: History buckets statistics. If the number of buckets is not specified, the last 4 buckets will be displayed, starting from the specified period. If no period is specified, the last 4 buckets will be displayed.
buckets Number of shaper buckets to display.
period Reference period for the shaper history buckets. Zero for the most recent period available.

shaping show queuing-profile configuration

shaping show queuing-profile configuration - Show configuration of a queuing-profile

Description:

Without arguments or with the port argument, this command displays the queuing-profile configuration summary in a table format. When specifying a queuing profile name, this command displays detailed configuration for that queuing profile. The paging option allow to display result in page style.

Syntax:

shaping show queuing-profile configuration {
                {name <queuing profile name>} |
                {paging} |
                {port <port-name>}}+

Parameters:

Parameter Description
name Name of the queuing profile.
paging Enable the paging option.
port Name of the port.

© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks