?
Solved

cisco router logging to syslog

Posted on 2001-06-11
6
Medium Priority
?
367 Views
Last Modified: 2009-07-29
Hi everyone,

What is the behavior of cisco router when it is configured with

logging buffered 10000
logging host ipaddress

Does the router flushes the buffer to the syslog server when it's full? Or does it log at the same time?

Someone told me that if it's configured that way, it will dump the old buffer to a syslogd server when it's buffer is full.

Please enlighten me on this matter.

Thanks.
0
Comment
Question by:rcamara
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 

Accepted Solution

by:
eumac earned 400 total points
ID: 6176750
A syslog message will be sent every time one is generated. The buffer will also fill with messages up to capacity. It will overright the oldest as it gets full. By increasing the buffer you will have a local (on the router) history of the last X number of messages.
The second command sets up the IP address of the Syslog server that the Cisco should send its messages to.
0
 

Expert Comment

by:boyntont
ID: 6176757
The logging buffered 10000 command determines the size of the buffer used to store syslog messages so that they they can be viewed using the sh logging command.  It does not empty when the buffer is full.  It is just a revolving buffer.  The old messages get removed from the buffer when new ones are added.  This command is pretty much just for convenience so that the logged in user can view the recent messages produced by the IOS.  The loggin host ipaddress points to the syslog server.  Each time a message is produced it is sent immediately to that server as well as stored in the buffer so that it can be viewed by the sh logging command.  You do not need the logging buffered 10000 command in order to get messages sent to the syslogd server.
0
 

Expert Comment

by:boyntont
ID: 6176766
The default for loggin buffer size is 4096 bytes.  You do not have to configure this.  It is configured by default.

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:boyntont
ID: 6176773
If you have a CCO account @ Cisco you can view this url that will tell you all about it.

http://www.cisco.com/univercd/cc/td/doc/product/iaabu/pix/pix_v53/config/commands.htm#xtocid223336

0
 

Author Comment

by:rcamara
ID: 6179983
Btw, I just passed CCNA. What career path should I take? :-)
0
 

Author Comment

by:rcamara
ID: 6179986
how come, i was actually accepting boyntont answer but it went to eumac.
0

Featured Post

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question