CLI Guide

Example
Export the Chassis Log to a remote CIFS share
racadm chassislog export -f Mylog.xml -u admin -p mypass -l //
192.168.0.5/share
- Export the Chassis Log to a remote NFS share
racadm chassislog export -f Mylog.xml -l 192.168.0.5:/home/
lclog_user
chassislog clear
Table 8. chassislog clear
Description
Deletes the data in the chassis log.
To clear the chassis log, you must have the Clear Logs Administrator privilege.
Synopsis
racadm chassislog clear
racadm -r <CMC IP> -u <CMC username> -p <CMC password> chassislog
clear
Example
Clear the Chassis Log
racadm chassislog clear
Clear the Chassis Log using remote racadm
racadm -r 192.168.0.11 -u root -p calvin chassislog clear
chassisaction
Table 9. Chassisaction
Description Runs a power action on the chassis or a switch.
To use this subcommand, you must have the Chassis Control
Administrator privilege.
NOTE: For remote racadm, check the power status of
the module using the getmodinfo command.
Synopsis
racadm chassisaction [-m <module>] <action>
Input -m <module> — Module on which you want to carry out the
action. Values are:
chassis — this is the default value, if -m is not specified.
switch-n, where n=1
<action> — Action that you want to run on the specified
module. Values are:
powerdown — (Chassis only) Turns off the chassis.
powerup — (Chassis only) Turns on the chassis.
powercycle — Power cycles the module.
RACADM Subcommand Details 25