cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
688
Views
4
Helpful
3
Replies
danielbarri
Beginner

How to trigger a log message when a routers CPU is high loaded

Hi

A router (c6500-sup720) has experiencing high CPU load from time to time. Is there any way to "tell" the router to generate a log message when CPU load is over 80%.

3 REPLIES 3
mounir.mohamed
Rising star

Dear dbarrientos,

6500 is one of the Cisco Catalyst Switches

(Depending on the device software IOS/Cat-OS) use the below command on the MSFC module if you are hyper IOS or on the global configuration mode in Native IOS

Core2(config)#logging buffered ?

<0-7> Logging severity level

<4096-2147483647> Logging buffer size

alerts Immediate action needed (severity=1)

critical Critical conditions (severity=2)

debugging Debugging messages (severity=7)

emergencies System is unusable (severity=0)

errors Error conditions (severity=3)

informational Informational messages (severity=6)

notifications Normal but significant conditions (severity=5)

warnings Warning conditions (severity=4)

xml Enable logging in XML to XML logging buffer

Also during the CPU problem try to issue the command Show proc CPU and check which running process consuming large CPU

Please Rate helpful posts.

Best Regards,

Mounir Mohamed

The router (sup720) is configured with logging severity level 7. Shouldn't the router generate log messages when the CPU is loaded to 99%? In our case it doesn't.

We know that the posible cause of this is high amount of Input queue drops on one of gig interfaces. I think it's because of a broadcast storm, and we need to identify the source of it

What do I need is that the router should generate a trap when the CPU load is above 50%(for example). In this way someone at management can start a capture of packets comming to the router via one of its interfaces. How can I achieve that?

Thanks

jayjorda
Cisco Employee

CPU Thresholding Notification will do this via an SNMP trap.

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_white_paper09186a00801cd87d.shtml

You will have to check feature navigator however to see if it's available for the Sup720 yet.

Jay