Compressing And Uncompressing Files - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Compressing and Uncompressing Files

Compressing and Uncompressing Files
The gzip command compresses (zips) the specified file using LZ77 coding.
This example directs the output of the show tech-support command to a file (Samplefile), and then zips the
file and displays the difference in the space used up in the volatile directory:
switch# show tech-support > Samplefile
Building Configuration ...
switch# dir
Usage for volatile://
19443712 bytes free
20971520 bytes total
switch# gzip volatile:Samplefile
switch# dir
Usage for volatile://
20705280 bytes free
20971520 bytes total
The gunzip command uncompresses (unzips) LZ77 coded files.
This example unzips the file that was compressed in the previous example:
switch# gunzip Samplefile
switch# dir
Usage for volatile://
19443712 bytes free
20971520 bytes total
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
52
1525859
Jul 04 00:51:03 2003 Samplefile
1527808 bytes used
266069
Jul 04 00:51:03 2003 Samplefile.gz
266240 bytes used
1525859
Jul 04 00:51:03 2003 Samplefile
1527808 bytes used
Configuring the Switch
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents