CLI Guide

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.
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
Output None
Example
racadm closessn -i 1234
Closes the session 1234.
racadm closessn –u root
Closes all the sessions for root user.
racadm closessn –a
22 RACADM Subcommand Details