Hello All,
Can someone please show me how to create a file in the directory called nvram: or flash:
I'm currently using GNS3 and would like to create a file called myfile in either nvram: or flash:
i.e
nvram:myfile or flash:myflle
Cheers
Carlton
Carlton,
As far as I know, you can't create an arbitrary file in flash or nvram even on real equipment. There's no such thing as the touch command, like Linux, that can create an empty file. You can archive commands into a text file on real equipment with the "show
R2#sh clock | append flash:/test.txt
% Appending is not supported in this file system
R2#
Now whether this can be worked around, I'm not sure, but again there's no "touch" command or "echo" command that would allow you to create a file. You possibly could do a tcl script to create a file though, but I've not tried this...
Is there something in particular you're trying to do?
HTH,
John