Configuration of ospf.conf via serial console


we need to configure many routers at same time so we are using generated configs and paste them via serial console.
As we need to use also OSPF, is there any possibility to configure/edit/transfer ospf.conf file to router via serial console?

Thank you in advance.


if you are using a terminal emulation package that supports Xmodem you can xmodem the file on to the transport over serial / telnet and i think ssh

the command on transport is

Useage: xmodem filename

then start the file transfer in the emulation package

there are no CLI / editors on the router to manipulate the file contents directly