cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4606
Views
0
Helpful
1
Replies

Creating File in nvram: or flash: on GNS3

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

1 Reply 1

John Blakley
VIP Alumni
VIP Alumni

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 | append flash:/" and it will create a file for you. I tried this in GNS though and it states:

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

HTH, John *** Please rate all useful posts ***
Review Cisco Networking for a $25 gift card