This command creates a text description stored in the configuration file for a configuration context.
The no form of this command removes any description string from the context.
n/a
This command creates a context to configure a network queue policy. Network queue policies define the ingress and egress network queuing at the adapter card network node level.
Network queue policies define ingress and egress network queues similar to a service ingress QoS policy.
The no form of this command removes the network-queue policy from use. However, the network queue with policy-name default cannot be modified or deleted.
default
This command is used to modify the size of the packet that schedulers operate on. Modification only impacts schedulers and queue statistics. The actual packet size is not modified, nor can it be. Only the size used by the schedulers to determine the scheduling is changed. The packet-byte-offset command is meant to be a mechanism that can be used to compensate for downstream encapsulation or header removal. The scheduling rates are affected by the offset, as well as the statistics (accounting) associated with the queue. The packet-byte-offset command does not affect port-level and service-level statistics. It only affects the queue statistics. The network-queue policy applies in both the ingress and egress directions.
The add and subtract keywords are mutually exclusive. Either add, subtract, or none must be specified.
There are three modes of packet-byte-offset operation:
Packet byte offset configuration can be applied at the policy level, in which case it applies to all of the queues within the policy, or at the individual queue level so that it applies only to a specific queue.
The no version of this command enables legacy 7705 SAR behavior where the queue rates are relative to the packet size with the internal fabric header added, but without the FCS.
This command enables the context to configure a QoS network-queue policy queue. Network queues are created with default queue 1 (non-multipoint) and queue 9 (multipoint) automatically assigned.
The queue command with the multipoint keyword allows the creation of multipoint queues. Only multipoint queues can receive ingress packets that need flooding to multiple destinations. By separating the unicast traffic from multipoint traffic at network ingress and handling the traffic on separate multipoint queues, special handling of the multipoint traffic is possible. Each queue acts as an accounting and (optionally) shaping device, offering precise control over potentially expensive broadcast, multicast, and unknown unicast traffic. Only the back-end support of multipoint traffic (between the forwarding class and the queue based on forwarding type) needs to be defined. The individual classification rules used to place traffic into forwarding classes are not affected. Queues must be defined as multipoint at the time of creation within the policy.
The multipoint queues are for multipoint-destined service traffic. Within non-multipoint services, such as Epipe services, all traffic is considered unicast due to the nature of the service type. Multicast and broadcast-destined traffic in an Epipe service will not be mapped to a multipoint service queue.
The no form of this command removes the forwarding class-to-queue mapping, causing the forwarding class to use the default queue instead. When a queue is removed, any pending accounting information for each network queue created due to the definition of the queue in the policy is discarded.
A queue that will be used for multipoint traffic must be created as multipoint. The multipoint designator cannot be defined after the queue is created. If an attempt is made to modify the command to include the multipoint keyword, an error is generated and the command will not execute.
The multipoint keyword can be entered in the command line on a pre-existing multipoint queue to edit queue-id parameters.
The 7705 SAR does not support the avg-frame-overhead command. It is always set to 0 and cannot be modified.
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 the 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 rate and cir apply.
adaptation-rule pir closest cir closest
This command specifies the relative amount of reserved buffers for a specific ingress network adapter card forwarding class queue or egress network port forwarding class queue. The value is entered as a percentage. The resultant CBS size can be larger than the MBS. This will result in a portion of the CBS for the queue to be unused and therefore should be avoided.
The no form of this command returns the CBS size for the queue to the default for the forwarding class.
Table 39 lists the cbs forwarding class defaults.
Forwarding Class | Forwarding Class Label | Unicast Queues | Multicast Queues | ||
Queue ID | Default CBS (%) | Queue ID | Default CBS (%) | ||
Network-Control | nc | 8 | 0.25 | 16 | 0.1 |
High-1 | h1 | 7 | 0.25 | 15 | 0.1 |
Expedited | ef | 6 | 0.75 | 14 | 0.1 |
High-2 | h2 | 5 | 0.75 | 13 | 0.1 |
Low-1 | l1 | 4 | 0.25 | 12 | 0.1 |
Assured | af | 3 | 0.75 | 11 | 0.1 |
Low-2 | l2 | 2 | 0.25 | 10 | 0.1 |
Best-Effort | be | 1 | 0.1 | 9 | 0.1 |
The high-prio-only command allows the reservation of queue buffers for use exclusively by in-profile packets as a default condition for access buffer queues for this network queue policy. For network queues, in-profile packets are high priority, and out-of-profile packets are low priority.
![]() | Note: When a low-priority RED/WRED slope is enabled on a queue, the high-prio-only setting is not used. When that slope is disabled, then the high-prio-setting is used. |
Modifying the current MBS for the queue through the mbs command will cause the default high-prio-only function to be recalculated and applied to the queue.
The no form of this command restores the default value.
Table 40 lists the high-prio-only forwarding class defaults.
Forwarding Class | Forwarding Class Label | Unicast Queues | Multicast Queues | ||
Queue ID | Default high-prio-only | Queue ID | Default high-prio-only | ||
Network-Control | nc | 8 | 10 | 16 | 10 |
High-1 | h1 | 7 | 10 | 15 | 10 |
Expedited | ef | 6 | 10 | 14 | 10 |
High-2 | h2 | 5 | 10 | 13 | 10 |
Low-1 | l1 | 4 | 10 | 12 | 10 |
Assured | af | 3 | 10 | 11 | 10 |
Low-2 | l2 | 2 | 10 | 10 | 10 |
Best-Effort | be | 1 | 10 | 9 | 10 |
This command specifies the relative amount of the queue space for the maximum buffers for a specific ingress network adapter card forwarding class queue or egress network port forwarding class queue. The value is entered as a percentage.
The Maximum Burst Size (MBS) value is used by a queue to determine whether it has exhausted its total allowed buffers while enqueuing packets. Once the queue has exceeded its maximum amount of buffers, all packets are discarded until the queue transmits a packet. A queue that has not exceeded its MBS size is not guaranteed that a buffer will be available when needed or that the packet’s RED/WRED slope will not force the discard of the packet. Setting proper CBS parameters and controlling CBS oversubscription is one major safeguard to queue starvation (when a queue does not receive its fair share of buffers). Another is properly setting the RED/WRED slope parameters for the needs of the network queues.
The MBS size can sometimes be smaller than the CBS. This will result in a portion of the CBS for the queue to be unused and should be avoided.
The no form of this command returns the MBS size for the queue to the default for the forwarding class.
Table 41 lists the mbs forwarding class defaults.
Forwarding Class | Forwarding Class Label | Unicast Queue | Multicast Queue | ||
Queue ID | Default MBS | Queue ID | Default MBS | ||
Network-Control | nc | 8 | 2.5 | 16 | 2.5 |
High-1 | h1 | 7 | 2.5 | 15 | 2.5 |
Expedited | ef | 6 | 5 | 14 | 5 |
High-2 | h2 | 5 | 5 | 13 | 5 |
Low-1 | l1 | 4 | 2.5 | 12 | 2.5 |
Assured | af | 3 | 5 | 11 | 5 |
Low-2 | l2 | 2 | 5 | 10 | 5 |
Best-Effort | be | 1 | 5 | 9 | 5 |
The total MBS settings for all network egress queues on the port or channel based on the total percentages can exceed 100%. Some oversubscription can be desirable to allow exceptionally busy forwarding classes more access to buffer space. The proper use of CBS settings will ensure that oversubscribing MBS settings will not starve other queues of buffers when needed.
This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue. 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 percentage 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 through the association of the SAP ingress or SAP egress QoS policy with the queue-id.
The no form of the command returns all queues created with the queue-id by association with the QoS policy to the default PIR and CIR parameters (100, 0).
The actual PIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned. The PIR rate has a minimum value that depends on the type of hardware where the queue is provisioned. Table 42 shows the minimum PIR rates for each type of hardware.
The CIR rate has a minimum value that depends on the type of hardware where the queue is provisioned, as shown in Table 42.
Hardware | Type | Minimum Rate (kb/s) |
7705 SAR-F | Ethernet ports only | 11 |
8-port Ethernet Adapter card | Ethernet | 11 |
Other hardware | All types | 8 |
![]() | Note: If a specified percentage results in a PIR or CIR that is lower than the minimum rate, the system rounds up the CIR or PIR to the minimum rate. |
This command specifies the name of slope policy associated with the network queue.
This command configures the rate of traffic leaving the network.
With the include-fcs option, the egress rate limit is applied to the traffic rate egressing the port with the 4-byte Ethernet FCS field included. If this option is not configured, the egress rate limit is applied to the traffic rate egressing the port without the 4-byte Ethernet FCS field included, and the actual rate of packets leaving the port is slightly higher than the configured egress rate value.
The include-fcs option is not supported on the 8-port Ethernet Adapter card (version 2), 7705 SAR-A Fast Ethernet ports (ports 9 to 12), or 4-port SAR-H Fast Ethernet module. On the 6-port SAR-M Ethernet module, the include-fcs option is always on and cannot be disabled to compensate for the 4-byte FCS.
The allow-eth-bn-rate-changes option enables the Y.1731 ETH-BN client MEP option on the port. In applications such as a point-to-point microwave link, where degradation on the line can result in reduced link bandwidth, the egress rate can be dynamically changed based on the available bandwidth on the link as indicated by the ETH-BN server. When enabled, the received rate overrides the configured sub-rate for the port. For information on ETH-BN, including which Ethernet ports support this functionality, refer to the 7705 SAR OAM and Diagnostics Guide, “ITU-T Y.1731 Ethernet Bandwidth Notification (ETH-BN)”.
The bandwidth indicated by the ETH-BN server includes the FCS; therefore, the include-fcs option must be selected if the allow-eth-bn-rate-changes option is selected or the dynamically changed bandwidth will not match the intended rate.
The hold-time is used to limit the number of bandwidth changes as requested by the ETH-BN server. After a rate change occurs based on a Bandwidth Notification Message (BNM), any BMN received before the hold timer expires will be ignored.
The no form of this command returns the value to the default.
no egress-rate
This command selects the network-side scheduling option for Ethernet ports on the equipment listed in Table 10 and Table 12.
On the 6-port Ethernet 10Gbps Adapter card and the 7705 SAR-X, scheduler-mode is permanently set to support 4-priority-hqos and is not user-configurable. There is no keyword to configure 4-priority-hqos.
With profiled (or rate-based) scheduling, both in-profile and out-of-profile scheduling are supported. Packets with a flow rate that is less than or equal to the CIR value of a queue are scheduled as in-profile. Packets with a flow rate that exceeds the CIR value but is less than the PIR value of a queue are scheduled as out-of-profile. In-profile traffic has strict priority over out-of-profile traffic.
Profiled scheduling does not take queue type into consideration. With queue type-based scheduling, queues are divided into two categories – those that are serviced by the Expedited scheduler and those that are serviced by the Best Effort scheduler. The Expedited scheduler has precedence over the Best Effort scheduler.
Four-priority scheduling combines both profiled and queue type-based scheduling. The combination provides four scheduling priorities. Packets are scheduled in the following order, in strict priority fashion:
![]() | Note: 16-priority is the default scheduling option on the 8-port Gigabit Ethernet Adapter card, 10-port 1GigE/1-port 10GigE X-Adapter card, 2-port 10GigE (Ethernet) Adapter card, 2-port 10GigE (Ethernet) module, Packet Microwave Adapter card, 6-port SAR-M Ethernet module, 7705 SAR-M, 7705 SAR-H, 7705 SAR-Hc, 7705 SAR-A, 7705 SAR-Ax, 7705 SAR-W, and 7705 SAR-Wx Ethernet ports. These cards and ports support 16-priority scheduling, but not profiled or 4-priority scheduling. In addition, 16-priority scheduling is not supported on the 8-port Ethernet card or 4-port SAR-H Fast Ethernet module. For information on 16-priority scheduling, refer to Network Egress Scheduling. |
profile—8-port Ethernet Adapter card
4-priority—4-port SAR-H Fast Ethernet module
16-priority—8-port Gigabit Ethernet Adapter card, 10-port 1GigE/1-port 10GigE X-Adapter card, 2-port 10GigE (Ethernet) Adapter card, 2-port 10GigE (Ethernet) module, Packet Microwave Adapter card, 6-port SAR-M Ethernet module, 7705 SAR-A, 7705 SAR-Ax, 7705 SAR-H, 7705 SAR-Hc, 7705 SAR-M, 7705 SAR-W, and 7705 SAR-Wx Ethernet ports (cannot be changed)
The fc is created with default unicast queue-id 1 and default multicast queue-id 9 automatically configured. The specified queues contain the PIR, CIR, CBS, and MBS configurations.
Use the multicast-queue and queue commands to change the fc queue-id assignments from their default queue assignments.
The no form of this command restores the default queue.
This command overrides the default multicast forwarding type queue mapping for fc fc-name. The specified queue-id must exist within the policy as a multipoint queue before the mapping can be made. Once the forwarding class mapping is executed, all multicast traffic at network ingress using this policy is forwarded using the queue-id. Use the queue queue-id multipoint command to create the specified queue-id.
The multicast forwarding type includes the unknown forwarding type and the broadcast forwarding type unless each is explicitly assigned to a different multipoint queue. When the unknown and broadcast forwarding types are left as default, they will track the defined queue for the multicast forwarding type.
The no form of the command sets the multicast forwarding type queue-id back to the default queue (queue 9).
This command enables the context to configure forwarding-class-to-queue mappings.
The no form of this command removes the queue-id from the network-queue policy and from any existing network ingress or network egress ports using the policy, and sets the queue-id back to the default queue (queue 1).
This command copies or overwrites existing network queue QoS policies to another network queue 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.
SAR12>config>qos# copy network-queue nq1 nq2
MINOR: CLI Destination "nq2" exists - use {overwrite}.
SAR12>config>qos# copy network-queue nq1 nq2 overwrite
![]() | Note: The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration. |
This command displays network queue policy information. This includes queue parameters information, forwarding class-to-queue mappings, and network port/adapter card queue associations.
The following output is an example of network queue policy information, and Table 43 describes the fields.
Label | Description |
Policy | The policy name that uniquely identifies the policy |
Description | A text string that helps identify the policy’s context in the configuration file |
Pkt.Byte Offset | Indicates the value of the packet byte offset applied to the packet for scheduling, if applicable. A value of “default” indicates that legacy mode packet scheduling is in use, in which packets are scheduled based on size including internal overhead. |
Queue | The queue ID |
CIR | The committed information rate |
CIR Rule | min - the operational CIR for the queue will be equal to or greater than the administrative rate specified using the rate command except where the derived operational CIR is greater than the operational PIR. If the derived operational CIR is greater than the derived operational PIR, the operational CIR will be made equal to the operational PIR. |
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 | The peak information rate |
PIR 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 | |
CBS | The committed burst size |
MBS | The maximum burst size |
HiPrio | The high-priority value |
AvgOvrhd | The average percentage that the offered load to a queue will expand during the frame encapsulation process before sending traffic on-the-wire |
Packet Offset | The value of the packet byte offset applied to the queue. A value of “default” indicates that legacy mode packet scheduling is in use, in which packets are scheduled based on size including internal overhead. |
Slope-Policy | The slope policy for the queue |
FC | The value of a predefined forwarding class |
UCastQ | The specific unicast queue to be used for packets in the forwarding class |
MCastQ | The specific multicast queue to be used for packets in the forwarding class |
Associations | The unique service and customer identifiers |