Ad-Hoc Commands
Run commands on network devices with audit logging and role-based access
Overview
The Ad-Hoc Commands module lets authorized users execute pre-approved commands on one or more network devices simultaneously - without requiring direct CLI access. Every execution is logged with the user, timestamp, device, and output, creating a full audit trail.
Selecting and Running Commands
Step-by-step
show interface [interface]) have dynamic fields. Enter the values before running.Managing the Command Library (Admin)
Admins control which commands appear in the library and what roles can run them.
Adding a new command
- Go to Admin Panel → Command Library.
- Click Add Command.
- Enter a display name, the raw command string, category, and allowed roles.
- Use
{variable}syntax for dynamic parameters (e.g.show interface {interface}). - Save and the command immediately appears for eligible users.
Command string syntax
Editing or disabling a command
Click the pencil icon next to any command to edit it. Toggle the Active switch to hide it from users without deleting the history associated with it.
Viewing Command History
All executed commands are stored in the activity log and accessible from two places:
- My History - available to all users, shows their own executions with full output.
- Admin Panel → Activity Log - shows all users' executions, filterable by user, device, date range, and command.
Filters available
- Date range picker
- Device name or IP
- Username
- Command category
- Success / failure status
Permissions & Roles
| Role | Run Show Commands | Run Config Commands | Manage Library |
|---|---|---|---|
| Read-Only | Yes | No | No |
| Engineer | Yes | Yes | No |
| Admin | Yes | Yes | Yes |
Troubleshooting
Command times out
The default per-device timeout is 30 seconds. For commands that generate large output (e.g. full routing tables), increase the timeout in System Settings → SSH Timeout.
Device shows "Connection Failed"
Check that the jump server has SSH connectivity to the device. Use the Connectivity Test button in Device Management to verify the path.
Command not appearing in the dropdown
Your role may not have permission to run that command. Contact your admin to review the command's allowed roles in the Command Library.