User's Manual

Table Of Contents
Command Reference 59
set trapcommunity
Configures the SNMP trap manager station.
Syntax set trapcommunity TrapCommunityStr string
set trapcommunity TrapCommunityManagerIpAddress IP_address
Usage Use this command to set an SNMP management station IP address and the community string
that serves as a password to protect access to the SNMP management station. The SNMP
management station can receive SNMP traps from the RS4000 SNMP agent.
An SNMP trap is an unsolicited SNMP message that is sent to a management station. Traps
are sent to convey the data immediately, instead of waiting for the station to poll at some future
time.
Examples Use the following command to set the community string that authenticates and authorizes the
SNMP trap manager:
# set trapcommunity TrapCommunityStr alabast0r
Use the following command to set the IP address of the SNMP trap manager:
# set trapcommunity TrapCommunityManagerIpAddress 192.168.100.1
TrapCommunityStr string Sets the name of the trap community string, which
is used for authorization and access, similar to a
password. By default, test2 is set, but any user-
defined 32-character string can be used.
TrapCommunityManagerIpAddress
IP_address
Sets the IP address for a SNMP trap Management
Station. By default, the address is set to 0.0.0.0,
which allows all managers to receive traps from
the agent. If a unique IP address is set, only that
management station can receive traps from the
agent.
Caution!
As shipped, the system is set with documented SNMP trapcommunity strings that
allow access to the management interfaces. It is strongly recommended that you change these
default strings as soon as possible to prevent unauthorized access to your system.