cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1769
Views
0
Helpful
4
Replies

migrating IOS to NX-OS equivalent command snmp-server enable traps config

f.adelsberger
Level 1
Level 1

Hello,

I am trying to figure out what is the equivalent command to configure the IOS "snmp-server enable traps config" on a Nexus 5020 running NX-OS version 4.2.1.N2.1 ,can someone please help me with this problem.

Also I would like to know if there is a cisco howto document or tool to migrate from IOS to NX-OS  ?

Any help is greatly appreciated

Thanks

Frank

4 Replies 4

Prashanth Krishnappa
Cisco Employee
Cisco Employee

I see same command in my lan N5k. Also config change trap is enabled by default

24.10.5020A.1(config)# show ver | inc .bin
  kickstart image file is: bootflash:/n5000-uk9-kickstart.4.2.1.N2.1.bin
  system image file is:    bootflash:/n5000-uk9.4.2.1.N2.1.bin
24.10.5020A.1(config)# snmp-server enable traps c?
  callhome  Module notifications enable
  cfs       Module notifications enable
  config    Module notifications enable

24.10.5020A.1(config)# show snmp trap | grep config
config               : ccmCLIRunningConfigChanged                   Yes
24.10.5020A.1(config)#

Is the Nexus 5000 not generating a trap after a config change?

Hello,

both Nexus 5k are not generating a trap after a config change, because on both Nexus running same NX-OS version show up the snmp-server enable traps config command. This is really strange behavior, because we are using the same software version for the Nexus 5k devices it doesn't make sense to me. In the meantime I checked the command line guide for this software version but the command wasnt showing up.


nx5k-mt-2# show snmp trap | grep config
nx5k-mt-2#
nx5k-mt-2# show snmp trap
--------------------------------------------------------------------------------
Trap type                                                              Enabled
--------------------------------------------------------------------------------
entity               : entity_mib_change                            Yes
entity               : entity_module_status_change                  Yes
entity               : entity_power_status_change                   Yes
entity               : entity_module_inserted                       Yes
entity               : entity_module_removed                        Yes
entity               : entity_unrecognised_module                   Yes
entity               : entity_fan_status_change                     Yes
link                 : linkDown                                     Yes
link                 : linkUp                                       Yes
link                 : extended-linkDown                            Yes
link                 : extended-linkUp                              Yes
link                 : cieLinkDown                                  Yes
link                 : cieLinkUp                                    Yes
link                 : connUnitPortStatusChange                     Yes
link                 : fcTrunkIfUpNotify                            Yes
link                 : fcTrunkIfDownNotify                          Yes
link                 : delayed-link-state-change                    Yes
link                 : fcot-inserted                                Yes
link                 : fcot-removed                                 Yes
callhome             : event-notify                                 Yes
callhome             : smtp-send-fail                               Yes
cfs                  : state-change-notif                           Yes
cfs                  : merge-failure                                Yes
fcdomain             : dmNewPrincipalSwitchNotify                   Yes
fcdomain             : dmDomainIdNotAssignedNotify                  Yes
fcdomain             : dmFabricChangeNotify                         Yes
rf                   : redundancy_framework                         Yes
aaa                  : server-state-change                          Yes
license              : notify-license-expiry                        Yes
license              : notify-no-license-for-feature                Yes
license              : notify-licensefile-missing                   Yes
license              : notify-license-expiry-warning                Yes
scsi                 : scsi-disc-complete                           Yes
fcns                 : reject-reg-req                               Yes
fcns                 : local-entry-change                           Yes
fcns                 : db-full                                      Yes
fcns                 : remote-entry-change                          Yes
rscn                 : rscnElsRejectReqNotify                       Yes
rscn                 : rscnIlsRejectReqNotify                       Yes
rscn                 : rscnElsRxRejectReqNotify                     Yes
rscn                 : rscnIlsRxRejectReqNotify                     Yes
fcs                  : request-reject                               Yes
fcs                  : discovery-complete                           Yes
fctrace              : route                                        Yes
zone                 : request-reject1                              Yes
zone                 : merge-success                                Yes
zone                 : merge-failure                                Yes
zone                 : default-zone-behavior-change                 Yes
zone                 : unsupp-mem                                   Yes
vsan                 : vsanStatusChange                             Yes
vsan                 : vsanPortMembershipChange                     Yes
fspf                 : fspfNbrStateChangeNotify                     Yes
upgrade              : UpgradeOpNotifyOnCompletion                  Yes
upgrade              : UpgradeJobStatusNotify                       Yes
feature-control      : FeatureOpStatusChange                        Yes
snmp                 : authentication                               Yes
nx5k-mt-2#
nx5k-mt-2#

I tested in my lab and I am seeing config change traps fine on my host.

You will not see it configuration since its default configuration. Are you seeing

other traps fine? If so, I say time to open a TAC case

Hi,

other traps are  working fine, no problem at all .I will open a case at the Cisco TAC.

Thank you very much for your help

Frank

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: