Sending System Log Messages To A Telnet Or Ssh Session - Cisco PIX 500 Series Configuration Manual

Security appliance command line
Hide thumbs Also See for PIX 500 Series:
Table of Contents

Advertisement

Configuring and Managing Logs

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
To start logging to a Telnet or SSH session as defined in this procedure, be sure to enable logging for all
Note
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 argument specifies 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
Viewing System Log Messages in the Current Session
Step 1
After you log in to the adaptive security appliance, enable logging to the current session by entering the
following command:
hostname# terminal monitor
This command enables logging only for the current session. If you log out, and then log in again, you
need to reenter this command.
To disable logging to the current session, enter the following command:
Step 2
hostname(config)# terminal no monitor
Cisco Security Appliance Command Line Configuration Guide
42-12
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-12
Viewing System Log Messages 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-24. For example, if you set the level to 3, then the security appliance sends
Chapter 42
"Disabling Logging to All Configured Output Destinations"
42-18.
Monitoring the Security Appliance
"Severity
"Filtering System
OL-12172-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asa 5500 series

Table of Contents