Create a Post
Showing results for 
Search instead for 
Did you mean: 

Purpose of the Transaction Mode

According to this link (, there is a transaction mode of the CLI whereby:

"All changes made
using commands in transaction mode are applied at once or none of the
changes are applied based on the way transaction mode is terminated."

My question is though, why would anybody use the said mode? I haven't seen it used personally so I was wondering if anybody who has could share their experiences.

Many thanks in advance.

0 Kudos
3 Replies

This is a better link to the docs:

In practical terms, it's exactly how the R80.x Management API works: you make configuration changes, but they are not implemented until you commit. Considering that some operating system changes require multiple commands to implement and the configuration between the commands may, in some cases, cause temporary connectivity issues, you may want to use this mode to limit this impact.


Thank you!

0 Kudos
Champion Champion

Another good use of transaction mode from clish would be trying to copy/paste a large number of commands directly into a SSH-based clish session.  When copy/pasting very large sets of commands I have seen situations where characters get dropped and cause a syntax error with some of the commands.  Rather than having some of them take effect instantly and  others not work (leading to strange problems), one could paste them in transaction mode (thus delaying their activation), scroll back up to ensure they were no errors displayed, then commit them if everything looks OK.  If there were errors just rollback the transaction, start a new one then paste a smaller number of commands (or correct whatever legit syntax errors you had in what you were pasting).

Or better yet just use load configuration and avoid copy/pasting entirely...


Gateway Performance Optimization R81.20 Course
now available at


Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events