Hitachi

JP1 Version 12 JP1/Network Node Manager i Setup Guide


21.8.2 Block SNMPv1 or SNMPv2c Traps

Despite configuring device discovery to use only SNMPv3, some managed nodes may still try to send SNMPv1 or SNMPv2c traps to the NNMi management server. To prevent any SNMPv1 or SNMPv2c traps from reaching the NNMi management server, it is recommended that you configure NNMi to accept only SNMPv3 traps and block all SNMPv1 and SNMPv2c traps.

Note: Before completing this configuration procedure, make sure that NNMi is configured to discover your network with the SNMPv3 protocol.

  1. Log on to the NNMi management server.

  2. Run the following command:
    • Windows:
      %NnmInstallDir%bin\nnmtrapconfig.ovpl -setProp disallowV1V2 -persist
    • Linux:
      /opt/OV/bin/nnmtrapconfig.ovpl -setProp disallowV1V2 -persist
  3. Do one of the following:
    • Windows: Restart the NNM TrapReceiver service from the Services window.

    • Linux: Run the following commands:

      - For distributions that uses systemd to manage services
      /opt/OV/bin/nettrap stop
      /opt/OV/bin/nettrap start
      - Other distributions
      /etc/init.d/nettrap stop
      /etc/init.d/nettrap start