Ethernet Switching
Ethernet Switching

Junos backup from switch

01.02.11   |  
‎01-02-2011 09:14 PM

Hi,

 

How to backup  Junos/Configuration from switch.    Just need commands.

 

I have downloaded configuration through Web but i need through CLI.

 

In case i am not able to access switch through web so it is necessary to upload config file through CLI mode.

 

I know the feature rollback.  But i need to know about how to backup config.

 

6 REPLIES
Ethernet Switching

Re: Junos backup from switch

01.03.11   |  
‎01-03-2011 02:21 PM

You can use an FTP or SCP server. To save a config use in edit mode

 

save ftp://userSmiley Tongueasswd@host/filename

 

to restore

 

load replace ftp://userSmiley Tongueasswd@host/filename 

best regards,

Screenie.
Juniper Ambassador,
JNCIA IDP AC WX JNCIS FW SSL JNCIP SEC ENT SP JNCI

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Ethernet Switching

Re: Junos backup from switch

01.04.11   |  
‎01-04-2011 10:07 PM

Hi Screenie,

 

Thanks for your inputs about FTP details.

 

How can i get through TFTP if i have TFTP server.

 

 

 

Ethernet Switching

Re: Junos backup from switch

01.04.11   |  
‎01-04-2011 11:30 PM

Unfortunately tftp isn't supported.  And the ftp syntax is screwed by a smiley....

 

best regards,

Screenie.
Juniper Ambassador,
JNCIA IDP AC WX JNCIS FW SSL JNCIP SEC ENT SP JNCI

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Ethernet Switching

Re: Junos backup from switch

01.05.11   |  
‎01-05-2011 02:23 PM

Screenie, you could drop the syntax commands into a "code" block, and the smileys won't take over.  Smiley Happy

 

Stealing from your post and regurgitating it here for readability, to save the config the syntax is:

 

save ftp://user:passwd@host/filename

 To restore from a saved config:

 

load replace ftp://user:passwd@host/filename 
-kr


---
If this solves your problem, please mark this post as "Accepted Solution."
Kudos are always appreciated.
Ethernet Switching

Re: Junos backup from switch

01.05.11   |  
‎01-05-2011 09:32 PM

Hi All,

 

 

Thnaks for your valuable information.

 

So i have option rollback.

 

Thanks again.

Ethernet Switching

Re: Junos backup from switch

07.18.15   |  
‎07-18-2015 04:40 AM

Apart from ftp , is there any way to take Juniper switches backup thru tftp