FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 236

Advertising
background image

setsnmp(8)

258

XSCF Reference Manual • Last Revised January 2007

OPERANDS

The following operands are supported:

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 will send SNMPv1 traps

v2

= The agent will send SNMPv2 traps

inform

= The agent will send inform notifications

traphost

Host name of the trap host.

Advertising