cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
922
Views
4
Helpful
3
Replies

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

danielbarri
Level 1
Level 1

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

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

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: