Displaying The Contents Of A File On A Flash Device - Cisco WS-C2950SX-48-SI Configuration Manual

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Chapter 34
Working With the Flash File System
Task
Display a list of all files on a Flash device, including
deleted files.
Display a detailed list of files on a Flash device.
This example shows how to list the files on the default Flash device:
Console> (enable) dir
-#- -length- -----date/time------ name
1
2
3795052 bytes available (7608212 bytes used)
Console> (enable)
This example shows how to list the deleted files on the default Flash device:
Console> (enable) dir deleted
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .D ffffffff 81a027ca
4.1.98.cfg
2 .D ffffffff ccce97a3
.config.cfg
3 .D ffffffff 81a027ca
1213952 bytes available (6388224 bytes used)
Console> (enable)

Displaying the Contents of a File on a Flash Device

In software release 5.2 and later releases, you can display the contents of a file on a Flash device
onscreen. Enter the dump keyword to display a hex dump of the file.
To display the contents of a file on a Flash device, perform this task in privileged mode:
Task
Display the contents of a file on a Flash device.
This example shows how to display the contents of a file in bootflash:
Console> (enable) show file bootflash:dns_config.cfg
begin
!
#dns
set ip dns server 172.16.10.70 primary
set ip dns server 172.16.10.140
set ip dns enable
set ip dns domain corp.com
end
Console> (enable)
78-15486-01
3846376 Jun 14 2000 14:13:10 cat4000-k4.6-1-0-104-ORL.bin
3761580 Jun 14 2000 14:16:05 cat4000.6-1-0-104-ORL.bin
41bdc
43644
45220
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
Working With the Flash File System on the Switch
Command
dir [[m/]device:][filename] all
dir [[m/]device:][filename] long
22
7004 Apr 01 1998 15:27:45 4003.config.
23
6630 Apr 01 1998 15:36:47 4003.default
15
7004 Apr 19 1998 10:05:59 4003_config.cfg
Command
show file [device:]filename [dump]
Release 8.1
34-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents