Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices
文章出处: |
{{#if: | {{{2}}} | http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ap04_:_syslog_Configuration_and_Cisco_Devices }} |
点击翻译: |
English {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/af | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Afrikaans| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/af|Afrikaans]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ar | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|العربية| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ar|العربية]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/az | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|azərbaycanca| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/bcc | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|جهلسری بلوچی| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/bg | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|български| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/bg|български]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/br | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|brezhoneg| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/br|brezhoneg]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ca | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|català| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ca|català]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/cs | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|čeština| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/cs|čeština]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/de | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Deutsch| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/de|Deutsch]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/el | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Ελληνικά| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/es | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|español| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/es|español]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/fa | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|فارسی| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/fa|فارسی]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/fi | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|suomi| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/fi|suomi]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/fr | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|français| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/fr|français]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/gu | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|ગુજરાતી| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/he | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|עברית| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/he|עברית]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/hu | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|magyar| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/hu|magyar]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/id | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Bahasa Indonesia| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/it | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|italiano| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/it|italiano]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ja | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|日本語| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ja|日本語]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ko | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|한국어| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ko|한국어]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ksh | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Ripoarisch| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/mr | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|मराठी| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/mr|मराठी]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ms | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Bahasa Melayu| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/nl | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Nederlands| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/nl|Nederlands]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/no | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|norsk| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/no|norsk]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/oc | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|occitan| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/oc|occitan]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/pl | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|polski| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/pl|polski]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/pt | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|português| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/pt|português]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ro | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|română| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ro|română]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/ru | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|русский| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/ru|русский]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/si | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|සිංහල| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/si|සිංහල]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/sq | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|shqip| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/sq|shqip]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/sr | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|српски / srpski| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/sv | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|svenska| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/sv|svenska]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/th | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|ไทย| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/th|ไทย]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/tr | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Türkçe| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/tr|Türkçe]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/vi | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|Tiếng Việt| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/yue | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|粵語| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/yue|粵語]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/zh | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|中文| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/zh|中文]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/zh-hans | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|中文(简体)| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices | {{#if: | :}}Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices}}/zh-hant | • {{#if: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|中文(繁體)| [[::Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|:Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/zh | | {{#ifexist: Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices/zh | | {{#ifeq: {{#titleparts:Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Quick HOWTO : Ap04 : syslog Configuration and Cisco Devices|1|-1|}} | zh | | }}
Introduction
Syslog reserves facilities local0 through local7 for log messages received from remote servers and network devices. Routers, switches, firewalls and load balancers each logging with a different facility can each have their own log files for easy troubleshooting. The following examples will show how to have a different log file for each class of device.
If you have a large data center, then you may also want to switch off all logging to /var/log/messages as suggested above for the home/SOHO environment. In all the network device configuration examples below we are logging to the remote Linux logging server 192.168.1.100 which we set up in the previous section.
Cisco Routers
By default Cisco routers send syslog messages to their logging server with a default facility of local7. Don't set the facility in this case, but do tell the router to timestamp the messages and make the messages have the source IP address of the loopback interface.
service timestamps log datetime localtime no logging console no logging monitor logging 192.168.1.100
Catalyst CAT Switches running CATOS
By default Cisco switches also send syslog messages to their logging server with a default facility of local7. Don't change this facility either, therefore making routers and switches log to the same file.
set logging server enable set logging server 192.168.1.100 set logging level all 5 set logging server severity 6
Cisco Local Director
Local Directors use the syslog output command to set their logging facility and severity. The value provided must be in the format FF.SS (facility.severity) using the numbering scheme in Table IV-1:
Table IV-1 Syslog Facility and Severity Numbering Scheme for Local Directors
Facility |
FF Value |
|
Severity |
SS Value |
local 0 |
16 |
|
System unusable |
0 |
local 1 |
17 |
|
Immediate action required |
1 |
local 2 |
18 |
|
Critical condition |
2 |
local 3 |
19 |
|
Error conditions |
3 |
local 4 |
20 |
|
Warning conditions |
4 |
local 5 |
21 |
|
Normal but significant conditions |
5 |
local 6 |
22 |
|
Informational messages |
6 |
local 7 |
23 |
|
Debugging messages |
7 |
This example uses facility local4 and the logging debugging messages from Table IV-1.
syslog output 20.7 no syslog console syslog host 192.168.1.100
Cisco PIX Filewalls
PIX firewalls use the numbering scheme in Table IV.2 to determine their logging facilities.
Table IV-2 Syslog Facility and Severity Numbering Scheme for PIX Firewalls
Facility |
Logging Facility Command Value |
local 0 |
16 |
local 1 |
17 |
local 2 |
18 |
local 3 |
19 |
local 4 |
20 |
local 5 |
21 |
local 6 |
22 |
local 7 |
23 |
This configuration example assumes that the logging server is connected on the side of the "inside" protected interface. It sends log messages to facility local3 with a severity level of 5 (Notification) set by the logging trap command.
logging on logging standby logging timestamp logging trap notifications logging facility 19 logging host inside 192.168.1.100
Cisco CSS11000 (Arrowpoints)
The configuration for the Cisco CSS11000 load balancer series is more straightforward. You specify the facility with an intuitive number using the logging host command and set the severity with the logging subsystem command. This example shows the CSS11000 logging facility local6 and severity level 6 (Informational):
logging host 192.168.1.100 facility 6 set logging subsystem all info-6 logging commands enable
The Sample Cisco syslog.conf File
# # All LOCAL3 messages (debug and above) go to the firewall file ciscofw # local3.debug /var/log/cisco/ciscofw # # All LOCAL4 messages (debug and above) go to the Local Director file ciscold # local4.debug /var/log/cisco/ciscold # # All LOCAL6 messages (debug and above) go to the CSS file ciscocss # local6.debug /var/log/cisco/ciscocss # # All LOCAL7 messages (debug and above) go to the ciscoacl # This includes ACL logs which are logged at severity debug # local7.debug /var/log/cisco/ciscoacl # # LOCAL7 messages (notice and above) go to the ciscoinfo # This excludes ACL logs which are logged at severity debug # local7.notice /var/log/cisco/ciscoinfo