Skip to main content

10.3.10 Enabling/Disabling SNMPv1 and SNMPv2c Communication


10.3.10 Enabling/Disabling SNMPv1 and SNMPv2c Communication
The community string for enabling SNMPv1 and SNMPv2c is Read-Only.
  1. Execute the showsnmp command to display the SNMP settings.
XSCF> showsnmp
  1. Execute the setsnmp command to enable SNMPv1 and SNMPv2c communication.
    The following example specifies the enablev1v2c operand to enable SNMPv1 and SNMPv2c.
XSCF> setsnmp enablev1v2c public
  1. The following example specifies the disablev1v2c operand to disable SNMPv1 and SNMPv2c.
XSCF> setsnmp disablev1v2c
  1. Execute the setsnmp command to enable the SNMP agent.
XSCF> setsnmp enable
  1. Execute the showsnmp command, and confirm that the agent is enabled/disabled.
XSCF> showsnmp