Configuring Egress Interface-based Rate Limiting
To control the rate of all outgoing traffic on an interface, configure egress interface-based rate limiting. When the transmit rate of packets exceeds the configured rate limit, the excess packets will be discarded.
set interface gigabit-ethernet <interface-name> rate-limiting egress kilobits <value>
set interface gigabit-ethernet <interface-name> rate-limiting egress ratio <value>
set interface gigabit-ethernet <interface-name> rate-limiting egress burst <burst-size>
NOTE:
|
Configuration Example
Set the rate limit to 8000 kbit/s on interface te-1/1/1 for the egress traffic, and use the system adapted burst size.
admin@Xorplus# set interface gigabit-ethernet te-1/1/1 rate-limiting egress 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: xe-1/1/1(49), Enabled, error-discard False, Physical link is Down
Interface index: 73, Mac Learning Enabled
Port mode: access
Description:
Link-level type: Ethernet, MTU: 1518, Speed: Auto, Duplex: Full
Cdr: Enabled
Source filtering: Disabled, Flow control: Disabled
Auto-negotiation: Disabled
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Interface rate limit ingress: unlimited, egress: unlimited
Interface burst limit ingress: unlimited, egress: unlimited
Link fault signaling ignore local fault: false, ignore remote fault: false
Force up mode: false
Precision Time Protocol mode: none
Current address: 0c:81:3e:5c:00:00, Hardware address: 0c:81:3e:5c:00:00
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 © 2024 Pica8 Inc. All Rights Reserved.