?
Solved

cisco router logging to syslog

Posted on 2001-06-11
6
Medium Priority
?
370 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 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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…

568 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