To apply port level rate-limiting, perform the following:
The egress-rate command is present in the *A:Dut-1>config>port>ethernet context.
The egress-rate configures the maximum rate (in kbps) for the port. The value should be between 1 and 1000000 kbps and between 1 and 10000000 kbps for a 10G port.
The max-burst command configures a maximum-burst (in kilo-bits) associated with the egress-rate. This is an optional parameter and if not defined then, by default, it is set to 64 kb for a 1G port and 64 kb for a 10G port. Users cannot configure max-burst without configuring egress-rate. The max-burst value should be between 32 and 16384 or the default.
By default there is no egress-rate command set on port. The default egress-rate for a port is the maximum (equal to line-rate).
On 10G port, if Egress port Rate Limiter (ERL) configured is more than 8Gig, Nokia recommends configuring the burst value higher than 80kbits to avoid packet drops.
The following is a sample configuration output that shows the egress-rate configuration for a port.
*A:Dut-1>config>port# info
----------------------------------------------
ethernet
egress-rate 120000 max-burst 234
exit
no shutdown
----------------------------------------------
*A:Dut-1>config>port#