Technical Tip: FortiGate workspace mode - commit, abort, and timeout behavior
| Description | This article describes workspace mode behavior, transaction lifecycle (start, commit, abort, timeout), configuration limitations and relevant CLI and diagnostic commands. |
| Scope | FortiGate. |
| Solution | Workspace mode allows FortiGate administrators to stage and review configuration changes before explicitly committing them to the active configuration. This transactional approach enhances operational safety by preventing unintended configuration impacts and enabling reversible change management.
Key concepts:
config transaction id=1 will expire in 30 seconds
Limitations: The following settings cannot be modified within a workspace transaction:
config system console
Note: The execute batch command cannot be executed within or to initiate workspace mode.
Workspace mode workflow:
execute config-transaction
Once initiated, configuration changes occur within a local CLI process isolated from other administrator sessions.
execute config-transaction commit
All staged changes are merged into the running configuration and applied to the kernel.
execute config-transaction abort
All pending changes are discarded without any effect on the current configuration.
Diagnostic commands: Use the following diagnostic commands to monitor workspace transactions:
Show transaction metadata:
diagnose sys config-transaction show txn-meta
Show transaction details:
diagnose sys config-transaction show txn-info
List entities in the current transaction:
diagnose sys config-transaction show txn-entity
Display transaction lock status:
diagnose sys config-transaction show txn-lock
Check active transaction status:
diagnose sys config-transaction status |
