A SERVICE OF

logo

setsnmp(8)
System Administration 279
NAME setsnmp - manage the SNMP agent
SYNOPSIS setsnmp enable [ mib_name]
setsnmp disable [ mib_name]
setsnmp addtraphost -t type -s community-string [-p trap-port] traphost
setsnmp remtraphost -t type traphost
setsnmp addv3traphost -u username -r authentication-protocol {-n
engine_id|-i} [ -a authentication-password] [ -e encryption-password] [-p trap-port
] traphost
setsnmp remv3traphost -u username traphost
setsnmp enablev1v2c read-only-community-string
setsnmp disablev1v2c
setsnmp [-l system-location] [-c system-contact] [-d system-description] [-p agent-
port]
setsnmp default
setsnmp -h
DESCRIPTION setsnmp(8) enables or disables the SNMP agent, as well as configures the SNMP
agent settings.
Privileges You must have platadm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following options are supported:
-c system-contact Specifies the system contact information for the agent.
-d system-description Specifies the system description for the agent.
-h Displays usage statement.
When used with other options or operands, an error
occurs.