CLI Guide

Table 8. Details of chassislog clear (continued)
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 specified.
switch-n, where n=1 to 2
<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.
nongraceshutdown — (Chassis only) Non-gracefully turns off 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.
closessn
Table 10. Details of closessn
Description Closes a communication session on the device. Use the getssninfo command to view a list of
sessions that can be closed using this command.
To use this subcommand, you must have the Administrator privilege.
Synopsis racadm closessn –i <session id>
racadm closessn -a
racadm closessn -u <username>
Input -i< session id > — The session ID of the session to be ended, which can be retrieved using
RACADM getssninfo subcommand.
Session executing this command cannot be ended.
-a — Closes all sessions.
-u
<user name>
— Close all sessions for a particular user name.
Remote RACADM: -u option or -i option
22 RACADM Subcommand Details