CLI Guide
• Export chassis log to local disk
racadm -r 192.168.0.32 chassislog export -f filename.log
• Export chassis log to a remote network share CIFS
racadm chassislog export -f Mylog.xml -u admin -p mypass -l //192.168.x.x/
share
• Export chassis log to a remote network share NFS
racadm chassislog export -f Mylog.xml -l 192.168.x.x:/home/lclog_user
• Export the chassis log to a local share using remote racadm
racadm -r 192.168.x.x -u root -p calvin chassislog export -f Mylog.xml
• Enable the quick deploy parameter in CMC DNS Settings
racadm deploy -q -e 1
• Update quick deploy parameters
racadm deploy -q --qd
• clear — Clear chassis log
• To clear chassis log
racadm chassislog clear
NOTE: To clear the chassis log, you must have the Clear Logs Administrator privilege.
NOTE: racadm chassislog export -f <filename> is supported only for remote interfaces.
closessn
Description
Closes a communication session on the device. Use getssninfo to view a list of sessions that can be closed using this
command.
To run this subcommand, you must have the Administrator permission.
NOTE: This subcommand ends all the sessions other than the current session.
Synopsis
• racadm closessn –i <session_ID>
• racadm closessn -a
• racadm closessn -u <username>
Input
• —i <session_ID> — The session ID of the session to close, which can be retrieved using RACADM
getssninfo subcommand.
Session running this command cannot be closed.
• —a — Closes all sessions.
• —u <username> — Closes all sessions for a particular user name.
• For Remote RACADM, use either the —u option or the —i option.
Output
Successful or error message is displayed.
Example
• Closes the session 1234.
racadm closessn -i 1234
• Closes all the sessions other then the active session for root user.
racadm closessn –u root
• Closes all the sessions.
racadm closessn –a
RACADM Subcommand Details 19