Administrator Guide

Switch Management Commands 2145
host-addr—Specifies the IP address of the host (targeted recipient) or
the name of the host. Both IPv4 and IPv6 addresses are
accepted.(Range:1-158 characters)
community-string—Specifies a password-like community string sent
with the notification operation. (Range: 1-20 characters). The
community-string may include any printable characters except a
question mark, a backslash, or an at sign.
traps —Indicates that SNMP traps are sent to this host.
version 1—Indicates that SNMPv1 traps will be used.
version 2—Indicates that SNMPv2 traps will be used.
informs— Indicates that SNMPv2 informs are sent to this host.
seconds—Number of seconds to wait for an acknowledgment before
resending informs. The default is 15 seconds. (Range: 1-300.)
retries—Maximum number of times to resend an inform request. The
default is 3 attempts. (Range: 1-255)
port—UDP port of the host to use. The default is 162. (Range: 1-
65535.)
filtername— A string that is the name of the filter that defines the filter
for this host. If unspecified, does not filter anything (Range: 1-30
characters.)
Default Configuration
The default configuration is 3 retries, and 15 seconds timeout. This
command is disabled by default. No notifications are sent.
If you enter this command with no keywords, the default is to send all trap
types to the host. No informs are sent to this host. If no version keyword is
present, the default is Version 1.
Command Mode
Global Configuration mode