07-21-2025 04:22 PM
Text files placed inside a router (or switch) can be edited from IOS?
Does command "vi" exist?
Thanks for the information
07-21-2025 04:55 PM
Hi @A3XN ,
Interesting question - but you put on the forum that discussed Community related issues. You'll probably get a much better response on https://community.cisco.com/t5/switching/bd-p/6016-discussions-lan-switching-routing
In the meantime, I can tell that that vi
exists on Nexus 9000 switches in ACI mode (but you can't edit any config on Nexus 9000 switches in ACI mode)
But as for other switches/routers - I can't tell. I don't think so
08-01-2025 01:17 PM
Thank you
07-23-2025 03:00 AM
I doubt if "vi" is available in Cisco IOS, if any editor present it may be the line mode editor "ed"
best luck is to copy the file to a (t)ftp server, edit there and copy back
normal commands can be found using the "?" on the command prompt
so try "?"or "vi?", but i very much doubt this will give result on your system
there are a number of "hidden commands , but i doubt vi will fall among those.
on some devices you can access a host shell for some unixlike commands, but this is intended for use by Cico TAC engineer.
08-01-2025 01:19 PM
Double work must be done
08-02-2025 01:19 AM - edited 08-02-2025 01:24 AM
can you be more specific what you need to edit using vi ?
many network engineers can maintan their network configuration using the command-line options that are avaiable in the Cisco network equipment
- recall a previously entered command
- using "no <cmd>" command to negate/remove the command
- recall the command again and edit the command within the command line
there are many "hot-keys" to speed up this editing
https://www.cisco.com/c/en/us/td/docs/wireless/controller/8-5/cmd-ref/b-cr85/using_the_command_line_interface.pdf
repetitive commands like ACL lines or multiple route statements, can easily enough entered this way
some specific commands like ACL's use line-numbers within the ACL to pont at a specific entry
you can modify this ACL-line by specifying number when deleting and re-entering a modified entry (as described above)
08-19-2025 09:48 AM
When you're editing menus in VoIP telephony it's a pain to edit XMLs:
- test them
- If instructions fail, they must be re-edited
- Upload them again
... and repeat
08-20-2025 12:06 AM
Hi @A3XN ,
I really think this post is in the wrong place. As I said before, and as others have now suggested, you should post in the correct forum to get the best response. Otherwise you are just wasting people's time.
If it really is about a Cisco switch - post your question on https://community.cisco.com/t5/switching/bd-p/6016-discussions-lan-switching-routing
If it is about editing menus in VoIP telephony, then it is probably better posted on https://community.cisco.com/t5/collaboration/ct-p/4691-collaboration-voice-video
Sure - there will be people on this forum who MIGHT know about your problem, but you are not getting to your target audience, and the subscribers to this forum just get upset at all the irrelevant mails they get. (Sorry for adding to your pile everyone)
08-20-2025 02:26 PM
The label didn't allow me to select "community" and something like "others".
Really the topic (of which I asked for information) is not for exclusive VoIP use...
-> Anyway, I appreciate your notice:
wink wink
I take this opportunity to tell me what is the tag/forum for generic topics (so that I don't have to select randomly)?.
Best regards
08-01-2025 02:27 PM
@A3XN wrote:
Text files placed inside a router (or switch) can be edited from IOS?
Does command "vi" exist?
Thanks for the information
From IOS, directly, I don't believe so.
From platforms that support a Linux guest shell, very likely, although where the text files are stored, might not meet your requirements. For example, I don't know whether you could access the startup config file. However, editing python script, using vi, on Cisco devices, is mentioned as possible in Internet material.
Suggest you search for cisco and guestshell for additional information.
08-01-2025 02:30 PM
08-20-2025 02:28 PM
Thank you
I'm going to check it out
08-20-2025 02:30 PM
Thanks for the tip
08-19-2025 05:11 PM
I don't think that is possible on regular IOS; have not tried on NX, XE versions thou
08-19-2025 11:50 PM
So the post is not about regular IOS, but a router with Call Manager Express extension, is that correct?
I worked with CUCM, but I don't know CME that well, I'll look into this to see if this also adds aditional editing functionality.
and....., if it is about CME , you can take a look at the community below
https://community.cisco.com/t5/collaboration/ct-p/4691-collaboration-voice-video
at least there will be more tips how to handle those XML files on the router
(rephrase your question to beter describe your needs)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide