How To Configure System Message Logs; Setting The Message Display Destination Device - Cisco Catalyst 9500 Manual

System management configuration guide, cisco ios xe amsterdam 17.2.x
Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

How to Configure System Message Logs

How to Configure System Message Logs

Setting the Message Display Destination Device

If message logging is enabled, you can send messages to specific locations in addition to the console.
This task is optional.
Procedure
Step 1
Step 2
Step 3
Step 4
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
180
Command or Action
configure terminal
Example:
Device# configure terminal
logging buffered [size]
Example:
Device(config)# logging buffered 8192
logging host
Example:
Device(config)# logging 125.1.1.100
logging file flash: filename [max-file-size
[min-file-size]] [severity-level-number | type]
Example:
Configuring System Message Logs
Purpose
Enters global configuration mode.
Logs messages to an internal buffer on the
switch or on a standalone switch or, in the case
of a switch stack, on the active switch.. The
range is 4096 to 2147483647 bytes. The default
buffer size is 4096 bytes.
If a standalone switch or the active switch fails,
the log file is lost unless you previously saved
it to flash memory. See Step 4.
Do not make the buffer size too
Note
large because the switch could run
out of memory for other tasks.
Use the show memory privileged
EXEC command to view the free
processor memory on the switch.
However, this value is the
maximum available, and the
buffer size should not be set to
this amount.
Logs messages to a UNIX syslog server host.
host specifies the name or IP address of the host
to be used as the syslog server.
To build a list of syslog servers that receive
logging messages, enter this command more
than once.
Stores log messages in a file in flash memory
on a standalone switch or, in the case of a
switch stack, on the active switch .

Advertisement

Table of Contents
loading

Table of Contents