Download Print this page

Dell PowerConnect 5316M Reference Manual page 245

Cli reference guide
Hide thumbs Also See for PowerConnect 5316M:

Advertisement

Syntax
snmp-server host {ip-address | hostname} community-string [traps | informs] [1 | 2] [udp-port
port] [filter filtername] [timeout seconds] [retries retries]
no snmp-server host {ip-address | hostname} [traps | informs]
ip-address — Internet address of the host (the targeted recipient). An out-of-band IP
address can be specified as described in the usage guidelines.
hostname — Hostname of the host. (Range: 1 - 158 characters).
community-string — Password-like community string sent with the notification operation.
(Range: 1 - 20 chars)
traps — Sends SNMP traps to this host (Default).
informs— Sends SNMP informs to this host. Not applicable to SNMPv1.
1— SNMPv1 traps will be used.
2— SNMPv2 traps will be used (Default).
udp-port port — UDP port of the host to use. The default is 162. (Range: 1 - 65535)
filter filtername — A string that is the name of the filter that defines the filter for this
host. If unspecified, does not filter anything. (Range: Up to 30 characters).
timeout seconds — Number of seconds to wait for an acknowledgment before resending
informs. The default is 15 seconds. (Range: 1 - 300)
retries retries — Maximum number of times to resend an inform request, when response
is not received for generated message. The default is 3. (Range: 0 - 255)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
When configuring snmp v1 or v2 notification recipients, the software should automatically
generate notification views for those recipients, for all MIBs.
To define an SNMP recipient on the out-of-band port, use the out-of-band IP address format:
oob/ip-address.
Example
The following example enables SNMP traps for host 10.1.1.1 with community string
"management" using SNMPv2.
Console (config)# snmp-server host 10.1.1.1 management 2
225
SNMP Commands

Advertisement

loading