CLI Guide

Table 9. Chassisaction (continued)
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.
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. 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 running 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
Closes all the sessions.
26 RACADM Subcommand Details