configure ports rate-limit egress

configure ports port_list rate-limit egress [no-limit | cir-rate [Kbps | Mbps | Gbps] {max-burst-size burst-size [Kb | Mb]}]

Description

Configures an egress traffic rate limit for a port or groups of ports.

Syntax Description

port_list Specifies one or more ports or slots and ports.
no-limit Specifies traffic be transmitted without limit; use to reconfigure or unconfigure previous rate-limiting parameters.
cir-rate Specifies the desired rate limit in Kbps, Mbps, or Gbps.
max-burst-size Specifies the maximum burst size or peak burst size in kilobits (Kb) or megabits (Mb).

Default

No-limit.

Usage Guidelines

Port speed limits the egress traffic, as follows:
  • 1 Gbps port—64 Kbps increments.

  • 10 Gbps port—1 Mbps increments.

If the specified egress limit (cir-rate) is not a multiple of 64 Kbps for a 1 Gbps port or 1 Mbps for a 10Gbps port, the specified value is rounded down to the nearest appropriate multiple based on the port type.

Use the no-limit parameter to:
  • Unconfigure egress rate limiting on the port(s).

  • Reconfigure existing egress rate limiting on the port(s).

The max-burst-size parameter is the amount of traffic above the value in the cir-rate parameter that is allowed to burst from the port(s) for a short duration. If max-burst-size has been configured as "0", then it will use maximum available burst value.

Example

The following command configures egress rate-limiting on port 1 a switch for 3 Mbps and a maximum burst size or 5 M bits:
configure port 1 rate-limit egress 3 Mbps max-burst-size 5 Mb

History

This command was available in ExtremeXOS 11.1.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.