How to troubleshoot swx-top¶
WHAT TO EXPECT
In this article, users will learn how to troubleshoot swx-top issues.
-
If the swx-top "Status" is showing that there is a "Connection error:"¶
- Check that the cloudSwXtch is started.
- Check that you entered the proper cloudSwXtch name or IP when running the swx-top command, if necessary.
- If the name does not work when running the swx-top command, then the DNS is not set up correctly; use the IP address instead.
- Check that TCP 9443 (cloudSwXtch) and 8443 (OMNI) are reachable from this machine. On a remote host, pass
-s https://<cloudSwXtch-ctrl-IP>:9443, and-K sha256//<pin>if swx-top asks to trust the key (see swx-top).
-
If an xNIC or swXtchBridge was installed but is not showing up in swx-top¶
- The xNIC may not have been approved by an administrator. See Authorizations
-
Open the xNIC configuration file, swx-xnic-config.json, and check that
installedConnection(in thecomponentsection) has the cloudSwXtch control IP and port (9443 by default).- Windows: "C:\Program Files\SwXtch.io\swx-xnic\swx-xnic-config.json"
- Linux: "/var/opt/swx/xnic/swx-xnic-config.json"
-
Check that the firewall is open for the following ports:
subnet protocol ports vm ctrl-subnet tcp 9443 cloudSwXtch data-subnet udp 9999 all
-
If a multicast group is not showing up, then check that they have registered.
-
In Linux, run this command:
-
In Windows, run this command in PowerShell:
-
If the joins are not showing here, then the application is not joining the multicast group. In this case, run swx-perf for the same IP:Port combination and then retry in the program.
- If using Windows, make use of Task Manager and view Performance to know where data is being sent/received.
- Validate using TCPdump or Wireshark to identify where traffic is going, as it could be going to the wrong network interface; it should be going to the Data Interface if xNIC2 and swx0 if xNIC is Type 1 or 3. An example is below:
-
PLEASE NOTE
xNIC Type 1 and Type 3 interface: swx0
xNIC2 interface: data NIC (usually eth1 or ens6 for Linux, and "Ethernet 2" for Windows)
- Validate that a firewall is not stopping the multicast and open up the firewall to include port exceptions.