Add snmp community traphost – Allied Telesis AT-S39 User Manual
Page 50
Chapter 5: SNMP Community Strings and Trap Commands
50
ADD SNMP COMMUNITY TRAPHOST
Syntax
add snmp community=”community” traphost=ipaddress
Parameters
community
Specifies the switch’s SNMP Read or Write
community string. The string is case sensitive. The
string must be enclosed in double quotes if it
contains a space or special character, such as an
exclamation point; otherwise, the quotes are
optional.
traphost
Specifies the IP address of a management
workstation to receive management traps from the
switch.
Description
You can use this command to specify the IP address of a management
workstation to receive management traps from the switch. The switch
can support up to four IP addresses of trap receivers, but only one can be
added at a time with this command.
To use this command, you must specify the switch’s Read or Write
community string. You can specify either string.
To view the current community strings or to see if any management
workstation IP addresses have already been assigned, use the SHOW
SNMP command.
Example
The following command adds the IP address 149.212.11.22 of a
management workstation to receive traps from the switch. It uses the
default SNMP Read access community string “public”.
add snmp community=public traphost=149.212.11.22