Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Recovering the Lost SNMP Traps

    SNMP traps can be lost during startup of the E Series router for one of the following reasons:

    1. The SNMP agent begins sending SNMP traps to the host before the line module is initialized.
    2. If the SNMP proxy virtual router is initialized after other virtual routers, traps generated by the other virtual routers and sent to the proxy router are lost.

    To recover SNMP traps that are lost during system startup, the SNMP agent pings the configured trap host to identify that there is a communication path between E Series router and host. On successful ping acknowledgment, the lost traps are reconstructed for each virtual router. In the case of scenario 1, the reconstructed traps are sent to the proxy virtual router to be routed to the appropriate hosts. In the case of scenario 2, the traps are sent directly to the appropriate hosts.

    You can configure the ping timeout window with the snmp-server host command. The value range for the ping timeout is 1 through 90 minutes. The following are guidelines for setting the maximum ping window:

    • If you are losing traps because of scenario 1, base the maximum ping window time on the estimated time that it takes to establish connectivity in a particular network. (For some configurations it can take more than 30 minutes to establish connectivity.)
    • If you are losing traps because of scenario 2, we recommend that you use the default value for the maximum ping window time, which is one minute.

    To set the ping timeout for the host that is receiving SNMP traps:

    • Execute the snmp-server host command with the pingtimeout in Global Configuration mode.
      host1(config)#snmp-server host pingtimeout 2

      Use the no version to remove the SNMP host.

    Published: 2014-08-12