rate-limit
Syntax
rate-limit {broadcast | multicast | unknown-unicast} <RATE> pps
no rate-limit {broadcast | multicast | unknown-unicast}
Description
Sets the amount of traffic of a specific type that can ingress on an Ethernet port, or on each port of a LAG interface. Rate limits are enforced separately on each individual member of a LAG, not on the LAG as a whole.
Theno
form of this command removes the traffic limit for the specified traffic type.
Command context
config-if
Parameters
{broadcast | multicast | unknown-unicast}
Specifies the type of ingress traffic to which the rate limit applies:
broadcast
,multicast
, orunknown-unicast
.rate
Specifies the rate limit in packets per second (pps). Range: 64 to 209090910 pps.
Authority
Administrators
Examples
Limiting multicast traffic to 4000 pps on interface 3:
switch(config)# interface 1/1/3 switch(config-if)# rate-limit multicast 4000 pps
Viewing the results of the previous configuration setting.
switch# show interface 1/1/3 Interface 1/1/3 is down (Administratively down) Admin state is down Hardware: Ethernet, MAC Address: 1c:98:ec:e3:6a:00 MTU 1500 Full-duplex rate-limit multicast 4000 pps (4000 actual) Speed 0 Mb/s Auto-Negotiation is turned on Input flow-control is off, output flow-control is off RX 0 input packets 0 bytes 0 input error 0 dropped 0 CRC/FCS L3: ucast: 0 packets, 0 bytes mcast: 0 packets, 0 bytes TX 0 output packets 0 bytes 0 input error 0 dropped 0 collision L3: ucast: 0 packets, 0 bytes mcast: 0 packets, 0 bytes
Limiting
broadcast traffic to
50
pps on LAG
100.
switch# config switch(config)# interface 1/1/1 switch(config-if)# interface lag 100 switch(config-if)# rate-limit broadcast 50 pps switch(config-if)# interface 1/1/2 switch(config-if)# lag 100 switch(config-if)# interface 1/1/3 switch(config-if)# lag 100