Sending The Information In An E-Mail Message - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

bstnA6k(cfg)# exit
bstnA6k# collect diag-info scp://juser@rh1.wwmed.com:acopia-diags.tgz accept-host-key
Password: jpasswd
Collect diagnostic information? [yes/no] yes
% INFO: The copy command completed successfully.
bstnA6k# ...

Sending the Information in an E-Mail Message

bstnA6k(cfg)# smtp
bstnA6k(cfg-smtp)# mail-server email1.wwmed.com
bstnA6k(cfg-smtp)# from admin@acopia.wwmed.com
bstnA6k(cfg-smtp)# exit
bstnA6k(cfg)# exit
CLI Maintenance Guide
For example, the following command exits from gbl mode to priv-exec mode, then
uploads diagnostic data through SCP:
You can alternatively send the diagnostics information as an E-mail attachment.
Before you use E-mail, you must configure the Simple Mail Transfer Protocol
(SMTP) on the switch, starting with the
on E-mail and SMTP in the
In the same
collect diag-info
as an E-mail attachment:
collect diag-info smtp://[e-mail-address/]file.tgz
where
e-mail-address (optional) identifies the recipient of the E-mail message (for
example, "myCoWorker@myco.com"). If you omit this, it defaults to the
E-mail recipient set with the cfg-smtp
separate this from the file name.
file.tgz is the chosen file name. The ".tgz" extension is required.
As with the FTP and SCP uploads, the CLI prompts for confirmation before
collecting the diagnostics. Answer yes to continue. The collection process can be
time-consuming; allow at least one minute for the CLI prompt to return.
For example, the following command sequence sets up SMTP, exits from cfg mode to
priv-exec mode, then sends diagnostic data via E-mail to "juser@wwmed.com:"
Collecting Diagnostic Information
command in cfg mode: see the chapter
smtp
CLI Reference
Guide.
command, use the following syntax to send the diag-info
command. Use a slash (/) to
to
Troubleshooting Tools
6-39

Advertisement

Table of Contents
loading

Related Products for Acopia Adaptive Resource Switch

Table of Contents