Solved

cisco router logging to syslog

Posted on 2001-06-11
6
359 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
  • 3
  • 2
6 Comments
 

Accepted Solution

by:
eumac earned 100 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SolarWinds reporting 2 31
Clarification about access via WAN 6 45
Ping Through ASA Firewall 6 59
Strange router problem - can't access hotmail.com 14 55
While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
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…

726 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