Book Image

Understanding TCP/IP

By : CP Books a.s.
Book Image

Understanding TCP/IP

By: CP Books a.s.

Overview of this book

This book covers in detail the Open System Interconnection (OSI) reference model and the TCP/IP protocols that operate that different layers. Its coverage includes various application protocols. The authors explain in an easy-to-read style networking concepts and protocols, with examples that make the book a practical guide in addition to its coverage of theory.
Table of Contents (20 chapters)
19
Index

A.7 Debugging

The aim is to audit events as they occur. We will be interested in the following two types:

  1. Events that occurred during the running of the system. That includes, for example, an interface switched into the Up or Down mode, whether the router configuration has been changed, etc.
  2. Events defined by the administrator. The administrator defines a trap, such as writing a report when a protocol data packet has been sent.

First, we have to specify in the configuration where the individual event records will be written. This can be done by entering the logging command in the configuration file:

Router# configure terminal
Router(config)# logging console 7

This command will print out the output of event records onto the console. The number 7 specifies the most detailed statement. Lower numbers indicate less detailed statements, with 0 being the least detailed. If we also want to have traps recorded, then we add another command (which is important especially for recording events via a network...