Displaying File Contents; Displaying File Checksums - Cisco Nexus 9000 Series Configuration Manual

Nx-os fundamentals configuration guide
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Using the Device File Systems, Directories, and Files
Procedure
Step 1
Step 2
Step 3

Displaying File Contents

This example shows how to display the contents of a file on an external flash device:
switch# show file usb1:test
configure terminal
interface ethernet 1/1
no shutdown
end
show interface ethernet 1/1
This example shows how to display the contents of a file that resides in the current directory:
switch# show file myfile

Displaying File Checksums

This example shows how to display the checksum of a file:
switch# show file bootflash:trunks2.cfg cksum
583547619
This example shows how to display the MD5 checksum of a file:
switch# show file bootflash:trunks2.cfg md5sum
3b94707198aabefcf46459de10c9281c
Command or Action
pwd
Example:
switch# pwd
dir [filesystem :[//module/][directory]]
Example:
switch# dir bootflash:test
rmdir [filesystem
:[//module/]]directory
Example:
switch# rmdir test
Cisco Nexus 9000 Series NX-OS Fundamentals Configuration Guide, Release 7.x
Purpose
(Optional)
Displays the name of your current default directory.
(Optional)
Displays the contents of the current directory. The file
system, module, and directory names are case sensitive.
If the directory is not empty, you must delete all the files
before you can delete the directory.
Deletes a directory. The file system and directory name
are case sensitive.
Displaying File Contents
111

Advertisement

Table of Contents
loading

Table of Contents