
13-18
Port Traffic Controls
Rate-Limiting
For 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.
ProCurve(config)# setmib hpicmpratelimitportalarm-
flag.1 -i 1
Determining the Switch Port Number Used in ICMP Port Reset
Commands:
To enable excess ICMP traffic notification traps and Event Log
messages, use the
setmib
command described on page 13-17. The port number
included in the command corresponds to the internal number the switch
maintains for the designated port, and not the port’s external (slot/number)
identity.
To match the port’s external slot/number to the internal port number, use the
walkmib ifDescr
command, as shown in the following figure:
Figure 13-5.
Matching Internal Port Numbers to External Slot/Port Numbers
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.
ProCurve# walkmib ifDescr
ifDescr.1 = A1
ifDescr.2 = A2
ifDescr.3 = A3
.
.
.
ifDescr.23 = A23
ifDescr.24 = A24
ifDescr.27 = B1
ifDescr.28 = B2
ifDescr.29 = B3
.
.
.
ifDescr.48 = B22
ifDescr.49 = B23
ifDescr.50 = B24
.
.
.
Beginning and Ending of Port
Number Listing for Slot A
Beginning and Ending of Port
Number Listing for Slot B
3500-5400-6200-8200-MCG-Jan08-K_13_01.book Page 18 Monday, January 28, 2008 10:04 AM