09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

use debug mode often. When using <strong>the</strong> default logging settings, all<br />

<strong>the</strong> debug messages are sent <strong>to</strong> <strong>the</strong> console. This makes using <strong>the</strong><br />

console <strong>to</strong> enter commands difficult, particularly if <strong>the</strong>re is a lot of<br />

debug message feedback. To avoid this, set <strong>the</strong> console's logging<br />

level <strong>to</strong> informational; this way, debug messages are set <strong>to</strong> <strong>the</strong><br />

system moni<strong>to</strong>r and <strong>the</strong> console is clear:<br />

local-AS#config t<br />

Enter configuration commands, one per line. End with CNTL/Z<br />

local-AS(config)#logging console informational<br />

local-AS(config)#^Z<br />

local-AS#<br />

Ano<strong>the</strong>r case where this is helpful is with <strong>the</strong> buffer logging method.<br />

Sending debug messages <strong>to</strong> <strong>the</strong> buffer will overwrite it ra<strong>the</strong>r quickly.<br />

If you plan <strong>to</strong> use buffered logging at all effectively, set its level at<br />

most <strong>to</strong> informational. Some care should be taken when using logging<br />

on routers with heavy processing load. Logging, like all router<br />

functions, uses memory and processor resources that can be used for<br />

processing datagrams. If <strong>the</strong>se resources are tight, logging and o<strong>the</strong>r<br />

nonessential services will affect router performance.<br />

Setting Up Trap Logging<br />

Sending router messages <strong>to</strong> a remote host running syslog is more<br />

useful than local logging methods, but it requires a little more work. In<br />

addition <strong>to</strong> configuring <strong>the</strong> router, you must set up a host <strong>to</strong> process<br />

<strong>the</strong> syslog messages. Syslog comes with most standard UNIX<br />

implementations and is available as an add-on service for Windows NT.<br />

Some resources for NT syslog are <strong>the</strong> following:<br />

http://www.kiwi-enterprises.com/<br />

http://www.adiscon.com/NTSLog/main.asp<br />

http://www.cls.de/syslog/eindex.htm<br />

Here is an IOS trap logging configuration example:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!