Configuring Ingress Interface-based Rate Limiting

Configuring Ingress Interface-based Rate Limiting


If you do not limit the traffic sent by users, the continuous burst of data of a large number of users will make the network more crowded. By configuring the ingress interface-based rate limiting on the interface, you can limit the traffic entering the interface to a reasonable range.

set interface gigabit-ethernet <interface-name> rate-limiting ingress kilobits <value>

set interface gigabit-ethernet <interface-name> rate-limiting ingress ratio <value>

set interface gigabit-ethernet <interface-name> rate-limiting ingress burst <burst-size>

NOTE:

  • In the same direction of the same interface, kilobits and ratio cannot be configured simultaneously.

  • Tomahawk series switches (including Tomahawk, Tomahawk+, Tomahawk2 and so forth) do not support ingress interface-based rate limiting.

  • When burst size is not configured, PICOS uses a burst size adapted according to the configured rate limiting value configured by the set interface gigabit-ethernet <interface-name> rate-limiting ingress kilobits <value> or set interface gigabit-ethernet <interface-name> rate-limiting ingress ratio <value> command.

Configuration Example

  •   Set the rate limit to 8000 kbit/s on interface te-1/1/1 for the ingress traffic, and use the system adapted burst size.

admin@Xorplus# set interface gigabit-ethernet te-1/1/1 rate-limiting ingress kilobits 8000 admin@Xorplus# commit
  •   You can use run show interface gigabit-ethernet command to check the configuration, where Interface rate limit ingress: , egress: ” and ”Interface burst limit ingress: , egress: ” indicating the configuration of interface-based rate limit and burst size.

admin@Xorplus# run show interface gigabit-ethernet te-1/1/1  Physical interface: te-1/1/1, Enabled, error-discard False, Physical link is Down  Interface index: 1, Mac Learning Enabled  Port mode: access Description:  Link-level type: Ethernet, MTU: 1514, Speed: Auto, Duplex: Full  Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Disabled  Interface flags: Hardware-Down SNMP-Traps Internal: 0x0  Interface rate limit ingress:8000kbps, egress:unlimited Interface burst limit ingress:10kb, egress:unlimited  Link fault signaling ignore local fault:false, ignore remote fault:false  force up mode:false  Precision Time Protocol mode:none  Current address: cc:37:ab:b6:9b:55, Hardware address: cc:37:ab:b6:9b:55  Traffic statistics:  5 sec input rate 0 bits/sec, 0 packets/sec  5 sec output rate 0 bits/sec, 0 packets/sec  Input Packets............................0  Output Packets...........................0  Input Octets.............................0  Output Octets............................0 

Copyright © 2025 Pica8 Inc. All Rights Reserved.