Configuring Port Rate Limit


By using the command port-cos-rate-setting-modify, you can stipulate a port speed in packets per second (pps) to regulate the traffic corresponding to each QoS queue. This command is used for rate limiting the traffic of the port queues.


CLI (network-admin@switch) > port-cos-rate-setting-modify

port-cos-rate-setting-modify

Modify port queue rate limit.

port control-port|data-port|span-ports

Specify the port type to set QoS rate limit.

cos0-rate unlimited|0..10000000

Specify the rate limit (pps) for the queue.

cos1-rate unlimited|0..10000000

cos2-rate unlimited|0..10000000

cos3-rate unlimited|0..10000000

cos4-rate unlimited|0..10000000

cos5-rate unlimited|0..10000000

cos6-rate unlimited|0..10000000

cos7-rate unlimited|0..10000000

cos8-rate unlimited|0..10000000

cos9-rate unlimited|0..10000000


For example:

CLI (network-admin@switch) > port-cos-rate-setting-modify port data-port cos0-rate 50000


To display the port rate limit configuration, use the command:


CLI (network-admin@switch) > port-cos-rate-setting-show

port         ports cos0-rate(pps) cos1-rate(pps) cos2-rate(pps) cos3-rate(pps) cos4-rate(pps) cos5-rate(pps) cos6-rate(pps) cos7-rate(pps) cos8-rate(pps) cos9-rate(pps)

------------ ----- -------------- -------------- -------------- -------------- -------------- -------------- -------------- -------------- -------------- --------------

control-port 0     100000         100000         100000         100000         100000         100000         100000         100000         100000         100000

data-port    129   50000          100000         100000         100000         100000         100000         100000         100000         100000         100000

span-ports   130   100000         100000         100000         100000         100000         100000         100000         100000         100000         100000


The output displays the port rate limit configuration for control ports, data ports, and span ports. The data ports and span ports are platform specific. The default rate for each queue is 100000 packets per second. The queues 8 and 9 must be enabled for the columns cos8-rate(pps) and cos9-rate(pps) to be displayed.


Note: 

  • The port-cos-rate-setting-modify and port-cos-rate-setting-show commands are available only when CPTP is disabled
  • Queues 8 and 9 are available only on NRU01, NRU02, NRU03, and NRU-S0301 platforms.

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south