Sending System Log Messages To A Telnet Or Ssh Session - Cisco FirePOWER ASA 5500 series Configuration Manual

Security appliance command line
Hide thumbs Also See for FirePOWER ASA 5500 series:
Table of Contents

Advertisement

Chapter 42
Monitoring the Security Appliance
The following example shows how enable logging and send to the ASDM log buffer system log messages
of severity levels 0, 1, and 2.
hostname(config)# logging asdm 2
To specify the number of system log messages retained in the ASDM log buffer, enter the following
Step 2
command:
hostname(config)# logging asdm-buffer-size num_of_msgs
Where num_of_msgs specifies the number of system log messages that the security appliance retains in
the ASDM log buffer.
The following example shows how to set the ASDM log buffer size to 200 system log messages.
hostname(config)# logging asdm-buffer-size 200
Clearing the ASDM Log Buffer
To erase the current contents of the ASDM log buffer, enter the following command:
hostname(config)# clear logging asdm

Sending System Log Messages to a Telnet or SSH Session

Viewing system log messages in a Telnet or SSH session requires two steps:
1.
2.
This section includes the following topics:
Configuring Logging for Telnet and SSH Sessions
Note
To start logging to a Telnet or SSH session as defined in this procedure, be sure to enable logging for all
output locations. See the
page
section on page
To specify which messages should be sent to Telnet or SSH sessions, enter the following command:
hostname(config)# logging monitor {severity_level | message_list}
Where the severity_level argument specifies the severity levels of messages to be sent to the session. You
can specify the severity level number (0 through 7) or name. For severity level names, see the
Levels" section on page
system log messages for level 3, 2, 1, and 0.
The message_list argumentspecifies a customized message list that identifies the system log messages
to send to the session. For information about creating custom message lists, see the
Log Messages with Custom Message Lists" section on page
OL-10088-01
Specify which messages should be sent to Telnet or SSH sessions.
View logs in the current session.
Configuring Logging for Telnet and SSH Sessions, page 42-11
Viewing System Log Messges in the Current Session, page 42-12
"Enabling Logging to All Configured Output Destinations" section on
42-6. To disable logging, see the
42-6.
42-23. For example, if you set the level to 3, then the security appliance sends
"Disabling Logging to All Configured Output Destinations"
42-17.
Cisco Security Appliance Command Line Configuration Guide
Configuring and Managing Logs
"Severity
"Filtering System
42-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pix 500 seriesCisco asa 5500 series

Table of Contents