CLI Guide
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 specied.
• switch-n, where n=1
• <action> — Action that you want to run on the specied
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
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.
26 RACADM Subcommand Details