SNMP Commands
225
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
Summary of Contents for PowerConnect 5316M
Page 1: ...w w w d e l l c o m s u p p o r t d e l l c o m Dell PowerConnect 5316M CLI Reference Guide ...
Page 19: ...Contents 19 show dot1x advanced 356 ...
Page 20: ...20 Contents ...
Page 44: ...24 Command Groups ...
Page 56: ...36 Command Modes ...
Page 66: ...46 Using the CLI ...
Page 92: ...72 Address Table Commands ...
Page 108: ...88 Clock ...
Page 140: ...120 Ethernet Configuration Commands ...
Page 156: ...136 IGMP Snooping Commands ...
Page 178: ...158 Line Commands ...
Page 188: ...168 LLDP Commands ...
Page 198: ...178 PHY Diagnostics Commands ...
Page 206: ...186 Port Monitor Commands ...
Page 216: ...196 QoS Commands ...
Page 238: ...218 RMON Commands ...
Page 258: ...238 SNMP Commands ...
Page 284: ...264 Spanning Tree Commands ...
Page 294: ...274 SSH Commands ...
Page 304: ...284 Syslog Commands ...
Page 332: ...312 User Interface ...
Page 348: ...328 VLAN Commands ...
Page 360: ...340 Web Server ...