Disabling Traps to the Target Host of SNMPv1/SNMPv2c
Command operation
■
1. Use the showsnmp(8) command to display SNMP settings.
XSCF> showsnmp
2. Use the setsnmp(8) command to disable the trap destination host of the
SNMPv1 or SNMPv2c target.
<Example> Disables trap host for SNMPv2c type.
XSCF> setsnmp remtraphost -t v2 host2
3. Use the showsnmp(8) command to confirm the disabling of the target the trap
destination host.
XSCF> showsnmp
Initializing the SNMP Setting to the Default Value
Command operation
■
1. Use the showsnmp(8) command to display SNMP settings.
XSCF> showsnmp
2. Use the setsnmp(8) command to change the SNMP settings back to the default.
At this time, the SNMP agent becomes disabled.
XSCF> setsnmp default
3. Use the showsnmp(8) command to confirm that the SNMP setting returned to
the default.
XSCF> showsnmp
4. Set the SNMP again and enable the SNMP agent.
XSCF> setsnmp enable
Chapter 2
Setting Up XSCF
2-87
Need help?
Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?
Questions and answers