JunOS config tips Commit/conf
commit confirmed you will be committing the change, but only for 10 minutes unless you enter the commit command a second time. If you want to be more specific you can shorten the time before the rollback.
show | compare – This will show the differences between the changes that you’ve made (candidate configuration) and the running configuration.
commit check – The system will let you know of potential problems with your configuration
commit comment “Text that will describe what you’re doing” – This will attach a description to the changes that you’re making
commit at – lets you schedule your commit.
Operational mode:
show system commit – This will list the configurations with your comments. This is especially helpful if you have radius / tacacs / ldap setup as a user name will be appended to the configuration.
show system rollback compare # # – This will show the differences between two previous configurations.