Quick Reference Guide
• -a <
name
> - Specifies the FTP Server IP address or FQDN, user name, and password.
• -d <
path
> - Specifies the path to the file on the FTP server.
• -l <
location
> - Specifies the location of the network share or area on file system where
chassis log is exported. Two types of network shares are supported:
— SMB mounted path: //<
ipaddress or domain name
>/<
share_name
>/
<
path_to_image
>
— NFS mounted path: <
ipaddress
>:/<
path_to_image
>.
• -u <
user
> — Specifies the user name for accessing the FTP Server, or Domain and
User Name for accessing network share location.
• -p <
password
> — Specifies the password for accessing the FTP Server or Share
location.
• -s — The severity used to filter the records. Provide multiple severities using a "," as
the delimiter. The value is case-insensitive. Valid Severity values:
– 1. Warning
– 2. Critical
– 3. Info
NOTE: To view or export the Chassis log, only the CMC Login User privilege is
required.
Example
• Display the number of records present in the Chassis Log:
racadm chassislog view -i
• Display the records under the storage category with severity set to warning:
racadm chassislog view -c storage -s warning
• Display the records under storage and system categories with severities set to
warning or critical:
racadm chassislog view -c storage,system -s
warning,critical
• Display the records having severities set to warning or critical, starting from sequence
number 4:
racadm chassislog view -s warning,critical -q 4
• Display 5 records starting from sequence number 20:
racadm chassislog view -q 20 -n 5
• Display all records of events that have occurred between 2011-01-02 23:33:40 and
2011-01-03 00:32:15:
racadm chassislog view -r "2011-01-02 23:33:40" -e
"2011-01-03 00:32:15"
• Display all the available records from the active Chassis log:
racadm chassislog view -n all
• Display the last 25 records from the Chassis log:
racadm chassislog view
chassislog export
Description
Exports the Chassis log to a remote share.
To export the chassis log, you must have the Clear Logs Administrator privilege.
Synopsis
racadm chassislog export -f<filename> -u<username> -
p<password> -l<CIFS or NFS share>
22