From the course: Cisco CCNP Enterprise: ENCOR v1.2 (350-401) Cert Prep

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Syslog configuration

Syslog configuration

On a Cisco device, we have a few different options for syslog configuration. The most basic of those is using console logging, which we've examined when we're using the debug command. These syslog messages are presented directly to the console port, and those are visible when we're connected to the CLI in that manner. Other than direct console display, there are two main ways that Cisco devices can store syslog information. They can do those either in the internal buffer, or they can send those to an external storage device. If we use buffered logging, that's going to allow us to record our messages instead of simply displaying those in the console. And we can do that by going under Global Configuration Mode, and we can use the command Logging Buffered. And if we look at Contextual Help, you'll see that we can enter a buffer size in a numerical value, which is going to be listed in bytes. Now by default, the buffer size is going to be 4,096 bytes, which is pretty small. So if you're…

Contents