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.
You must have platadm privileges to run this command.
Privileges
Refer to setprivileges(8) for more information.
OPTIONS
The following options are supported:
-c system-contact
-d system-description
-h
Specifies the system contact information for the agent.
Specifies the system description for the agent.
Displays usage statement.
When used with other options or operands, an error
occurs.
setsnmp(8)
System Administration
279
Need help?
Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?
Questions and answers