cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1281
Views
1
Helpful
10
Replies

Error SNMP-MANAGEMENT AGENT LOST in Cisco Switch C9300,C9500,C9600

AudiAcc
Level 1
Level 1

Hello everyone,

We're having an SNMP issue with some Catalyst switches. We get ''SNMP-MANAGEMENT AGENT LOST'' error and after some hours or days it was fixed automatically.

the whole config for snmp is correct and the other switches work without problem.

Can someone please tell me how can I fix it?

Thanks 

10 Replies 10

marce1000
VIP
VIP

 

 - This looks more like a problem with your SNMP manager (management) software/tool ; you can for instance have a look at the logs  on the Cisco switches but even more from the SNMP manager itself, 

 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! '

balaji.bandi
Hall of Fame
Hall of Fame

what version of IOS XE Code ? where is your NMS / SNMP Server ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the following commands: 

  1. sh version
  2. sh platform soft status con brief
  3. sh snmp oid stats

AudiAcc
Level 1
Level 1

Hello ,

thanks for your comments.

#show version
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 53 C9300L-48P-4X 17.03.04 CAT9K_IOSXE INSTALL


#show platform software status control-processor brief
Load Average
Slot Status 1-Min 5-Min 15-Min
1-RP0 Healthy 0.33 0.31 0.28

Memory (kB)
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
1-RP0 Healthy 7946364 2733812 (34%) 5212552 (66%) 3263892 (41%)

CPU Utilization
Slot CPU User System Nice Idle IRQ SIRQ IOwait
1-RP0 0 4.49 1.59 0.00 93.90 0.00 0.00 0.00
1 4.09 1.89 0.00 94.00 0.00 0.00 0.00
2 3.30 2.10 0.00 94.60 0.00 0.00 0.00
3 7.20 1.00 0.00 91.79 0.00 0.00 0.00


#show snmp stats oid
time-stamp #of times requested OID
09:41:00 Berlin May 9 2023 6 sysUpTime
09:41:00 Berlin May 9 2023 223 dot3StatsEntry.13
09:41:00 Berlin May 9 2023 133 ifHCInOctets
09:41:00 Berlin May 9 2023 448 ifInUcastPkts
09:41:00 Berlin May 9 2023 6 ifOutErrors
09:41:00 Berlin May 9 2023 364 ifOutUcastPkts
09:41:00 Berlin May 9 2023 262 ifHCInUcastPkts
09:41:00 Berlin May 9 2023 220 dot3StatsEntry.16
09:41:00 Berlin May 9 2023 432 ifOutBroadcastPkts
09:41:00 Berlin May 9 2023 212 dot3StatsEntry.8
09:41:00 Berlin May 9 2023 190 dot3StatsEntry.11
09:41:00 Berlin May 9 2023 224 ifHCInMulticastPkts
09:41:00 Berlin May 9 2023 229 dot3StatsEntry.9
09:41:00 Berlin May 9 2023 440 ifInUnknownProtos
09:41:00 Berlin May 9 2023 134 ifHighSpeed
09:41:00 Berlin May 9 2023 435 ifHCOutMulticastPkts
09:41:00 Berlin May 9 2023 437 ifHCOutBroadcastPkts
09:41:00 Berlin May 9 2023 3 dot3StatsEntry.2
09:41:00 Berlin May 9 2023 104 ifHCOutUcastPkts
09:41:00 Berlin May 9 2023 148 dot3StatsEntry.5
09:41:00 Berlin May 9 2023 445 ifInErrors
09:41:00 Berlin May 9 2023 416 ifInMulticastPkts
09:41:00 Berlin May 9 2023 310 ifSpeed
09:41:00 Berlin May 9 2023 435 ifOutOctets
09:41:00 Berlin May 9 2023 265 ifHCOutOctets
09:41:00 Berlin May 9 2023 215 ifInDiscards
09:41:00 Berlin May 9 2023 438 ifOutMulticastPkts
09:41:00 Berlin May 9 2023 419 ifInBroadcastPkts
09:41:00 Berlin May 9 2023 428 ifHCInBroadcastPkts
09:41:00 Berlin May 9 2023 423 dot3StatsEntry.19
09:41:00 Berlin May 9 2023 124 ifOutDiscards
09:41:00 Berlin May 9 2023 229 dot3StatsEntry.10
09:41:00 Berlin May 9 2023 159 dot3StatsEntry.4
09:41:00 Berlin May 9 2023 468 ifInOctets
09:41:00 Berlin May 9 2023 208 dot3StatsEntry.7
09:41:00 Berlin May 9 2023 135 dot3StatsEntry.3
09:40:57 Berlin May 9 2023 212 ifOperStatus
09:40:57 Berlin May 9 2023 211 ifAdminStatus
09:40:53 Berlin May 9 2023 290 ifHCInOctets
09:40:53 Berlin May 9 2023 33 ifOutErrors
09:40:53 Berlin May 9 2023 114 ifHCInMulticastPkts
09:40:53 Berlin May 9 2023 407 ifHighSpeed
09:40:53 Berlin May 9 2023 274 ifHCOutUcastPkts
09:40:53 Berlin May 9 2023 217 ifInDiscards
09:40:51 Berlin May 9 2023 1 cipSecTunRemoteAddr
09:40:51 Berlin May 9 2023 1 cipSecTunLocalAddr
09:40:51 Berlin May 9 2023 1 cipsCryptomapSetIfStatus
09:40:51 Berlin May 9 2023 1 cipsStaticCryptomapType
09:40:51 Berlin May 9 2023 1 cipsStaticCryptomapPeer
09:40:50 Berlin May 9 2023 2 ipAddressEntry.4
09:40:50 Berlin May 9 2023 2 ipAddressEntry.3
09:40:50 Berlin May 9 2023 1 system.2
09:40:50 Berlin May 9 2023 2 ipAddrEntry.3
09:40:50 Berlin May 9 2023 2 ipAddrEntry.2
09:40:50 Berlin May 9 2023 2 ipAddrEntry.1
09:40:49 Berlin May 9 2023 18 sysUpTime
09:40:49 Berlin May 9 2023 112 ifHCInUcastPkts
09:40:31 Berlin May 9 2023 124 dot3StatsEntry.2
09:39:46 Berlin May 9 2023 1 cpmCPUTotalEntry.15
09:39:46 Berlin May 9 2023 1 cpmCPUTotalEntry.12
09:39:46 Berlin May 9 2023 1 cpmCPUTotalEntry.14
09:39:46 Berlin May 9 2023 1 cpmCPUTotalEntry.27
09:39:46 Berlin May 9 2023 1 cpmCPUTotalEntry.13
09:39:46 Berlin May 9 2023 1 ccdPrbsIfAction
09:39:45 Berlin May 9 2023 16 sysUpTime
09:39:15 Berlin May 9 2023 150 ifHCOutOctets
09:39:11 Berlin May 9 2023 1 snmpEngine.3
09:39:11 Berlin May 9 2023 1 snmpEngine.2
09:39:11 Berlin May 9 2023 1 ifTableLastChange
09:39:11 Berlin May 9 2023 2 ifStackLastChange
09:39:11 Berlin May 9 2023 1 system.6
09:39:11 Berlin May 9 2023 1 sysUpTime
09:39:11 Berlin May 9 2023 1 ifNumber
09:39:11 Berlin May 9 2023 1 system.1
09:39:03 Berlin May 9 2023 44 sysUpTime
09:39:03 Berlin May 9 2023 85 ifOutErrors
09:38:28 Berlin May 9 2023 2 ciscoEnvMonTemperatureStatusEntry.3
09:37:24 Berlin May 9 2023 1 cpmCPUTotalEntry.7
09:37:24 Berlin May 9 2023 2 cpmCPUTotalEntry.6
09:37:24 Berlin May 9 2023 1 cpmCPUTotalEntry.11
09:37:24 Berlin May 9 2023 3 cpmCPUTotalEntry.8
09:37:24 Berlin May 9 2023 1 cpmCPUTotalEntry.9
09:37:24 Berlin May 9 2023 2 cpmCPUTotalEntry.10
09:37:20 Berlin May 9 2023 7 sysUpTime
09:37:11 Berlin May 9 2023 3 snmpEngine.3
09:37:11 Berlin May 9 2023 1 snmpEngine.2
09:37:11 Berlin May 9 2023 1 ifTableLastChange
09:37:11 Berlin May 9 2023 2 ifStackLastChange
09:37:11 Berlin May 9 2023 1 system.6
09:37:11 Berlin May 9 2023 1 sysUpTime
09:37:11 Berlin May 9 2023 1 ifNumber
09:37:11 Berlin May 9 2023 1 system.1
09:37:11 Berlin May 9 2023 30 sysUpTime
09:36:46 Berlin May 9 2023 1 ccdPrbsIfAction
09:36:02 Berlin May 9 2023 4 ciscoEnvMonTemperatureStatusEntry.3
09:35:43 Berlin May 9 2023 6 entPhysicalEntry.8
09:35:43 Berlin May 9 2023 84 entPhysicalEntry.7
09:35:43 Berlin May 9 2023 1 sysUpTime
09:35:43 Berlin May 9 2023 1 cpmCPUTotalEntry.21
09:35:43 Berlin May 9 2023 1 cpmCPUTotalEntry.20

 

 

I have no log in my switch. I'm getting an SNMP alert on the monitoring application (Spectrum).

What error message, "Management Agent Lost"?

yes, exactly.

Finally I reboot the switch and now the alarm is resolved and I should be monitoring it.

DO you have DNAC?

no, we have not.

Some of the SNMP process may have blown up.  This is a very common behaviour. 

Reboot the stack as a workaround or upgrade to a different firmware train, like 17.9.3.