Chapter 44
Configuring System Message Logging
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .
The switch sends messages according to the specified facility types and severity levels. The local1
keyword specifies the UNIX logging facility used. The messages from the switch are generated by user
processes. The debug keyword specifies the severity level of the condition being logged. You can set
UNIX systems to receive all messages from the switch.
Step 2
Create the log file by entering these commands at the UNIX shell prompt:
$ touch /var/log/myfile.log
$ chmod 666 /var/log/myfile.log
Make sure the system message logging daemon reads the new changes by entering this command:
Step 3
$ kill -HUP ~cat /etc/syslog.pid~
To configure system message logging servers, follow these steps:
Command
Step 1
switch# config t
switch#
Step 2
switch(config)# logging server
172.22.00.00
switch(config)# logging server
172.22.00.00 facility local1
switch(config)# no logging server
172.11.00.00
Outgoing System Message Logging Server Facilities
All system messages have a logging facility and a level. The logging facility can be thought of as where
and the level can be thought of as what.
The single system message logging daemon (syslogd) sends the information based on the configured
facility option. If no facility is specified, local7 is the default outgoing facility.
The internal facilities are listed in
Table 44-3
Facility Keyword
auth
authpriv
cron
daemon
ftp
kernel
local0 to local7
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Table 44-1
Outgoing Logging Facilities
Description
Authorization system
Authorization (private) system
Cron or at facility
System daemons
File Transfer Protocol
Kernel
Locally defined messages
System Message Logging Configuration
Purpose
Enters configuration mode.
Configures the switch to forward log messages according
to the specified facility types and severity levels to remote
multiple servers specified by its hostname or IP address
(172.22.00.00).
Configures the switch to forward log messages according
to the specified facility (local1) for the server IP address
(172.22.00.00). The default outgoing facility is local7.
Removes the specified server (172.11.00.00) and reverts to
factory default.
and the outgoing logging facilities are listed in
Standard or Cisco MDS Specific
Standard
Standard
Standard
Standard
Standard
Standard
Standard (local7 is the default)
Cisco MDS 9000 Family Configuration Guide
Table
44-3.
44-7
Need help?
Do you have a question about the DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor and is the answer not in the manual?
Questions and answers