2-136 SPARC Enterprise Mx000 Servers XSCF User’s Guide • January 2012
Setting the SNMP Agent’s System Management Information and
Enabling/Disabling the SNMP Agent
â– Command operation
1. Use the showsnmp(8) command to display the SNMP settings.
2. Use the setsnmp(8) command to make the SNMP settings.
3. Use the setsnmp(8) command to enable the SNMP agent.
4. Confirm the SNMP settings.
<Example> Display of the status when no management information has
been set
XSCF> showsnmp
Agent Status: Disabled
Agent port: 161
System Location: Unknown
System Contact: Unknown
System Description: Unknown
:
<Example> Specifying the installation location of the system, system
description, and mail address of the administrator
XSCF> setsnmp -l MainTower21F -c foo@example.com -d DataBaseServer
<Example 1> Enabling the agent.
XSCF> setsnmp enable
<Example 2> Disabling the agent.
XSCF> setsnmp disable
XSCF> showsnmp
Agent Status: Enabled
Agent port: 161
System Location: MainTower21F
System Contact: foo@example.com
System Description: DataBaseServer
: