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?
To participate in this event, please use the button to ask your questions
* Note: The link to join the discussion will be activated on March 8
All the knowledge of these four experts at your disposal!
Cisco Software-Defined Wide Area Network (SD-WAN...
Community Live- ISR1100X-4G and ISR1100X-6G Platform Overview and Architecture
(Live event - Tuesday, 23 March, 2021 at 10:00 am Pacific/ 1:00 pm Eastern / 7:00 pm Paris)-
This event will have place on Tuesday 23rd, March 2021 at 10:00 hrs PDT&...
Cisco Secure Network Access is helping IT to bridge the gap between what is essential to the business and what the network delivers and to build the next-generation campus network for an unplugged and uninterrupted experience.
Learn more about how these w...
(view in My Videos)
Community Live- New Additions to the Catalyst 8000 Family
(Live event - Tuesday, 23 February, 2021 at 10:00 am Pacific/ 1:00 pm Eastern / 7:00 pm Paris)-
This event had place on Tuesday 23rd, February 2021 at 10:00 hrs PDT...
This event had place on Tuesday 23rd, February 2021 at 10hrs PDT
Designed for an intent-based network, the Cisco Catalyst 8000 Edge Platforms family offers best-in-class networking and security combined. The platforms, available in b...