Kaspersky SD-WAN

Diagnosing a CPE device

You can request diagnostic information from a CPE device, such as BGP, OSPF, and PIM protocol usage. The diagnostic information returned in response to the request is displayed in the web interface of the orchestrator and, if necessary, can be downloaded as a TXT file.

Kaspersky SD-WAN also supports the following utilities for CPE device diagnostics:

  • Ping is a utility for testing the linkl between a CPE device and a specified IPv4 address.
  • Traceroute is a utility for determining the route between a CPE device and a specified IPv4 address.
  • Tcpdump is a utility for capturing traffic on a CPE device. Capturing means a copy is made of the traffic, and the original traffic is relayed to its destination.
  • Iperf is a utility for diagnosing network performance. You can use the CPE device as an iperf server or as an iperf client.
  • Sweep is a utility for performing the following actions on a CPE device:
    • Clearing the ARP cache
    • Restarting the FRR (Free Range Routing) process
    • Clearing the NAT session table
  • OpenFlow dump is a utility for requesting dump-flows and dump-groups generated by the virtual switch of a CPE device.

The tcpdump, iperf, and OpenFlow dump utilities generate reports that you can download or delete.

Running an utility is a task that the CPE device receives from the orchestrator; the task obeys the time period configured for the CPE device for sending REST API requests to the orchestrator. If you want the utilities to run sooner, you can enable interactive mode on the CPE device.

In interactive mode, the CPE device uses a shorter time interval for sending REST API requests to the orchestrator. Interactive mode ends automatically when the specified duration has passed. You can specify the following interactive mode settings when configuring the connection of a CPE device to the orchestrator and controller:

  • The period to wait until the CPE device sends another REST API request to the orchestrator in interactive mode
  • The time after which the interactive mode is automatically disabled

In this section

Requesting diagnostic information

Enabling interactive mode

Running the ping utility

Running the traceroute utility

Running the tcpdump utility

Running the iperf utility

Running the sweep utility

Running the OpenFlow dump utility

Managing reports

Page top
[Topic 272099]

Requesting diagnostic information

To request diagnostic information:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to request diagnostic information.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Diagnostic information tab.

    The diagnostic information request parameters are displayed.

  4. Click Request diagnostic information.
  5. In the Name drop-down list, select the type of diagnostic information you want to display:
    • disk usage for information about the disk usage of the CPE device. This is the default setting.
    • dump-flows for information about OpenFlow flows.
    • dump-groups for information about OpenFlow groups.
    • ip addresses for information about IP addresses assigned to physical ports or virtual interfaces of the operating system of the CPE device.
    • vrf data for information about virtual routing and forwarding tables.
    • ip neighbors for information about the IP neighbors of the CPE device, obtained from the ARP table or using the Neighbor Discovery Protocol.
    • ip routes for information about IPv4 and IPv6 routes.
    • ip rules for information about routing rules.
    • iptables for information about iptables.
    • cpe log for the local log of the CPE device.
    • ovs-ofctl show for information about the virtual switch.
    • ovs-vsctl show for information about the link between the virtual switch and controllers.
    • ovs-vsctl list controller for information about controllers specified for the virtual switch.
    • show ip ospf for Information about the OSPF routing process.
    • show ip ospf interface for information about OSPF interfaces.
    • show ip ospf neighbor - information about OSPF neighbors.
    • show ip ospf database for the OSPF database.
    • bgp show ip route for information about BGP routes.
    • show ip bgp for information about the BGP routing process.
    • show ip bgp summary for brief information about the BGP routing process.
    • top process for information about Linux processes.
    • uptime for information about the CPE device uptime.
    • time sync for information about time synchronization on the CPE device using an NTP server.
    • netstat for information about network links that the CPE device has established.
    • sdwan interfaces for information about SD-WAN interfaces.
    • modems for information about modems.
    • show bfd peers for information about BFD peers.
    • netflow dump-flows for information about NetFlow flows.
    • netflow statistics for information about the use of the NetFlow protocol.
    • show bfd peers brief for brief information about BFD peers.
    • show ip pim bsr for information about the current bootstrap router (BSR).
    • show ip pim bsrp-info for information about the group-to-rp mapping received from the boostrap router.
    • show ip pim interface for information about PIM interfaces. You can configure the PIM protocol when creating or editing a mutlicast interface.
    • show ip pim interface traffic for information about PIM traffic.
    • show ip pim join for information about multicast groups to which the CPE device is connected.
    • show ip pim neighbor for information about PIM neighbors.
    • show ip pim nexthop for information about the next hops of multicast groups.
    • show ip pim rp-info for information about rendezvous points. You can specify rendezvous points when specifying basic PIM settings.
    • show ip pim secondary for information about the backup PIM router.
    • show ip pim state for information about the state of the PIM protocol.
    • show ip pim statistics for Information about PIM protocol usage.
    • show ip pim upstream for information about PIM sources.
    • show ip igmp groups for information about IGMP groups.
    • show ip igmp interface for information about IGMP interfaces. You can configure IGMP when creating or editing a mutlicast interface.
    • show ip igmp interface detail for detailed information about IGMP interfaces.
    • show ip igmp sources for information about IGMP sources.
    • igmp statistics for information about IGMP usage.
    • show ip multicast for information about the multicast routing process.
    • show ip mroute for information about multicast routes.
    • show ip mroute summary for brief information about multicast routes.
    • vswitchd log for the log of the ovs-vswitchd process.
    • firewall config for information about the firewall.
    • sw version for the firmware version of the CPE device.
    • vrrp stats for brief information about VRRP usage.
    • vrrp data for information about VRRP usage.
  6. If you want to filter the displayed diagnostic information:
    1. In the Find line by pattern field, enter words that must be found in the lines of diagnostic information that you want to be displayed. Maximum length: 64 characters. If you want to display only lines that do not contain the words you entered, select the Show everything except found check box. This check box is cleared by default.
    2. In the Show lines before and after field, enter the number of blank lines you want to display before and after each line of diagnostic information.
  7. If you want to download the file with diagnostic information, click Download.

    An TXT file is saved on your local device.

Page top
[Topic 272206]

Enabling interactive mode

You can specify the following interactive mode settings when configuring the connection of a CPE device to the orchestrator and controller:

  • The period to wait until the CPE device sends another REST API request to the orchestrator in interactive mode
  • The time after which the interactive mode is automatically disabled

To enable interactive mode:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to enable interactive mode.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. In the upper part of the settings area, click Interactive mode.

Interactive mode is enabled on the CPE device.

Page top
[Topic 272184]

Running the ping utility

To run the ping utility:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to run the ping utility.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities tab.

    By default, the Ping tab is selected, which displays the ping utility settings.

  4. In the Destination IP address field, enter the IPv4 address to which you the CPE device sends ICMP requests.
  5. If you want the CPE device to send ICMP requests from a created network interface, in the Source network interface drop-down list, select the network interface.
  6. In the Count field, enter the number of ICMP requests that the CPE device sends. Range of values: 1 to 1,000,000. Default value: 5.
  7. In the Timeout (sec.) field, enter the time in seconds after which the CPE device must receive an ICMP response to consider the request a success. Range of values: 1 to 3600. Default value: 2.
  8. In the Size field, enter the size of the ICMP request in bytes. Range of values: 1 to 65,535. The default value is 56.
  9. In the TTL field, enter the maximum number of hops for ICMP requests. Range of values: 1 to 255. Default value: 255.
  10. In the Interval field, enter the interval in seconds for the CPE device to use when sending ICMP requests to the specified IPv4 address. Range of values: 1 to 300. Default value: 1.
  11. Click Run.

The ping utility is run on the CPE device, and a report containing the output of the ping utility is displayed in the lower part of the settings area.

Page top
[Topic 272126]

Running the traceroute utility

To run the traceroute utility:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to run the traceroute utility.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities → Traceroute tab.

    The traceroute utility settings are displayed.

  4. In the Destination IP address field, enter the IPv4 address to which you the CPE device sends the series of ICMP requests.
  5. If you want the CPE device to send the series of ICMP requests from a created network interface, in the Source interface drop-down list, select the network interface.
  6. If you want the CPE device to use the DNS server to resolve IP addresses to domain names when creating the report with the output of the traceroute utility, select the Resolve DNS names check box. You can specify a DNS server when creating or editing a network interface. IP addresses that cannot be resolved to domain names are also displayed in the report. This check box is cleared by default.
  7. In the Probes timeout (sec.) field, enter the time in seconds after which the CPE device must receive a series of ICMP responses to consider the series of ICMP requests a success. Range of values: 1 to 30. Default value: 3.
  8. In the Maximum of hops field, enter the maximum number of hops for the series of ICMP requests. Range of values: 1 to 60. Default value: 10.
  9. Click Run.

The traceroute utility is run on the CPE device, and a report containing the output of the traceroute utility is displayed in the lower part of the settings area.

Page top
[Topic 272127]

Running the tcpdump utility

The tcpdump utility generates a report with the captured traffic. When you run the tcpdump utility again, the report is overwritten. You can download the report if you want to keep it.

The tcpdump utility puts additional load on the CPU of the CPE device.

To run the tcpdump utility:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to run the tcpdump utility.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities → Tcpdump tab.

    The tcpdump utility settings are displayed.

  4. In the Capture network interface drop-down list, select the created network interface on which you want to capture traffic.
  5. In the Direction drop-down list, select the direction of the traffic you want to capture:
    • In to capture incoming traffic.
    • Out to capture outgoing traffic.
    • In/out to capture both incoming and outgoing traffic. This is the default setting.
  6. If you want the CPE device to use the DNS server to resolve IP addresses to domain names when creating the report with the captured traffic, select the Resolve DNS names check box. You can specify a DNS server when creating or editing a network interface. IP addresses that cannot be resolved to domain names are also reflected in the report. This check box is cleared by default.
  7. If you want to use a filter to capture traffic, in the Filter tcpdump field, enter the syntax of the filter. The maximum length of the filter is 1024 characters. For example, you can use the following filters:
    • icmp to capture only ICMP traffic packets.
    • host 1.2.3.4 and (port 80 or 443) to capture only traffic packets with IPv4 address 1.2.3.4 and source or destination TCP port 80 or 443.
    • tcp[13] & 2 != 0 to capture only TCP SYN traffic packets.

    Detailed information about traffic filters can be obtained from the official tcpdump documentation.

  8. In the Maximum capture time (sec.) field, enter the time in seconds after which traffic capture stops. Range of values: 10 to 600. Default value: 30.
  9. In the Maximum of captured packets field, enter the number of traffic packets that you want collected before traffic capture stops. Range of values: 1 to 10,000. Default value: 1000.

    Traffic capturing stops when the time specified in the Maximum capture time (sec.) field passes, or when the number of traffic packets specified in the Maximum of captured packets field is captured.

  10. Click Run.

The tcpdump utility is run on the CPE device, and a report with the captured traffic is generated.

Page top
[Topic 272128]

Running the iperf utility

The iperf utility generates a report with the results of network performance diagnostics. When you run the iperf utility again, the report is overwritten. You can download the previous report if you want to keep it.

To run the iperf utility:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to run the iperf utility.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities → Iperf tab.

    The iperf utility settings are displayed.

  4. Specify the mode in which you want to use the iperf utility on the CPE device by selecting one of the following options:
    • Server to use the CPE device as an iperf server.
    • Client to use the CPE device as an iperf client.
  5. If you chose the Server option, configure the iperf server:
    1. In the Port field, enter the TCP or UDP port number of the iperf server. Range of values: 1001 to 65,535. Default value: 7777.
    2. In the Report interval (sec.) field, enter the interval in seconds for writing lines to the report. Range of values: 0 to 60. Default value: 3.
    3. If you do not want to create a report with network performance diagnostics results, select the No report check box. This check box is cleared by default.
    4. Under Report format, select the format of the network performance diagnostics results in the report:
      • Kbit/sec. Default value.
      • Mbit/sec
      • Kbyte/sec
      • Mbyte/sec
    5. In the Run server for (sec.) field, enter the duration in seconds for which you want the iperf server to run. Range of values: 60 to 3600. Default value: 300.
  6. If you chose the Client option, configure the iperf client:
    1. In the Server IP field, enter the IPv4 address of the iperf server to which the iperf client connects.
    2. In the Port field, enter the TCP or UDP port number of the iperf server to which the iperf client connects. Range of values: 1001 to 65,535. Default value: 7777.
    3. In the Report interval (sec.) field, enter the interval in seconds for writing lines to the performance diagnostics report. Range of values: 0 to 60. Default value: 3.
    4. If you do not want to create a report with network performance diagnostics results, select the No report check box. This check box is cleared by default.
    5. Under Report format, select the format of the network performance diagnostics results in the report:
      • Kbit/sec. Default value.
      • Mbit/sec
      • Kbyte/sec
      • Mbyte/sec
    6. In the Run client for (sec.) field, enter the duration in seconds for which you want the iperf client to run. Range of values: 60 to 3600. Default value: 60.
    7. Specify the port type of the iperf server by selecting one of the following options:
      • TCP Default value.
      • UDP
    8. In the Client bitrate field, enter the bit rate of the iperf client in one of the following formats:
      • <bit rate in kbps>k or <bit rate in kbps>K

        For example, if you enter 10000K, the bit rate is 10,000 kbps.

      • <bit rate in Mbps>m or <bit rate in Mbps>M

        For example, if you enter 10M, the bit rate is 10 Mbps.

    9. In the Test direction drop-down list, select the direction of traffic that you want to use for measuring network performance:
      • Client-server to use the traffic that the iperf client sends to the iperf server. Default value.
      • Server-client to use the traffic that the iperf server sends to the iperf client.
      • Bidirectional to use traffic that the iperf client sends to the iperf server as well as the traffic that the iperf server sends to the iperf client.
    10. If necessary, in the TCP windows (bytes) field, enter the TCP window size in bytes. If you leave this field blank, the TCP window size is determined automatically.
    11. If necessary, in the TCP MSS (bytes) field, enter the maximum TCP segment size in bytes.
  7. Click Run.

The iperf utility is run on the CPE device, and a report with the network diagnostics results is generated.

To manage reports, click Go to files.

Page top
[Topic 272130]

Running the sweep utility

You can use the sweep utility to clear the ARP cache, restart the Free Range Routing (FRR) process, or clear the NAT session table on a CPE device.

Restarting the FRR process and clearing the NAT session table may cause traffic transmission to stop for a few seconds.

To run the sweep utility:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to run the sweep utility.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities → Sweep tab.

    The sweep utility settings are displayed.

  4. If you want to clear the ARP cache:
    1. Under Clear ARP cash on network interface, select the created network interface on which you want to clear the ARP cache. If you want to clear the ARP cache on all network interfaces, select All.
    2. Click Run.

    The ARP cache is cleared on the CPE device.

  5. If you want to restart the FRR process, under Restart FRR (routing) process, click Run.

    The FRR process is restarted on the CPE device.

  6. If you want to clear the NAT session table, under Clear NAT sessions table, click Run. You can configure NAT on a CPE device using a firewall.

    The NAT session table is cleared on the CPE device.

Page top
[Topic 272100]

Running the OpenFlow dump utility

The OpenFlow dump utility generates a report with the requested dump-flows and dump-groups. When you run the OpenFlow dump utility again, the report is overwritten. You can download the report if you want to keep it.

To run the OpenFlow dump utility:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to run the OpenFlow dump utility.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities → OpenFlow dump tab.

    The OpenFlow dump utility options are displayed.

  4. Click Run.

The OpenFlow dump utility runs on the CPE device and a report is generated with the requested dump-flows and dump-groups.

To manage reports, click Go to files.

Page top
[Topic 287103]

Managing reports

Reports generated by the tcpdump, iperf, and OpenFlow dump utilities. To display the table of reports on a CPE device, go to the SD-WAN → CPE menu section, click the CPE device, and select the Utilities → Files tab. Information about reports is displayed in the following columns of the table:

  • Type is the report format.
  • Created is the date and time when the report was created.

The actions you can perform with the table are described in the Managing solution component tables instructions.

In this section

Downloading a report

Deleting a report

Page top
[Topic 272180]

Downloading a report

To download a report:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device from which you want to download the report.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities → Files tab.

    The table of reports is displayed.

  4. Click Download next to the report that you want to download.

The report file is saved to your local device.

Page top
[Topic 272181]

Deleting a report

Deleted reports cannot be restored.

To delete a report:

  1. In the menu, go to the SD-WAN → CPE section.

    A table of CPE devices is displayed.

  2. Click the CPE device on which you want to delete a report.

    The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand icon expand_panel_up_icon_2. By default, the Configuration tab is selected, which displays general information about the CPE device. This tab also displays the table of Out-of-band management tasks being performed by the orchestrator.

  3. Select the Utilities → Files tab.

    The table of reports is displayed.

  4. Click Delete next to the report that you want to delete.
  5. In the confirmation window, click Delete.

The report is deleted and is no longer displayed in the table.

Page top
[Topic 272182]