To configure a network manager (station) to receive Snmp traps

To configure a station for receiving Snmp traps, you must first have an SnmpNetwork established and running in your station. You also need to have an SnmpDevice component in your network application for any devices that may potentially send out trap messages.
  1. Select the property sheet view of the SnmpNetwork component.
  2. Set the Snmp Receive Traps property, to True.
  3. Set the Receive Port property to the desired port number. (Port 162 is the default value).
  4. On the SnmpNetwork property sheet, click the Save button from the Menu bar. Snmp traps that are directed to the SnmpNetwork manager are received and routed to the alarm class specified under the “Traps” device extension Alarm Class property of the client device.
  5. In the property sheet view of any potential trap-generating SnmpDevice, expand the Traps device extension component and set the following two properties, as desired:
    • Alarm Class

      Set this property to the alarm class that you want to use to route traps that are received from the parent device.

    • Ignore Unrecognized Traps

      Set this property to True if you want to disregard trap messages (no alarm generation) that contain an unrecognized trap type. Set the property to False if you want to route all received traps to the designated alarm class, even if the trap type is not recognized.

  6. On the SnmpDevice property sheet, click the Save button. The Snmp trap generation is configured and enabled.