DXS/DWS-3200 series CLI Reference Guide
Page 285
snmp-server host
The
snmp-server host
Global Configuration mode command specifies the recipient of Simple Network
Management Protocol Version 1 or Version 2 notifications. To remove the specified host, use the
no
form of this
command.
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
]
Parameters
•
ip-address
— Specifies the IP address of the host (targeted recipient).
•
hostname
— Specifies the name of the host. (Range:1-158 characters)
•
community-string
— Specifies a password-like community string sent with the notification operation.
(Range: 1-20)
•
traps
— Indicates that SNMP traps are sent to this host. If unspecified, SNMPv2 traps are sent to the host.
•
informs
— Indicates that SNMP informs are sent to this host. Not applicable to SNMPv1.
•
1
— Indicates that SNMPv1 traps will be used.
•
2
— Indicates that SNMPv2 traps will be used. If
•
port
—Specifies the UDP port of the host to use. If unspecified, the default UDP port number is 162.
(Range:1-65535)
•
filtername
— Specifies a string that defines the filter for this host. If unspecified, nothing is filtered.
(Range: 1-30 characters)
•
seconds
— Specifies the number of seconds to wait for an acknowledgment before resending informs. If
unspecified, the default timeout period is 15 seconds. (Range: 1-300)
•
retries — Specifies the maximum number of times to resend an inform request. If unspecified, the default
maximum number of retries is 3. (Range: 0-255)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
When configuring an SNMPv1 or SNMPv2 notification recipient, a notification view for that recipient is
automatically generated for all the MIB.
When configuring an SNMPv1 notification recipient, the
Inform
option cannot be selected.
If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent.
Summary of Contents for xStack DWS-3200 Series
Page 2: ......
Page 3: ......
Page 25: ...Using the CLI Editing Features Page 22 ...
Page 91: ...Clock Commands show sntp status Page 88 ...
Page 101: ...Configuration and Image File Commands show bootvar Page 98 ...
Page 137: ...GVRP Commands show gvrp error statistics Page 134 ...
Page 147: ...IGMP Snooping Commands show ip igmp snooping groups Page 144 ...
Page 163: ...IP Address Commands show hosts Page 160 ...
Page 177: ...LACP Commands show lacp port channel Page 174 ...
Page 187: ...Line Commands show line Page 184 ...
Page 195: ...Management ACL Commands show management access class Page 192 ...
Page 201: ...PHY Cable Diagnostics Commands show fiber ports optical transceiver Page 198 ...
Page 217: ...Port Monitor Commands Page 214 ...
Page 341: ...Spanning Tree Commands show spanning tree Page 338 ...
Page 395: ...System Management Commands show system mode Page 392 ...
Page 413: ...User Interface Commands show privilege Page 410 ...
Page 437: ...VLAN Commands show vlan protocols groups Page 434 ...
Page 451: ...Web Server Commands show ip https Page 448 ...
Page 477: ...802 1x Commands show dot1x advanced Page 474 ...
Page 483: ...Wireless AP BSS Commands data rates Page 480 ...
Page 517: ...WLAN Domain Commands wlan domain member approve Page 514 ...
Page 547: ...Wireless AP Radio Commands beacon period Page 544 ...
Page 555: ...Wireless Rogue AP Commands show wlan rogue aps neighborhood Page 552 ...
Page 573: ...Wireless WLAN Commands show wlan stations counters Page 570 ...
Page 581: ...Page 578 ...