CLI Guide

NOTE: In telnet/ssh console, you can only generate and not download the CSR
le.
NOTE: The duration for generating a CSR key depends on the length specied for the
key.
sslresetcfg
Description Restores the web-server certicate to factory default and restarts web-server. The certicate takes
eect 30 seconds after the command is entered.
To use this subcommand, you must have the Chassis Conguration Administrator privilege for CMC.
Synopsis
racadm sslresetcfg
Example
$ racadm sslresetcfg
Certificate generated successfully and webserver restarted.
testemail
Description Sends a test e-mail from CMC to a specied destination. Prior to executing the test e-mail command,
make sure that the SMTP server is congured and the specied index in the RACADM cfgEmailAlert
group is enabled and congured properly.
Synopsis
racadm testemail -i <index>
Input -i — Species the index of the e-mail alert to test.
Output
Success: Test e-mail sent successfully
Failure: Unable to send test e-mail
Example Commands for the cfgEmailAlert group:
Enable the alert —
racadm config -g cfgEmailAlert -o cfgEmailAlertEnable -i 1
Set the destination e-mail address —
racadm config -g cfgEmailAlert -o cfgEmailAlertAddress -i 1
user1@mycompany.com
Set the custom message that is sent to the destination e-mail address —
racadm config -g cfgEmailAlert -o cfgEmailAlertCustomMsg -i 1 "This
is a test!"
Make sure that the SMTP IP address is congured properly —
racadm config -g cfgRemoteHosts -o cfgRhostsSmtpServerIpAddr
192.168.0.152
View the current e-mail alert settings —
racadm getconfig -g cfgEmailAlert -i <index>
where <index> is a number from 1 to 4.
testfeature
The following tables describe the testfeature subcommand options.
RACADM Subcommand Details
85