Author Topic: Factory reseting EX4200 from CLI  (Read 2875 times)

jm

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Factory reseting EX4200 from CLI
« on: June 28, 2011, 08:45:47 pm »
Is there a way to do the equivalent to an LCD reset using the CLI?   
load factory-default is close but requires that you set the system root-authentication before a commit and I would like to return the EX4200 to the true factory default without having to go the the LCD.



screenie.

  • Global Moderator
  • Atomic Playboy
  • *****
  • Posts: 1315
  • Karma: +1/-0
    • View Profile
Re: Factory reseting EX4200 from CLI
« Reply #1 on: June 29, 2011, 06:43:37 am »
Log in to UNIX shell (start sh) and delete all config files from /config and /config/db/config (not sure about the latest location, on all junos it is /var/db/config. something else on EX. You can locate the fiel with find / "*config*" -print.
Regards, Screenie
------------------------
JNSS, JNCIA, JNCIS, JNCIP, JNCI

jm

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Factory reseting EX4200 from CLI
« Reply #2 on: June 29, 2011, 01:41:45 pm »
would that remove the virtual chassis info as well?

screenie.

  • Global Moderator
  • Atomic Playboy
  • *****
  • Posts: 1315
  • Karma: +1/-0
    • View Profile
Re: Factory reseting EX4200 from CLI
« Reply #3 on: June 29, 2011, 05:34:18 pm »
No, you have to disable that and probly renumber the vc member number to zero.
Regards, Screenie
------------------------
JNSS, JNCIA, JNCIS, JNCIP, JNCI