[j-nsp] Seeing configuration changes

Phil Shafer phil at juniper.net
Mon Jun 13 10:45:50 EDT 2005


Tim Coble writes:
>show | compare rollback 0

"rollback 0" is the default, so "show | compare" is all you need.
Non-zero rollback numbers will take you back thru previous commits.
Use "show | compare rollback ?" to see commit details.

You can also "show | compare <filename>" to compare the candidate
configuration to a saved file.  This supports URLs and scp-style
filenames so you can say things like:

   [edit]
   cli# show | compare phil at archives:nightly/my-rtr/2005-04-01.conf
   [edit system login user testuser]
   -    class operator;
   +    class read-only;

Thanks,
 Phil


More information about the juniper-nsp mailing list