Login configuration script for Junos EX 2200 using minicom
Posted
by
liv2hak
on Server Fault
See other posts from Server Fault
or by liv2hak
Published on 2012-09-12T03:29:31Z
Indexed on
2012/09/12
3:39 UTC
Read the original article
Hit count: 566
I am connecting to Junos OS on Juniper EX-2200 switches using minicom as shown below
minicom -C log_sw1 sw1
Now I have a series of commands that I need to execute on sw1.(example shown below)
cli
request system zeroize
show config
show interface
edit
delete protocols
set system arp aging-timer 240
I want to avoid having to type these commands every time I log into the system.I want to put them in a config file and I want the it to be execute every time I log into the switch using minicom.
Is there any way I can achieve this?
© Server Fault or respective owner