Copy Config Juniper

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

request system snapshot

show chasis hardware


show chasis routing-engine
You can use the following command to copy the active configuration file to a server:
aviva@router1> file copy /config/juniper.conf.gz
server1:/homes/aviva/tmp
aviva@server1's password:
juniper.conf.gz
100% 2127
2.1KB/s
00:00

From configuration mode, use the save command to copy the candidate
configuration to your home directory on a server:
[edit]
aviva@router1# save server1:configuration-march02
aviva@server1's password:
tempfile
100% 11KB 11.2KB/s
00:00
Wrote 433 lines of configuration to 'server1:configuration-march02'

You can also save it to a file in your home directory on the router:
[edit]
aviva@router1# save configuration-march02
Wrote 433 lines of configuration to 'configuration-march02'
aviva@router1# run file list
/var/home/aviva:
.ssh/
configuration-march02

Another way to back up configuration files is to automatically transfer the file each
time you commit the configuration:
[edit system]
aviva@router1# set archival configuration transfer-on-commit
aviva@router1# set archival configuration archive-sites ftp:
//aviva:password@server1.
mynetwork.com:/m20-config-archives
-PIccolo
request system software rollback

To upgrade ICU using a build available on an FTP server:

1. Place the Junos OS build on an FTP server.


2. Start ICU by entering the following command:
user@root> request system software in-service-upgrade <ftp url for junos image>
no-sync
Sample Command
user@root> request system software in-service-upgrade
ftp://<user>:<password>@<server>:/<path> no-sync

You might also like