cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
590
Views
0
Helpful
3
Replies

Logging options

nickc1976
Level 1
Level 1

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

3 Replies 3

nickc1976
Level 1
Level 1

*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):

lejoe.thomas
Level 3
Level 3

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.

http://www.cisco.com/en/US/products/sw/cscowork/ps2073/products_tech_note09186a00800a7275.shtml#topic1

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

johnlloyd_13
Level 9
Level 9

if you just want to enable local logging, go to global config mode and issue the logging buffered command. our routers are configured this way as an example:

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.

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:

Review Cisco Networking products for a $25 gift card