hit counter script

Including The Device Id In Syslog Messages; Generating Syslog Messages In Emblem Format - 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

Including the Device ID in Syslog Messages

To configure the FWSM to include a device ID in non-EMBLEM-format syslog messages, enter the
following command:
hostname(config)# logging device-id
string text
You can specify only one type of device ID for the syslog messages.
The context-name keyword indicates that the name of the current context should be used as the device
ID (applies to multiple context mode only). If you enable the logging device ID for the admin context in
multiple context mode, messages that originate in the system execution space use a device ID of system,
and messages that originate in the admin context use the name of the admin context as the device ID.
The hostname keyword specifies that the hostname of the FWSM should be used as the device ID.
The ipaddress interface_name argument specifies that the IP address of the interface specified as
interface_name should be used as the device ID. If you use the ipaddress keyword, the device ID
becomes the specified FWSM interface IP address, regardless of the interface from which the syslog
message is sent. This keyword provides a single, consistent device ID for all syslog messages that are
sent from the device.
The string text argument specifies that the text string should be used as the device ID. The string can
contain up to16 characters. You cannot use blank spaces or any of the following characters:
If enabled, the device ID does not appear in EMBLEM-formatted syslog messages or SNMP traps.
Note
The following example enables the logging device ID for the security appliance:
hostname(config)# logging device-id hostname
The following example enables the logging device ID for a security context on the security appliance:
hostname(config)# logging device-id context-name

Generating Syslog Messages in EMBLEM Format

To use the EMBLEM format for syslog messages sent to a syslog server over UDP, specify the format
emblem option when you configure the syslog server as an output destination by entering the following
command:
hostname(config)# logging host interface_name ip_address {tcp[/port] | udp[/port]]
[format emblem]
Where the interface_name and IP_address specify the syslog server to receive the syslog messages,
tcp[/port] and udp[/port] indicate the protocol and port that should be used, and format emblem
enables EMBLEM formatting for messages sent to the syslog server.
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
25-16
}
& (ampersand)
' (single quote)
" (double quote)
< (less than)
> (greater than)
? (question mark)
Chapter 25
{
|
context-name
hostname | ipaddress interface_name |
Monitoring the Firewall Services Module
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