11-28-2008 06:48 AM - edited 03-06-2019 02:43 AM
Hi,
I use Cisco 857 routers for internet access.
I want to use logging to keep a record of when the internet connection is active, so that if there is a problem when I am not around, I can look back through the log, and identify whether the internet connection was functioning correctly.
I am not familiar with the logging options, is there a simple way to do this?
Thanks
Nick
11-28-2008 07:02 AM
*Update*
Here is the output of my show logging command:
Router#show logging
Syslog logging: enabled (1 messages dropped, 0 messages rate-limited,
0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
Console logging: level critical, 0 messages logged, xml disabled,
filtering disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level debugging, 90 messages logged, xml disabled,
filtering disabled
Logging Exception size (4096 bytes)
Count and timestamp logging messages: disabled
Persistent logging: disabled
Trap logging: level debugging, 94 message lines logged
Log Buffer (51200 bytes):
11-28-2008 04:08 PM
Nick
You'll need to configure the router for Syslog, which allows for logging messages to be sent a syslog server, which stores these messages and makes it easier for troubleshooting.
Assuming you have syslog (kiwi Syslog) running on a windows machine or a syslog daemon on UNIX in your network (X.X.X.X), configure logging on the 857
logging
host - syslog server address
logging trap
level - limits the messages logged on to the system, such as debugging, informational etc.
HTH
Lejoe
11-29-2008 02:59 AM
if you just want to enable local logging, go to global config mode and issue the logging buffered
logging buffered 4096 debugging
4096 is the minimum bytes configured and debugging is equal to level 7, which will include all syslogs from 0-6.
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: