Difference between revisions of "Editing, Saving and (auto)reverting configuration"
From Tech-Wiki
(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]] | ||
− | + | 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 |
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