As a network engineer, it is important to ensure that you understand how to configure EIGRP to log and report on events, such as neighbor relationship resets. EIGRP event logging configuration parameters are configured in router configuration mode. These options are illustrated in the following output:
| R2(config)#router eigrp 150 R2(config-router)#eigrp ? event-log-size Set EIGRP maximum event log entries event-logging Log IP-EIGRP routing events log-neighbor-changes Enable/Disable IP-EIGRP neighbor logging log-neighbor-warnings Enable/Disable IP-EIGRP neighbor warnings router-id router-id for this EIGRP process stub Set IP-EIGRP as stubbed router |
The eigrp event-logging router configuration command is enabled by default. This EIGRP command enables the router to store a log of EIGRP events, such as when a metric for a route changes and an Update message is sent to a neighbor or group of neighbors. The contents of the EIGRP log can be viewed by issuing the show ip eigrp events command as follows:
| R2#show ip eigrp event Event information for AS 150: 1 13:15:27.440 Change queue emptied, entries: 1 2 13:15:27.440 Route OBE net/refcount: 150.1.1.0/24 1 3 13:15:27.440 Metric set: 150.1.1.0/24 3011840 4 13:15:27.440 Update reason, delay: metric chg 512000 5 13:15:27.440 Update sent, RD: 150.1.1.0/24 2169856 6 13:15:27.440 FC sat rdbmet/succmet: 3011840 0 7 13:15:27.440 FC sat nh/ndbmet: 0.0.0.0 2169856 8 13:15:27.440 Find FS: 150.1.1.0/24 2169856 9 13:15:27.440 Rcv update met/succmet: 3011840 0 … [Output Truncated] … |
The entries in the event log are listed with the most recent first. By default, the EIGRP event log stores up to 500 lines of events. This default behavior can be configured using the event-log-size <0-443604> router configuration command. The following example illustrates how to configure an event log size of five (5) lines:
| R2(config)#router eigrp 150 R2(config-router)#eigrp event-log-size 5 R2(config-router)#exit |
The eigrp log-neighbor-changes router configuration command allows the router to log EIGRP neighbor relationship changes. This command is enabled by default. The eigrp log-neighbor-warnings [seconds] router configuration command is also enabled by default. This command logs EIGRP neighbor warning messages at 10-second intervals. This default interval can be configured to any value between 1 and 65535 seconds. The following example illustrates how to configure the router to log neighbor warnings in 5-second intervals:
| R2(config)#router eigrp 150 R2(config-router)#eigrp log-neighbor-warnings 5 |