Tech Stuff, WorkMy router has a text editor

My router has a text editor

So I’m trying out the features in IOS-XR instead of doing the usual “conf t”… but found out you have several editors to chose from!

RP/0/RSP0/CPU0:router#edit route-policy UPSTREAM-OUT ?
emacs  to use Emacs editor
nano   to use nano editor
vim    to use Vim editor
<cr>
RP/0/RSP0/CPU0:router#

 

Editing the config via the terminal results in it being overwritten, so you can only edit in this method 🙁

=====

EDIT: OK, I found the text editor is useful for somethings, eg using VIM as the editor

:%s/region1-all-cust/region2-all-cust/

text editor to replace text is good 🙂

Categories: Tech Stuff, Work