04-09-2012 11:42 AM - edited 03-07-2019 06:01 AM
Hi everyone,
I have been trying to configure my Cisco 1941 ISR to send traps to my NMS. There is a setting to configure timeout for TRAP message retransmissions but it doesn't state anywhere how many times a trap message is retransmitted. Does anyone know the default as to how many times a TRAP message is retransmitted for a particular event?
Please advise.
Solved! Go to Solution.
04-09-2012 01:41 PM
Hi Ricky,
The TRAP message is retranmitted when the Trap timeout expires. The default value is 30 sec.
Read the next link by cisco.com for additional details and config example
Before the Cisco IOS software tries to send a trap, it looks for a route to the destination address. If there is no known route, the trap is saved in a retransmission queue. Theserver trap-timeout command determines the number of seconds between retransmission attempts.
The following example sets an interval of 20 seconds to try resending trap messages on the retransmission queue:
snmp-server trap-timeout 20
http://www.cisco.com/en/US/docs/ios/12_1/configfun/command/reference/frd3001.html#wp1023262
Hope that helps!
Vasilis
04-09-2012 01:41 PM
Hi Ricky,
The TRAP message is retranmitted when the Trap timeout expires. The default value is 30 sec.
Read the next link by cisco.com for additional details and config example
Before the Cisco IOS software tries to send a trap, it looks for a route to the destination address. If there is no known route, the trap is saved in a retransmission queue. Theserver trap-timeout command determines the number of seconds between retransmission attempts.
The following example sets an interval of 20 seconds to try resending trap messages on the retransmission queue:
snmp-server trap-timeout 20
http://www.cisco.com/en/US/docs/ios/12_1/configfun/command/reference/frd3001.html#wp1023262
Hope that helps!
Vasilis
04-09-2012 02:50 PM
Hi Vasilis, thanks for your reply and clearing it up for me. Cheers!
04-10-2012 10:42 AM
Hi Vasilis,
I ran a debug snmp packets and noticed the router continuously keeps transmitting a same trap over and over again even though I have a route and connectivity with the NMS.
I notice the same cellular trap goes out every few seconds. Any ideas?
04-10-2012 02:34 PM
Hi Ricky,
it is very possible that this event is triggered again and again and so you have these traps every few seconds (there are not retransmission of the same event).
You can check the number of total outut snmp traps with the show snmp coomand.
If you do not need to send these traps you can remove these extra tabs
For example, issue these commands to make a Cisco IOS Software device report only configuration, Border Gateway Protocol (BGP)traps to Network Management System 10.10.10.10,:
snmp-server host 10.10.10.10 public config bgp snmp-server enable traps config snmp-server enable traps bgp
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a05.shtml
Hope that helps!
Vasilis
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide