SNMP Traps port management

Last updated on:

Overview

The SNMP Trap listener port management capability allows you to configure and control how SNMP traps are received from devices that are added for monitoring. This includes setting up trap destination ports, enabling or disabling the SNMP Trap listener ports, editing port values, and managing SNMP credentials for various protocol levels (V1, V2c, V3). This helps maintain secure and accurate log ingestion from SNMP-supported devices.

Configuring a device to send SNMP traps

NOTE To configure a network device to send SNMP traps, ensure that SNMP is enabled in the product, and then enable traps in your network device.
  1. In the product console, navigate to the Settings tab and click on Listener ports listed under System Settings as shown in the below image.
    SNMP Traps port management
    Image 1: SNMP Traps listener ports configuration via the Settings tab
  2. You will be taken to the Listener Ports segment. You can find the fields listed under Manage SNMP Traps Listener Port, as highlighted below.
    SNMP Traps port management
    Image 2: Managing SNMP Traps ports under the listener ports configuration
  3. In your device settings configuration, set the trap destination host address to the IP address or the hostname of the corresponding product's server.
  4. Set the trap destination port to 162 or to the SNMP port configured in the product—Log360, EventLog Analyzer, and Log360 Cloud.
  5. Specify the SNMP credentials that are already configured.
  6. Save the configuration.
NOTE By default, the product's server listens to port 162 (UDP) for SNMP traps.

Manage SNMP Trap listener ports

Enable/disable SNMP Trap listener port

Enabling an SNMP Trap listener port

  1. Click on the currently disabled icon disable-icon under the Actions column to enable the port.
  2. As soon as you perform this action, the icon indicates that the port is now enabled enable-icon and the below pop-up message appears briefly.
    SNMP Traps port management

Disabling an SNMP Trap listener port

  1. Click on the currently enabled icon enable-icon under the Actions column to disable the port.
  2. As soon as you perform this action, the icon indicates that the port is now disabled disable-icon and the below pop-up message appears briefly.
    SNMP Traps port management

Edit SNMP Trap listener port

To edit the port using which Log360 listens to SNMP traps:

  1. Click on the Edit icon under the Actions column to edit the respective SNMP Trap port. The Edit SNMP Trap listener Port pop-up appears as shown below.
    SNMP Traps port management
  2. Enter the desired port number and click on Update.
  3. Upon successfully enabling, the below pop-up appears. The edits are instantly made, and you can see the updated configuration in the console.
    SNMP Traps port management

Updating credentials for SNMP Trap

  1. Click on the Credentials button under the Credentials field. The SNMP Trap - Credentials Table pop-up appears.
    SNMP Traps port management
  2. Click on the Add Credential button to add a new SNMP credential. The Add SNMP Credentials pop-up appears as below.
    SNMP Traps port management
  3. Fill in the required fields
    • Enter the Credential Name for SNMP Credential.
    • Select the required Credential Level.
    • Enter the desired Port number. This port will only be used by the workflow and syslog device discovery modules.

      There are two different cases based on the Credential Level you have chosen.

      SNMP Traps port management

      Case 1: If the required Credential Level is chosen as either V1 or V2c

      SNMP Traps port management

      The SNMP V1/V2C will also require you to provide the Community String for SNMP Trap and discovery.

      Case 2: If the required Credential Level is chosen as V3

      SNMP Traps port management
    • Choose a Security Level from the drop-down.
      SNMP Traps port management
    • Enter the User Name.
    • Enter the Engine ID. This will be used for trap collection and sending traps in workflows.
    • Select the SNMPV3 credential's Authentication Level.
      SNMP Traps port management
    • Enter the Authentication Phrase for SNMPv3 credential.
    • Select the SNMPV3 credential's Privacy Level.
      SNMP Traps port management
    • Enter Privacy Phrase for SNMPv3 credential.
  4. After filling all the required fields, click on Add.
  5. Upon successful completion of the action, the below pop-up appears.
    SNMP Traps port management
NOTE

When a device not added to the product's server starts sending SNMP traps to the product, it will automatically be listed under Other Devices in Settings > Configuration > Manage Devices. Additionally, it will be listed under General Applications as SNMP Trap Application.

The credentials added here can be used when discovering devices via Settings > Configuration > Manage Devices > Syslog Devices and credentials added while discovering devices can be used for SNMP trap collection.

Read also

This document covered how to configure SNMP Trap listener ports, enable or disable port access, and update SNMP credentials in Log360. For more on network device integration and log ingestion methods, refer to the following page: