2-884
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
show file
show file
To display the contents of a file that have been saved to Flash memory, use the show file command.
show file [device:]filename [dump]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines A colon (:) is required after the specified device.
Examples This example shows how to display the contents of the configuration file saved to Flas h me mo ry:
Console> (enable) show file slot0:cfgfile
begin
!
#version 5.4
!
set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70
set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70
set prompt Console>
set length 24 default
!
#system
set system baud 9600
set system modem disable
...
Console> (enable)
This example shows how to display the hexadecimal dump from a file:
Console> (enable) show file slot:cfgfile dump
8099d140 0A626567 696E0A21 0A237665 7273696F .begin.!.#versio
8099d150 6E20352E 3328302E 31312942 4F552D45 n 5.3(0.11)BOU-E
8099d160 6E670A21 0A736574 20706173 73776F72 ng.!.set passwor
8099d170 64202431 24464D46 51244866 5A523544 n $1$FMFQ$HfZR5D
8099d180 55737A56 48495268 727A3468 36563730 UszVHIRhrz4h6V70
8099d190 0A736574 20656E61 626C6570 61737320 .set enablepass
8099d1a0 24312446 4D465124 48665A52 35445573 $1$FMFQ$HfZR5DUs
8099d1b0 7A564849 5268727A 34683656 37300A73 zVHIRhrz4h6V70.s
...
device:(Optional) Device where the Flash memory resides.
filename Name of the configuration file.
dump (Optional) Shows the hexadecimal dump of the file.