Management and Configuration Guide K/KA/KB.15.15

HP Switch(config) # int a3-a5 rate-limit icmp 1
HP Switch(eth-A3-A5) # rate-limit icmp 1
Viewing the current ICMP rate-limit configuration
The show rate-limit icmp command displays the per-interface ICMP rate-limit configuration
in the running-config file.
Syntax
show rate-limit icmp <port-list>
Without [port-list], this command lists the ICMP rate-limit configuration for all ports on the
switch.
With [port-list], this command lists the rate-limit configuration for the specified interfaces. This
command operates the same way in any CLI context
Example
If you want to view the rate-limiting configuration on the first six ports in the module in slot "B":
Figure 74 Listing the rate-limit configuration
The show running command displays the currently applied setting for any interfaces in the switch
configured for all traffic rate-limiting and ICMP rate-limiting.
The show config command displays this information for the configuration currently stored in the
startup-config file. Note that configuration changes performed with the CLI, but not followed
by a write mem command, do not appear in the startup-config file.
Resetting the ICMP trap function of the port
The port ICMP trap function can be reset through SNMP from a network management station or
through the CLI with the setmib command.
Syntax
setmib hpIcmpRatelimitPortAlarmflag.internal-port-# -i 1
On a port configured with ICMP rate-limiting, this command resets the ICMP trap function, which
allows the switch to generate a new SNMP trap and an Event Log message if ICMP traffic in excess
of the configured limit is detected on the port.
Example
An operator noticing an ICMP rate-limiting trap or Event Log message originating with port A1 on
a switch would use the following setmib command to reset the port to send a new message if
the condition occurs again:
(HP_Switch_name#) setmib hpicmpratelimitportalarmflag.1 -i 1
174 Port Traffic Controls