set class-of-service scheduler max-rate


The set class-of-service scheduler max-rate command sets the maximum rate for an interface queue.


Command Syntax

set class-of-service scheduler <scheduler-name> max-rate <value>


Parameters

Parameter

Description

scheduler <scheduler-name>

Specifies a scheduler name, the value is a string, spaces are not allowed.

max-rate <value>

Specifies the maximum rate of an interface queue.

The value is an integer, in kbit/s. 


Usage Guidelines

Configure the maximum rate on the physical interface egress queue of the packet to adjust the sending rate of the interface, thus preventing congestion on the downstream device. When the transmit rate of packets exceeds the queue-based rate limit, the packets will be discarded.

NOTE:

If both queue-based rate limiting and interface-based rate limiting (configured by the command set interface gigabit-ethernet <port> rate-limiting <ingress | egress> kilobits <kilobits-ps>) are configured on an interface, the smaller value of the two will be used for rate limiting.


Example

  •   Set the maximum rate of 30000 kbit/s for scheduler s3. 
admin@Xorplus# set class-of-service scheduler s3 max-limit 30000

Copyright © 2024 Pica8 Inc. All Rights Reserved.