Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Administration (Rev. 03)
CPU Resource Control © 2008 Foundry Networks, Inc.
Page 82 of 87
Example
The following example sets the threshold levels to:
Accept all packets if the rate is less or equal to 300 packets per second;
Accept only high-priority packets if the rate is higher than 300 packets per second, but not more
than 4000 packets per second;
Reject all packets if the rate exceeds 4000 packets per second.
device-name
(config)#
set packets_threshold 300 4000
Clearing the CPU Packet Threshold
The
reset packets_threshold
statistics
command, in Privileged (Enable) mode, clears the CPU
packet-rate statistics.
Command Syntax
device-name
#
reset packets_threshold statistics
Displaying the CPU Packet Threshold
The
show packets_threshold
command, in Privileged (Enable) mode, displays the current CPU
packet-rate threshold levels.
Table 36
describes the parameters displayed by the
show packets_threshold
command.
Command Syntax
device-name
#
show packets_threshold
Example
device-name
#
show packets_threshold
Low packet rate threshold is 200 pps
High packet rate threshold is 5000 pps
Packets rate per sec: 6 In packets: 1425 Drop packets: 0
Table 36: The Parameters Displayed by the
show packets_threshold
Command
Parameter
Description
Low packet rate threshold
Low packet rate threshold in PPS.
High packet rate threshold
High packet rate threshold in PPS.
In packets
The number of packets accepted (within the threshold
limits) in the current session.
Drop packets
The number of packets rejected (beyond the threshold
limits) in the current session.
Packets rate per sec
The current rate of information flows to the CPU, in terms
of packets-per-second.