Chapter 8: Port Parameter Commands
172
table. Settings for this parameter are:
yes, on, true, enabled Activates unknown
unicast packet rate
limit on the port. The
values are equivalent.
no, off, false, disabled Deactivates unknown
unicast packet rate
limit on the port. The
values are equivalent.
Description
This command sets the maximum number of ingress multicast,
broadcast, and unknown unicast packets the switch ports accept each
second. Packets exceeding the threshold are discarded. You can enable
the rate limiting threshold independently for each packet type.
However, the same threshold applies to all packet types.
The RATE parameter sets the packet limit. This limit applies to all the
ports. There can be only one packet limit value for the switch.
Additionally, the same packet limit applies to the three types of packets
that you can filter on.
The other parameters are used to toggle on and off the different filters. A
filter applies to all switch ports.
Here is an example. Assume that you set a rate limit of 5,000 packets and
you enable multicast and broadcast rate limiting. Each switch port will
accept up to 5,000 multicast packets and 5,000 broadcast packets each
second. If a port receives more than that of either type, it discards the
extra packets. Because the feature was not activated for unknown
unicast packets, their number is not restricted.
Examples
The following command sets a rate limit of 40,000 ingress packets and
activates broadcast and multicast rate limiting on all switch ports:
set switch port=all rate=40000
bcastratelimiting=enabled
mcastratelimiting=enabled
The following command activates unicast rate filtering on all ports
without changing the current rate limit:
set switch port=all unkucastratelimiting=enabled