INS_CNGE11FX3TX8MS[POE][HO] Rev. 11.6.17 PAGE 293
INSTRUCTION MANUAL
CNGE11FX3TX8MS[POE][HO]
TECH SUPPORT: 1.888.678.9427
Working with Configuration Files
The following example assumes a file system that contains an additional file called backup,
previously created with a copy command.
! List files in flash: my-device# dir
Directory of flash:
r-
1970-01-01 00:00:00 648 default-config
rw 1970-01-06 03:57:33
1313 startup-config
rw 1970-01-01 19:54:01
1237 backup
3 files, 3198 bytes total.
! Display the contents of the file ‘backup’ (output is abbreviated):
my-device# more flash:backup
hostname my-device
...
end
! Use file ‘backup’ for the next boot by overwriting startup-config:
my-device# copy flash:backup startup-config
% Saving 1237 bytes to flash:startup-config
! Verify that the sizes are identical: my-device# dir
Directory of flash:
r-
1970-01-01 00:00:00 648 default-config
rw 1970-01-06 05:30:41
1237 startup-config
rw 1970-01-01 19:54:01
1237 backup
3 files, 3122 bytes total.
! Regret and delete startup-config. Note how ‘flash:’ is required: my-device# delete flash:startup-
config
my-device# dir
Directory of flash:
r- 1970-01-01 00:00:00
648 default-config