07-17-2023 07:21 PM - edited 07-17-2023 08:14 PM
Need some help on creating some SNMP traps for NTP that are out of sync on Nexus 7k and 9k devices.
Could not find any cisco docs or config for configuring SNMP traps on a nexus device. I've found this document below but doesn't really help.
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/best_practices/cli_mgmt_guide/cli_mgmt_bp/ip_mgmt.html#wp1053158
Prefer to use SNMP traps but worst case other option is just creating an EEM script. Thanks.
07-17-2023 11:25 PM
- FYI : https://www.cisco.com/c/en/us/td/docs/dcn/nx-os/nexus9000/102x/configuration/system-management/cisco-nexus-9000-series-nx-os-system-management-configuration-guide-102x/m-configuring-snmp-10x.html#task_C1F983A3DCE545F996B2553FF6A44043
Also use : (config)# snmp-server enable traps
M.
07-26-2023 06:11 PM
Anyone else able to assist here please?
I was able to perform some lab testing on a Cisco 9k Image but was unable to generate any SNMP traps cause their was no options available through an EEM script.
+ Configured NTP and an SNMP server
+ Wasn't able to get SNMP traps through EEM script - No options available
+ Was able to get "out of sync" message for NTP only when I ran a debug
So my question is it possible to generate SNMP Traps on a nexus 9k switch when a time is out of sync?
Much appreciated
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