The snapshot utility collects log files, executes various commands and collects their output, and sends the data collected to a user-defined location. The dataset property of the /SP/diag/snapshot target defines the data that is collected. See Snapshot Dataset Information (CLI).
The snapshot describes the state of the switch at a particular moment in time. This can be used for fault diagnosis.The snapshot utility requires administrator privileges.
-> set /SP/diag/snapshot dataset=value dump_uri=URI
value is the type of dataset, as described in the table in Snapshot Dataset Information (CLI).
URI is the uniform resource indicator (FTP and SFTP supported)
For example, to take a snapshot of the normal dataset and transfer the snapshot using the FTP protocol to the /tftpboot/normal directory of the host with IP address 18.104.22.168 as the root user:
-> set /SP/diag/snapshot dataset=normal dump_uri=ftp://root:email@example.com//tftpboot/normal Set ’dataset’ to ’normal’ Set ’dump_uri’ to ’ftp://root:firstname.lastname@example.org//tftpboot/normal’ ->
The snapshot process takes several minutes to complete.
-> show -d properties /SP/diag/snapshot /SP/diag/snapshot Properties: dataset = normal dump_uri = (Cannot show property) result = Running ->
The following example shows the progress of the snapshot process, after it has finished:
-> show -d properties /SP/diag/snapshot /SP/diag/snapshot Properties: dataset = normal dump_uri = (Cannot show property) result = Collecting data into ftp://root:*****@22.214.171.124//tftpboot/normal/magnum_126.96.36.199_2011-01-07T14-43-15.zip Snapshot Complete Done. ->