Compressing And Uncompressing Files; Redirecting Show Command Output; Finding Files - Cisco Nexus 5500 Series Configuration Manual

Nx-os fundamentals configuration guide, release 7.x
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Using the Device File Systems, Directories, and Files

Compressing and Uncompressing Files

This example shows how to compress a file:
switch# dir
...
switch# gzip volatile:Samplefile
switch# dir
...
This example shows how to uncompress a compressed file:
switch# dir
...
switch# gunzip samplefile
switch# dir
...

Redirecting show Command Output

This example shows how to direct the output to a file on the bootflash: file system:
switch# show interface > bootflash:switch1-intf.cfg
This example shows how to direct the output to a file on external flash memory:
switch# show interface > slot0:switch-intf.cfg
This example shows how to direct the output to a file on a TFTP server:
switch# show interface > tftp://10.10.1.1/home/configs/switch-intf.cfg
Preparing to copy...done
This example shows how to direct the output of the show tech-support command to a file:
switch# show tech-support > Samplefile
Building Configuration ...
switch# dir
Usage for volatile://
19443712 bytes free
20971520 bytes total

Finding Files

This example shows how to find a file in the current default directory:
switch# find smm_shm.cfg
/usr/bin/find: ./lost+found: Permission denied
./smm_shm.cfg
OL-30890-01
1525859
Jul 04 00:51:03 2003 Samplefile
266069
Jul 04 00:51:03 2003 Samplefile.gz
266069
Jul 04 00:51:03 2003 Samplefile.gz
1525859
Jul 04 00:51:03 2003 Samplefile
1525859
Jul 04 00:51:03 2003 Samplefile
1527808 bytes used
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
Compressing and Uncompressing Files
121

Advertisement

Table of Contents
loading

Table of Contents