You can use the show logging command to view any messages that are logged. When the logging buffer is large, it is helpful to use the pipe option (|) with the show logging command. The pipe option allows the administrator to specifically state which messages should be displayed.

For example, issuing the show logging | include changed state to up command, as shown in Figure 1, ensures that only interface notifications stating that the interface has “changed to state up”, will be displayed.

Also shown in Figure 1, issuing the show logging | begin June 12 22:35 command displays the contents of the logging buffer that occurred on or after June 12.

Use the Syntax Checker in Figure 2 to configure and verify the syslog on R1.