cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
520
Views
0
Helpful
2
Replies

SNMP Traps for NTP out of sync on Nexus 7k and 9k device

sean23
Level 1
Level 1

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.

2 Replies 2

marce1000
VIP
VIP

 

 - 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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

sean23
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card