CLI Guide

chassislog clear
Table 8. Details of 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 <cmcip> -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.1 -u root -p <default root user password>
chassislog clear
NOTE: The default local account credential is root (user name) and calvin (user
password).
chassisaction
Table 9. Details of chassisaction
Description Runs a power action on the chassis or a switch.
To use this subcommand, you must have the Chassis Control Administrator privilege.
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 specied.
switch-n, where n=1 to 2
<action> — Action that you want to run on the specied module. Values are:
powerdown — (Chassis only) Turns o the chassis.
powerup — (Chassis only) Turns on the chassis.
powercycle — Power cycles the module.
nongraceshutdown — (Chassis only) Non-gracefully turns o the chassis.
reset — Performs a hard reset of the module.
When < module > = switch, < action > must be powercycle or reset.
Output None
Example Perform a reset of switch-1:
racadm chassisaction -m switch-1 reset
Module power operation successful.
22 RACADM Subcommand Details