Difference between revisions of "Editing, Saving and (auto)reverting configuration"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Category:Juniper_Networks show configuration: Displays the configuration currently running (active) on the device configure: Accesses configuration mode commit confirme...")
 
Line 1: Line 1:
 
[[Category:Juniper_Networks]]
 
[[Category:Juniper_Networks]]
  
show configuration: Displays the configuration currently running (active) on the device
+
Displays the configuration currently running (active) on the device
 +
show configuration
 +
show configuration | display detail
  
configure: Accesses configuration mode
+
Accesses configuration mode
 +
configure
  
commit confirmed: Activates configuration changes, but returns to previous configuration automatically if you don’t actively accept the new configuration. Use: When you’re committing a configuration that you think may lock you out of the device or otherwise disrupt access to the device, use this command to guarantee that you’ll be able to log in to the device
+
Activates configuration changes
 +
commit
  
request system snapshot: Backs up the device’s file systems, including configurations.  
+
Activates changes but returns to previous configuration automatically if you don’t actively accept the new configuration. Useful when  committing may lock you out of the device or otherwise disrupt access to the device
 +
commit confirmed
  
rollback: Returns to the previously active device configuration
+
Backs up the device’s file systems, including configurations
 +
request system snapshot
 +
 
 +
Manually backup active configuration in your homedir
 +
run show configuration | save config.txt
 +
 
 +
Manually backup candidate configuration in your homedir
 +
save config.txt
 +
 
 +
Auto backup of configuration once a day to remote backup machine
 +
set system archival configuration archive-sites ftp://admin:password@host/archives
 +
set system archival configuration transfer interval 1440
 +
set system archival configuration transfer-on-commit (backup on every commit instead)
 +
 
 +
Returns to the previously active device configuration
 +
rollback

Revision as of 22:31, 9 October 2016


Displays the configuration currently running (active) on the device

show configuration
show configuration | display detail

Accesses configuration mode

configure

Activates configuration changes

commit

Activates changes but returns to previous configuration automatically if you don’t actively accept the new configuration. Useful when committing may lock you out of the device or otherwise disrupt access to the device

commit confirmed

Backs up the device’s file systems, including configurations

request system snapshot

Manually backup active configuration in your homedir

run show configuration | save config.txt

Manually backup candidate configuration in your homedir

save config.txt

Auto backup of configuration once a day to remote backup machine

set system archival configuration archive-sites ftp://admin:password@host/archives
set system archival configuration transfer interval 1440
set system archival configuration transfer-on-commit (backup on every commit instead)

Returns to the previously active device configuration

rollback