Name

logging buffered — global

Synopsis

logging buffered [size] [level]
no logging buffered

Configures

Messages logged to the internal buffer

Default

Depends on the platform; usually enabled

Description

This command enables logging to an internal buffer.

size

Optional. The size of the internal buffer, in bytes. The default size depends on the platform; you can give a buffer size from 4096 to 4294967295. If you set the buffer size too high, the router will run out of memory for routing tasks.

level

Optional. A numeric severity level or the name of a severity level. Any message at this severity or higher are logged to the internal buffer. Severity levels are: emergencies (0), alerts (1), critical (2), errors (3), warnings (4), notifications (5), informational (6), and debugging (7). Note that the numeric levels are the opposite of what you’d expect: a lower number indicates a higher severity.

Get CISCO IOS in a Nutshell 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.