setsnmp(8)
280 SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised August 2009
OPERANDS The following operands are supported:
-l system-location Specifies the system location for the agent.
-p agent-port Specifies the listening port for the agent. The default is
161.
-s community-string Acts like a password to control access to the SNMP v1 and
v2 agents. It is a clear text string which can be intercepted.
For password encryption and no visibility, use
addv3traphost instead.
addtraphost Enables the SNMP agent to send the chosen type of trap to the
desired host. If no trap-port is provided, the default is 162. A
community string is mandatory.
addtraphost takes the following options and operand:
-p trap-port ID of the trap port. Default value
is 162.
-s community-string Acts like a password to control
access to the SNMP v1 and v2
agents. It is a clear text string
which can be intercepted. For
password encryption and no
visibility, use addv3traphost
instead.
-t type Type of trap. Valid trap types are:
v1 = The agent sends SNMPv1 traps
v2 = The agent sends SNMPv2 traps
inform = The agent sends inform notifications
traphost Host name or IP address of the
trap host.