Owner's manual

Viewing the contents of flash files
The copy flash console command can be used to display the contents of a configuration file, backup
file, or renamed file stored in flash memory. The file contents are displayed on the console when the
command is entered at the CLI.
To display a list of files stored in flash memory, do one of the following:
For devices other than FCX and ICX, enter the dir command at the monitor mode. To enter monitor
mode from any level of the CLI, press the Shift and Control+Y keys simultaneously then press the
M key. Enter the dir command to display a list of the files stored in flash memory. To exit monitor
mode and return to the CLI, press Control+Z .
For FCX devices, enter the show dir command at any level of the CLI, or enter the dir command at
the monitor mode.
For ICX devices, enter the show files command at the device configuration prompt.
The following shows an example command output.
device#show dir
133 [38f4] boot-parameter
0 [ffff] bootrom
3802772 [0000] primary
4867691 [0000] secondary
163 [dd8e] stacking.boot
1773 [0d2d] startup-config
1808 [acfa] startup-config.backup
8674340 bytes 7 File(s)
56492032 bytes free
Syntax: show dir
To display the contents of a flash configuration file, enter a command such as the following from the
User EXEC or Privileged EXEC mode of the CLI:
device#copy flash console startup-config.backup
ver 07.0.00b1T7f1 !
stack unit 1
module 1 fcx-24-port-management-module
module 2 fcx-cx4-2-port-16g-module
module 3 fcx-xfp-2-port-10g-module
priority 80
stack-port 1/2/1 1/2/2
stack unit 2
module 1 fcx-48-poe-port-management-module
module 2 fcx-cx4-2-port-16g-module
module 3 fcx-xfp-2-port-10g-module
stack-port 2/2/1 2/2/2
stack enable
!
!
!
!
vlan 1 name DEFAULT-VLAN by port
no spanning-tree
metro-rings 1
metro-ring 1
master
ring-interfaces ethernet 1/1/2 ethernet 1/1/3
enable
!
vlan 10 by port
mac-vlan-permit ethe 1/1/5 to 1/1/6 ethe 2/1/5 to 2/1/6 no spanning-tree !
vlan 20 by port
untagged ethe 1/1/7 to 1/1/8
no spanning-tree
pvlan type primary
pvlan mapping 40 ethe 1/1/8
pvlan mapping 30 ethe 1/1/7
!
Viewing the contents of flash files
94 FastIron Ethernet Switch Administration Guide
53-1003075-02