Sending Syslog Messages To A Switch Session, Telnet Session, Or Ssh Session - Cisco 7604 Configuration Manual

Catalyst 6500 series switch and cisco 7600 series router firewall services module configuration guide using the cli
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Configuring and Managing Syslog Messages
To specify the number of syslog 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 syslog messages that the FWSM retains in the ASDM log
buffer.
The following example shows how to set the ASDM log buffer size to 200 syslog 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 Syslog Messages to a Switch Session, Telnet Session, or SSH Session

When you log in to the FWSM from the switch, you are connected using a Telnet session. Therefore, you
configure logging to a switch session the same way as you configure logging to a Telnet or SSH session.
Viewing syslog 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 a Telnet or SSH session, 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
syslog messages for severity levels 3, 2, 1, and 0.
The message_list argument specifies a customized message list that identifies the syslog messages to
send to the session. For information about creating custom message lists, see the
Messages with Custom Message Lists" section on page
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
25-8
Specify which messages should be sent to a Telnet or SSH session.
View syslog messages in the current session.
Configuring Logging for Telnet and SSH Sessions, page 25-8
Viewing Syslog Messages in the Current Session, page 25-9
"Enabling Logging to All Configured Output Destinations" section on
25-2. To disable logging, see the
25-3.
25-20. For example, if you set the severity level to 3, then the FWSM sends
Chapter 25
"Disabling Logging to All Configured Output Destinations"
25-14.
Monitoring the Firewall Services Module
"Severity
"Filtering Syslog
OL-20748-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7609-s76137606-sCatalyst 6500 series7600 series

Table of Contents