show call-home
To display the configured information for Call Home, use the show call-home command in privileged EXEC mode.
show call-home [alert-group | detail | mail-server status | profile {all | name} | statistics | events]
Syntax Description
alert-group |
(Optional) Displays the available alert groups. |
detail |
(Optional) Displays the Call Home configuration in detail. |
mail-server status |
(Optional) Displays mail-server status information for Call Home. |
profile {all | name |
(Optional) Displays configuration information for Call Home destination profiles, where:
|
statistics |
(Optional) Displays Call Home statistics. |
events |
(Optional) Displays all Call Home events. |
Command Default
This command has no default settings.
Command Modes
Privileged EXEC (#)
Command History
Release |
Modification |
---|---|
12.2(33)SXH |
This command was introduced. |
12.2(33)SRC |
This command was integrated into Cisco IOS Release 12.2(33)SRC. |
12.4(24)T |
This command was integrated into Cisco IOS Release 12.4(24)T. |
12.2(52)SG |
This command was integrated into Cisco IOS Release 12.2(52)SG. |
Cisco IOS XE Release 2.6 |
This command was integrated into Cisco IOS XE Release 2.6. |
Cisco IOS XE Release 16.6.1 |
This command was integrated into Cisco IOS XE Release 16..6.1 |
Examples
The following example displays the Call Home configuration settings:
Router# show call-home
Current call home settings:
call home feature : disable
call home message's from address: switch@example.com
call home message's reply-to address: support@example.com
contact person's email address: technical@example.com
contact person's phone number: +1-111-111-1111
street address: 1234 Any Street, Any city, Any state, 12345
customer ID: ExampleCorp
contract ID: X123456789
site ID: SantaClara
Mail-server[1]: Address: smtp.example.com Priority: 1
Mail-server[2]: Address: 192.168.0.1 Priority: 2
Rate-limit: 20 message(s) per minute
Available alert groups:
Keyword State Description
------------------------ ------- -------------------------------
configuration Disable configuration info
diagnostic Disable diagnostic info
environment Disable environmental info
inventory Enable inventory info
syslog Disable syslog info
Profiles:
Profile Name: campus-noc
Profile Name: CiscoTAC-1
The following example displays detailed configuration information for Call Home:
Router# show call-home detail
Current call home settings:
call home feature : disable
call home message's from address: switch@example.com
call home message's reply-to address: support@example.com
contact person's email address: technical@example.com
contact person's phone number: +1-111-111-1111
street address: 1234 Any Street, Any city, Any state, 12345
customer ID: ExampleCorp
contract ID: X123456789
site ID: SantaClara
Mail-server[1]: Address: smtp.example.com Priority: 1
Mail-server[2]: Address: 192.168.0.1 Priority: 2
Rate-limit: 20 message(s) per minute
Available alert groups:
Keyword State Description
------------------------ ------- -------------------------------
configuration Disable configuration info
diagnostic Disable diagnostic info
environment Disable environmental info
inventory Enable inventory info
syslog Disable syslog info
Profiles:
Profile Name: campus-noc
Profile status: ACTIVE
Preferred Message Format: long-text
Message Size Limit: 3145728 Bytes
Preferred Transport Method: email
Email address(es): noc@example.com
HTTP address(es): Not yet set up
Alert-group Severity
------------------------ ------------
inventory normal
Syslog-Pattern Severity
------------------------ ------------
N/A N/A
Profile Name: CiscoTAC-1
Profile status: INACTIVE
Preferred Message Format: xml
Message Size Limit: 3145728 Bytes
Preferred Transport Method: email
Email address(es): callhome@cisco.com
HTTP address(es): Not yet set up
Periodic configuration info message is scheduled every 1 day of the month at 09:27
Periodic inventory info message is scheduled every 1 day of the month at 09:12
Alert-group Severity
------------------------ ------------
diagnostic minor
environment minor
Syslog-Pattern Severity
------------------------ ------------
.* major
The following example displays available Call Home alert groups:
Router# show call-home alert-group
Available alert groups:
Keyword State Description
------------------------ ------- -------------------------------
configuration Disable configuration info
diagnostic Disable diagnostic info
environment Disable environmental info
inventory Enable inventory info
syslog Disable syslog info
The following example displays e-mail server status information for Call Home:
Router# show call-home mail-server status
Please wait. Checking for mail server status ...
Translating "smtp.example.com"
Mail-server[1]: Address: smtp.example.com Priority: 1 [Not Available]
Mail-server[2]: Address: 192.168.0.1 Priority: 2 [Not Available]
The following example displays information for all predefined and user-defined profiles for Call Home:
Router# show call-home profile all
Profile Name: campus-noc
Profile status: ACTIVE
Preferred Message Format: long-text
Message Size Limit: 3145728 Bytes
Preferred Transport Method: email
Email address(es): noc@example.com
HTTP address(es): Not yet set up
Alert-group Severity
------------------------ ------------
inventory normal
Syslog-Pattern Severity
------------------------ ------------
N/A N/A
Profile Name: CiscoTAC-1
Profile status: INACTIVE
Preferred Message Format: xml
Message Size Limit: 3145728 Bytes
Preferred Transport Method: email
Email address(es): callhome@cisco.com
HTTP address(es): Not yet set up
Periodic configuration info message is scheduled every 1 day of the month at 09:27
Periodic inventory info message is scheduled every 1 day of the month at 09:12
Alert-group Severity
------------------------ ------------
diagnostic minor
environment minor
Syslog-Pattern Severity
------------------------ ------------
.* major
The following example displays information for a user-defined destination profile named “campus-noc”:
Router# show call-home profile campus-noc
Profile Name: campus-noc
Profile status: ACTIVE
Preferred Message Format: long-text
Message Size Limit: 3145728 Bytes
Preferred Transport Method: email
Email address(es): noc@example.com
HTTP address(es): Not yet set up
Alert-group Severity
------------------------ ------------
inventory normal
Syslog-Pattern Severity
------------------------ ------------
N/A N/A
The following example displays Call Home statistics:
Router# show call-home statistics
Successful Call-Home Events: 0
Dropped Call-Home Events due to Rate Limiting: 0
The following example shows a sample of the Call Home statistics output on a Cisco ASR 1000 Series Router in Cisco IOS XE Release 2.6:
PE42_ASR-1004#show call-home statistics
Message Types Total Email HTTP
------------- -------------------- -------------------- ------------------
Total Success 0 0 0
Config 0 0 0
Diagnostic 0 0 0
Environment 0 0 0
Inventory 0 0 0
SysLog 0 0 0
Test 0 0 0
Request 0 0 0
Send-CLI 0 0 0
Total In-Queue 0 0 0
Config 0 0 0
Diagnostic 0 0 0
Environment 0 0 0
Inventory 0 0 0
SysLog 0 0 0
Test 0 0 0
Request 0 0 0
Send-CLI 0 0 0
Total Failed 0 0 0
Config 0 0 0
Diagnostic 0 0 0
Environment 0 0 0
Inventory 0 0 0
SysLog 0 0 0
Test 0 0 0
Request 0 0 0
Send-CLI 0 0 0
Total Ratelimit
-dropped 0 0 0
Config 0 0 0
Diagnostic 0 0 0
Environment 0 0 0
Inventory 0 0 0
SysLog 0 0 0
Test 0 0 0
Request 0 0 0
Send-CLI 0 0 0
Last call-home message sent time: n/a
The following example displays information for all call-home registered events:
Router# show call-home events
Active event list:
Profile Alert Group Internal Index Severity Subscription Last Triggered Time
----------------------------------------------------------------------------------------------------------------
tst configuration 1 /1 normal normal 2017-08-08 08:45:09 GMT+00:00
tst test 2 /2 normal normal
tst crash 3 /3 debug normal
tst crash 4 /4 debug normal
tst inventory 5 /5 normal normal
tst inventory 6 /6 normal normal
tst syslog 7 /7 debug pattern 2017-08-08 08:45:09 GMT+00:00
tst configuration 8 /8 normal periodic
tst syslog 9 /9 catastrophic pattern
ultra01#