when you enter the command clear log then the switch clears its local logging buffer. When that buffer is cleared then you can no longer see the (previous) content on the switch.
I see from the output that you are logging to a syslog server at 10.370.103. Depending on how the syslog server is configured and what its retention policies are, then you should be able to see you log messages from the switch where they are stored on the syslog server.
The logging buffer by default varies from platform to platform, as does the logging level associated with it.
If you would like to log to your syslog and to your buffer concurrently, you can do that.
You could add the command 'logging buffered 1000000 debugging'. This would add 1 MB of a logging buffer at the highest level. There's a good chance right now that the logging buffer is set to only log errors and lower rather than debugging.
which clearly shows that your logging buffer is already operating at level debugging.
To answer your other question, no, setting the logging level to debugging will not start a debugging process and will not cause any extra load on the CPU. All that it does is to enable writing messages to the logging buffer and to control the severity level of messages that will be accepted in the logging buffer. And if you go into config mode and exit from config mode then it should put a line into the logging buffer showing that.
Logging buffered only allows for the router to use some RAM to put debugs. It's like opening a cardboard box. You're not putting things in it, but you can. And this is a 1 MB cardboard box. Logging to the buffer creates almost no CPU utilization. I've done 'debug all' on routers with this before (albeit not much traffic on them) and the CPU utilization was below 10%.
Yes, going to config mode and exiting is an easy way of testing logging.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...