How to troubleshoot swx-top¶
Last validated:
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.
-
If an xNIC was installed but is not showing up in swx-top¶
-
Navigate to the swxtch-xnic.conf file and validate that the "SwxtchSvcAddr" is correct.
- Windows can be found at "C:\Program Files\SwXtch.io\Swxtch-xNIC"
- Linux can be found at "/var/opt/swxtch/swxtch-xnic.conf"
-
Check that the firewall is open for the following ports:
subnet protocol ports vm ctrl-subnet tcp 80 cloudSwXtch ctrl-subnet udp 10800-10803 all 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 swxtch-perf for the same IP:Port combination and then retry in the program.
- If the joins are not showing here, then the application is not joining the multicast group. In this case, run swxtch-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.