Chapter 25
Monitoring the Firewall Services Module
For more information about configuring log output destinations, see the
Destinations" section on page
To enable logging, enter the following command:
hostname(config)# logging enable
Disabling Logging to All Configured Output Destinations
To disable all logging to all configured log output destinations, enter the following command:
hostname(config)# no logging enable
Viewing the Log Configuration
To view the running log configuration, enter the following command:
hostname(config)# show logging
The following is sample output of the show logging command:
Syslog logging: enabled
Printing of Mapped Names of Hosts or Networks
To enable printing of mapped names of hosts or networks in syslog messages, enter the following
command:
hostname(config)# logging names
To print IP addresses instead of mapped names of hosts or networks in syslog messages, enter the
following command:
hostname(config)# no logging names
The following example shows how to display syslog messages with mapped names of IP addresses of
hosts or networks:
hostname(config)# no logging names
hostname(config)# show logging
Syslog logging: enabled
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
25-4.
Facility: 16
Timestamp logging: disabled
Standby logging: disabled
Deny Conn when Queue Full: disabled
Console logging: disabled
Monitor logging: disabled
Buffer logging: disabled
Trap logging: level errors, facility 16, 3607 messages logged
Logging to infrastructure 10.1.2.3
History logging: disabled
Device ID: 'inside' interface IP address "10.1.1.1"
Mail logging: disabled
ASDM logging: disabled
Facility: 20
Timestamp logging: enabled
Name logging: disabled
Standby logging: disabled
Configuring and Managing Syslog Messages
"Configuring Log Output
25-3