Purpose
Command or Action
•
hostname
—
Scrubs all high-level commands plus the
hostname
command.
Scrubbing the hostname from configuration messages can cause
Smart Call Home processing failure on some platforms.
Note
Sending Call Home Communications Manually
Sending Call Home Communications Manually
You can manually send several types of Call Home communications. To send Call Home communications,
perform any necessary tasks in sections from
Sending a Call Home Test Message Manually, on page 253
to
Manually Sending Command Output Message for One Command or a Command List, on page 256
.
Sending a Call Home Test Message Manually
You can use the
call-home test
command to send a user-defined Call Home test message.
To manually send a Call Home test message, perform the following step:
SUMMARY STEPS
1.
call-home test
[
“
test-message
”
]
profile name
DETAILED STEPS
Purpose
Command or Action
Sends a test message to the specified destination profile. The user-defined
test message text is optional but must be enclosed in quotes (
“”
) if it
call-home test
[
“
test-message
”
]
profile name
Example:
Router# call-home test profile profile1
Step 1
contains spaces. If no user-defined message is configured, a default
message is sent.
Sending Call Home Alert Group Messages Manually
You can use the
call-home send
command to manually send a specific alert group message.
Note the following guidelines when manually sending a Call Home alert group message:
•
Only the snapshot, crash, configuration, and inventory alert groups can be sent manually. Syslog alert
groups cannot be sent manually.
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
253
Configuring Call Home for the Cisco CSR 1000v
Sending Call Home Communications Manually