setsunmc(8)
System Administration 299
NAME setsunmc - start or stop the Sun Management Center agent and make changes to its
configuration
SYNOPSIS setsunmc [enable|disable]
setsunmc [-s server] [-z seed] [-p agent_port] [-c community_string] [-t
trap_port] [-e event_port] [-a SNMP_agent_port] [-d dmn_agent_port]
setsunmc [-h]
DESCRIPTION When invoked with one or more options, setsunmc makes changes to the Sun
Management Center agent configuration, as described in the Options section.
When invoked with the operand enable, setsunmc activates the Sun Management
Center agent. This activation includes starting the Sun Management Center agent
and notifying the startup daemon to start the agent on subsequent reboots. When
invoked with the operand disable, the agent is stopped and the startup daemon
will be notified to disable starting the agent on subsequent reboots.
The operands cannot be used together with the options.
Privileges You m ust h ave platadm or fieldeng privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following options are supported. The options cannot be used together with the
operands.
-a SNMP_agent_port Specifies the listening port on the SNMP agent. The default
value is 161. Change this value only if you change the port
on the SNMP agent.
-c community_string Specifies the community string used for SNMPv1 trap host
snmp setup. The default value is public.
-d dmn_agent_port Specifies the port for the Sun Management Center agents
running on the domains. The default value is 1161. This
domain agent port is used during creation of a composite
object. Sun Management Center domain agents generally
use the same port to ensure proper creation of composite
object domains.
-e event_port Specifies the port on the Sun Management Center server to
which events are sent. The default value is 163.
-h Displays usage statement.
When used with other options or operands, an error occurs.
-p agent_port Specifies the port number that the Sun Management Center
agent listens on. The default value is 1161.