Editing, Saving and (auto)reverting configuration

From Tech-Wiki
Revision as of 22:36, 9 October 2016 by Fabricio.Lima (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Displays the configuration currently running (active) on the device

show configuration
show configuration | display detail

Compare candidate config with active configuration

show | compare
show | compare rollback X

Returns to the previously active device configuration

rollback

Accesses configuration mode

configure

Check configuration before a commit

commit check

Auto commit at a particular time

commit at 02:00:00

Delete pending auto commit

clear system commit

Show pending auto commits and commits history

show system commit

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

Load some configuration snippets from file

load override /var/tmp/router-config
commit

Load snippets from clipboard

load merge terminal
[Type ^D at a new line to end input]
...
commit

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)