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

Get Understanding TCP/IP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.