Warning
Follow the commands in this guide with guidance from a Linewize Support Engineer.
Linewize Filter has a two-part Command Line Interface (CLI): SphireOS (a proprietary product of Linewize) and Bash. You may be familiar with Bash if you have used a Linux terminal. However, the implementation of Bash for Linewize Filter is limited, with most standard Linux/Unix utilities removed.
Accessing the CLI
Access to the CLI is local only and requires you to connect to the appliance with a keyboard and mouse. Alternatively, SSH access is available to Linewize Filter, provided it has been preconfigured via the cloud interface in Advanced Configuration.
- On boot, the Linewize Filter will provide a login prompt to the SphireOS CLI.
- Press Enter to log in.
- If you want to get straight to Bash, type system debug exec bash to switch across.
- From Bash, type exit to switch back to SphireOS.
Warning
Linewize Filter may get stuck in a start-up check mode if cloud connectivity is unavailable, where it will reboot every few minutes to establish a connection. If the device is in this state, you can break out of the start-up checks by entering Ctrl + Alt + Delete.
SphireOS Command Reference
Warning
Only use the commands in this guide with guidance from a Linewize Support Engineer.
| Description | Command |
|---|---|
| Launch the configuration wizard | |
| Check for updates | |
| Update the Linewize Filter | |
| Lock SphireOS version to prevent rollback | |
| To force downgrade/rollback | |
| Reboot the Linewize Filter | |
| Shutdown the Linewize Filter | |
| Reset all settings | Warning There is no confirmation for config reset. |
| Launch a Bash shell | |
| Bounce an interface | |
| Generate debug logs | |
Generate a coredump Warning Do not use this command unless instructed by Linewize support. | |
| Show the available commands | |
| Go up a level | |
| Exit Bash | |
Bash Command Reference
| Description | Command |
|---|---|
| Show the status of the network adapters | |
| Clear an interface configuration | Example |
| Show the current routes | |
| Reset the routing table | |
| Show the routes for the device (from bash) | |
| Set a default route | Example |
| Remove a default route | Example |
| Obtain the last few syslog messages | |
| Follow and retry syslog messages | Note Continues to display log messages as they are available. |
| Look for a word in the syslog | Example |
| Force upload logs | |
| Look for issues in the syslog | |
| Show the content of a URL | Example |
| Check ping Google's DNS IP address | |
Check ping Google's DNS IP address (with a limit of four packets) | |
| Check ping Linewize domain | |
| Check DNS | |
| Check you can go to google.com | Basic Check:
|
| Check for upstream inspection | |
| Check the path to Linewize | |
| Check the date and time | |
| Check the interfaces | |
| Obtain command history | |
| Obtain current connections | |
| Read the configuration of the device | |
Further Support
For further support on installing your Linewize appliance, please contact Linewize Support.