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
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?
On 18th December 2020, Cisco announced the latest IOS XE release - Cisco IOS XE Bengaluru 17.4.1a
The first one in the Cisco IOS XE Bengaluru release series, IOS XE 17.4.1a unlocks various routing features and enhancements comprehensively c...
This event had place on Tuesday 19th, January 2021 at 10hrs PDT
In this session attendees received an introduction to Software Defined-WAN (SD-WAN) and the importance of control connections, and learn how to configure devices us...
(view in My Videos)
Community Live- May the SD-WAN Force Be With You
This event took place on Tuesday 19th, January 2021 at 10:00hrs PDT
In this session attendees received an introduction to Software Defined-WAN (SD-WAN) and the importance of ...
Cisco Champion Radio · S8|E3 The Cisco DNA Center Machine Reasoning Engine
Machine Reasoning is a new category of AI/ML that you will soon hear a lot about. It saves your IT team time by automating complex and tedious networking tasks. It can also...
To participate in this event, please use the button to ask your questions
In this session attendees will receive an introduction to Software Defined-WAN (SD-WAN) and the importance of control connections, and learn how to configure devices usi...