1540 SNMP Commands
Syntax
snmp-server host
host-addr
[informs [timeout
seconds
] [retries
retries
] |
traps version {1 | 2 }]] community-string [udp-port
port
] [filter
filtername
]
no snmp-server host
host-addr
{ traps | informs }
Parameter Description
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.
Parameter Description
host-addr Specifies the IP address of the host (targeted recipient) or the
name of the host. (Range:1-158 cha racters)
community-string Specifies a password-like community string sent with the
notification operation. (Range: 1-20 characters)
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
characters.)
retries Maximum number of times to resend an inform req uest. The
default is 3 attempts. (Range: 0-255 characters.)
port UDP port of the host to use. The default is 162. (Range: 1-
65535 characters.)
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.)
2CSPC4.XCT-SWUM2XX1.book Page 1540 Monday, October 3, 2011 11:05 AM