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
54-10
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 54 Configuring Call Home
Syslog-Based Alerts
Syslog-Based Alerts
You can configure the switch to send certain syslog messages as Call Home messages. The
syslog-group-port alert group selects syslog messages for the port facility. The Call Home application
maps the syslog severity level to the corresponding Call Home severity level (see the
“Call Home
Message Levels” section on page 54-23
). For example, if you select level 5 for the Call Home message
level, syslog messages at levels 0, 1, and 2 are included in the Call Home log.
Whenever a syslog message is generated, the Call Home application sends a Call Home message
depending on the mapping between the destination profile and the alert group mapping and based on the
severity level of the generated syslog message. To receive a syslog-based Call Home alert, you must
associate a destination profile with the syslog alert groups (currently there is only one syslog alert
group—syslog-group-port) and configure the appropriate message level (see the
“Call Home Message
Level Feature” section on page 54-9
).
Note
Call Home does not change the syslog message level in the message text. The syslog message texts in
the Call Home log appear as they are described in the
Cisco MDS 9000 Family System Messages Guide.
To configure the syslog-group-port alert group, follow these steps:
Step 3
switch(config-callhome)#
destination-profile
test message-level 5
Optional. Configures the message level urgency
as 5 and above for the user-defined profile
(test1).
switch(config-callhome)#
no
destination-profile oldtest message-level 7
Removes a previously configured urgency level
and reverts it to the default of 0 (all messages are
sent).
Command
Purpose
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
callhome
switch(config-callhome)#
Enters Call Home configuration submode.
Step 3
switch(config-callhome)#
destination-profile
short-txt-destination alert-group
syslog-group-port
Configures the predefined destination profile
(short-txt-destination) to receive Call Home
Notifications corresponding to syslog messages
for the port facility.
Step 4
switch(config-callhome)#
destination-profile
short-txt-destination message-level 5
Optional. Configures the predefined
destination-profile (short-txt-destination) to
send a Call Home message for syslog messages
whose severity levels map to Call Home
severity level of 5 or greater. The default is
message level 0 (all syslog messages).