If Cisco devices(Switch & Routers)are not giving the latest logs after executing command "sh logg"(when i am excuting this command,then getting some un-proper logs that too for very old time,i.e. not recent log). PLease suggest how to enable the devices for provide latest logs for all interfaces i.e for fluctuations, down, console, clear counter and other necessary latest/recent logs as result for "Sh logg" command.
Perhaps there is something in your question that I am not understanding properly. When you do show logg on a router or switch it displays entries in the logging buffer, starting with the oldest messages. You may need to progress through the log using the space bar to advance to get to the recent entries.
If that is not the issue then perhaps you can clarify so that I understand the issue better.
Your log messages are using the router uptime to timestamp the logs. And that message was generated when the router had been up for 2 weeks and 4 days. And unless you have just done show version to see how long the router has been up, it is difficult to relate that timestamp to what time it really represents. I would suggest that you add this to your router configuration:
Yes you r right, Gr8..Thanks. Switch uptime is matching the timing reflecting in log.
uptime is 2 weeks, 5 days, 14 hours, 19 minutes.
Kindly share that what this suggested command will do "service timestamps log datetime localtime" just asking for gathering more info. As this Switch is in production with heavy traffic. hence before executing a command i need to the understand the purpose & scope of this command...please.
This command is a very low impact command and should not have any impact on processing by the switch. What the command does is to change the timestamp of log messages from using uptime (which is the default) to using date and time (which is more useful).
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...