Portnox Switch Commander
In this topic, you will learn about Portnox Switch Commander, a free desktop tool that lets you check and change switch ports from many vendors in one interface.
Portnox Switch Commander is a free tool created by Portnox engineers to complement Portnox Cloud. It is not an integral part of the Portnox Cloud product.
As such, it is subject to the following limitations:
- It is provided free of charge and on an “as-is” basis.
- It is not supported by Portnox Technical Support.
- It is not covered by any Portnox Cloud service-level agreement (SLA), support contract, or product warranty.
- Portnox does not guarantee its fitness for a particular purpose, correctness, or continued maintenance.
- Use of this tool is at your own risk.
Portnox Switch Commander is available for Windows 10 and later (x64). To get it, fill out the form on the Switch Commander download page.
What is Portnox Switch Commander?
In this section, you will learn what Portnox Switch Commander does and what it needs to run.
Portnox Switch Commander stores the connection details of your switches in an encrypted database. It reads the ports of each switch and shows them in one table. You can use it to check and change ports without logging in to each switch separately.

Portnox Switch Commander can do the following:
-
Connect to switches using SNMP v1, SNMP v2c, SNMP v3, web login, Telnet, or SSH.
-
Show all interfaces of a switch with their status, VLANs, and connected devices.
-
Enable or disable ports.
-
Assign ports to a VLAN.
-
Run actions on several ports at once.
-
Log each operation in detail.
Portnox Switch Commander needs no installation. Download the file and run it. It needs the following:
- Windows 10 or later (x64)
- A 1 GHz processor
- 2 GB of memory
- 200 MB of free disk space
-
Microsoft Visual C++ 2012 Redistributable (x64). If it’s missing when you run Portnox Switch Commander, a wizard opens and lets you download it.
Setting up the database
In this section, you will learn how to protect the database that stores your switch credentials.
The database stores the IP addresses and credentials of all your switches. Portnox Switch Commander asks for a database password when you run it for the first time.
To manage the database later, use the Database section of the Options tab:
- Save As...: saves the database to a new file
- Create New...: creates an empty database
- Change Password: changes the database password
Adding a switch
In this section, you will learn how to add a switch and its credentials to Portnox Switch Commander.
Turn on the management protocol you want to use (SNMP, web login, Telnet, or SSH) on the switch. For instructions, see the documentation of your switch.
Port actions over SNMP need write access. Some devices offer read-only SNMP access only, for example, Ubiquiti UniFi devices. Portnox Switch Commander can read the ports of such devices but can’t change them.
To change a switch, open the dialog again, click on the Select IP option, and select the switch. Make your changes, then click on the Update button. To remove the switch, click on the Delete button.
Probing a switch
In this section, you will learn how to read the ports of a switch.
The most important columns of the ports table are:
- Description: the interface name
- Status: whether the port is up or down
- VLAN: the VLAN number and name of the port
- Unit and Number: the switch number in a stack and the port number
- IF Type: the SNMP interface type, for example,
6for Ethernet - Access Port: whether you can change the port with port actions
- Is Trunk and Uplink: whether the port is a trunk or uplink port
- Devices: the MAC addresses of connected devices
Select a port to see its details in the panel below the table.
After a probe, the Exlusive field in the Add/Edit Switch dialog lists the interfaces that aren’t access ports, for example, VLAN interfaces. You can’t edit this field.
Changing ports
In this section, you will learn how to enable, disable, and assign VLANs to switch ports.
Probe the switch first. You can change access ports only.
You can also right-click on the selected ports and select Enable Port, Disable Port, or Set Vlan....
Analyzing results
In this section, you will learn how to use the Output and Actions panels to analyze probes and port actions.
-
The Output tab logs each probe and action with its errors, warnings, and hints. The first lines show the protocol used, for example,
SNMPv: v2c, and the connection status. -
The Actions tab lists each operation, for example,
connectorenable, with its error, warning, and hint counts. Select an operation to see its details below the list. -
To highlight text in the log, type it in the search field at the top of the panel. To clear the search field, click on the eraser icon next to it.
-
To clear both panels, click on the Clear Outputs & Commands button in the Switch tab.
Common results:
-
connectFailedwithin a fraction of a second: the switch refused the request or never got it. Check that the IP address belongs to the switch, that the protocol and SNMP version are correct, and that SNMP is on. -
There are no access ports: no interface matches the port naming scheme. Select a format in the Access Port Name Format field. -
An action fails with
Err: 1: check that the switch allows write access.
Changing the look
In this section, you will learn how to change the appearance of Portnox Switch Commander.
Use the View tab:
-
Skins: select a ready-made color theme. The first skin in the list is a vector skin. When you select it, you can adjust its colors in the Plate section.
- Show Filter Row: adds a filter row to the ports table
- Show Vertical Lines and Show Horizontal Lines: show or hide grid lines in the ports table
