2-86
SPARC Enterprise Mx000 Servers XSCF User’s Guide • August 2009
Enabling/Disabling the SNMPv1 and SNMPv2c Communication
■
Command operation
1. Use the
showsnmp
(8) command to display SNMP settings.
2. Use the
setsnmp
(8) command to enable the SNMPv2c agent.
3. Use the
setsnmp
(8) command to enable the SNMP agent.
4. Use the
setsnmp
(8) command to confirm enabling/disabling of the SNMP.
Setting the SNMPv1 and SNMPv2c Trap
■
Command operation
1. Use the
showsnmp
(8) command to display the SNMP settings.
2. Use the
setsnmp
(8) command to set the SNMPv1 or SNMPv2c trap.
3. Confirm the SNMPv1 and SNMPv2c trap settings.
XSCF>
showsnmp
<Example 1> Enable SNMPv1 and SNMPv2c
XSCF>
setsnmp enablev1v2c public
<Example 2> Disable SNMPv1 and SNMPv2c
XSCF>
setsnmp disablev1v2c
XSCF>
setsnmp enable
XSCF>
showsnmp
XSCF>
showsnmp
<Example 1> Specifying the type for SNMPv2c.
XSCF>
setsnmp addtraphost -t v2 -s public host2
<Example 2> Specifying the type for SNMPv1.
XSCF>
setsnmp addtraphost -t v1 -s public host1
XSCF>
showsnmp
Summary of Contents for Sun SPARC Enterprise M3000
Page 4: ......
Page 52: ...1 26 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 252: ...4 32 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 272: ...5 20 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 348: ...A 6 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 366: ...C 6 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...
Page 398: ...Index 6 SPARC Enterprise Mx000 Servers XSCF User s Guide August 2009 ...