Command Safety Warnings
NetStacks warns before you send risky commands such as reload, write erase or configure terminal, and the Session Guard preview catches commands that would cut off your own SSH session.
Overview
When you press Enter on a risky command, NetStacks holds it and asks you to confirm before it reaches the device. The warning explains the risk and can suggest a safer alternative.
The Warning Dialog
- The dialog is titled Dangerous Command or Command Warning and shows the command and the reasons.
- Consider instead: lists alternatives you can click.
- Cancel clears the line on the device without running it.
- Proceed Anyway (dangerous) or Continue (warning) sends the command.
What Triggers a Warning
| Level | Examples |
|---|---|
| Dangerous | reload, reboot, shutdown, format, rm -rf |
| Warning | configure terminal, Junos edit, enable, sudo, delete, clear, reset, write erase, copy run start, commit, no ip route, clear ip bgp, no interface, no vlan and similar |
Because conf t and enable are in the warning list, you will see a confirmation for them with the default settings.
Turning Warnings Off
Open Settings → Highlighting and switch off Command Safety → Warn on dangerous commands. It is on by default.
Session Guard (Preview)
Session Guard looks for commands that would cut off your own SSH session — for example shutting down the interface your connection runs over. It is a preview for Cisco IOS sessions in the standalone app.
- In Settings → General → Terminal, turn on Session Guard (applies to new sessions).
- Choose Session Guard Mode:
- Dry run (trace only) (default) checks each command and writes a local trace without ever holding anything.
- Enforce (hold and ask) holds a severing command and shows Session Guard: this will sever your session with Cancel and Send anyway.
- Reconnect. The setting applies to sessions opened after the change.