Chapter 6. Configuration

Table of Contents

6.1. Configuring switches in sFlowTrend-Pro
6.1.1. Adding a switch that is to be configured using SNMP
6.1.2. Verifying the switch configuration and status
6.2. Options
6.2.1. Setting the switch and interface naming policy
6.2.2. Configuring global SNMP settings
6.2.3. Configuring advanced options

6.1. Configuring switches in sFlowTrend-Pro

Select the ToolsConfigure switches menu item to launch the Configure switches dialog. This dialog contains a table which lists all the switches that sFlowTrend-Pro is receiving sFlow from. It also allows you change the SNMP community string for individual switches and to tell sFlowTrend-Pro about switches that it should configured via SNMP to send sFlow.

The table includes the following columns:

Status

This column uses colour coded symbols to indicate the overall status of the switch:

The switch is enabled and sFlowTrend-Pro is receiving sFlow and can communicate with the switch using SNMP.

The switch is enabled but sFlowTrend-Pro is not receiving sFlow or cannot communicate with the switch by SNMP. Or the switch is disabled but sFlowTrend-Pro is receiving sFlow. See Section 7.1.5, “sFlowTrend-Pro is not receiving sFlow from switch” and Section 7.1.6, “sFlowTrend-Pro cannot communicate with the switch using SNMP”.

The switch is enabled, but sFlowTrend-Pro is not receiving sFlow and cannot communicate with the switch using SNMP. See Section 7.1.5, “sFlowTrend-Pro is not receiving sFlow from switch” and Section 7.1.6, “sFlowTrend-Pro cannot communicate with the switch using SNMP”.

The switch is disabled and sFlowTrend-Pro is not receiving sFlow from the switch.

A switch setting has been changed in the Configure switches dialog, but the change has not been deployed (operation pending). sFlowTrend-Pro will deploy the change when you click the OK button.

The tooltip for the status symbol gives more detail on the status of the switch.

DNS name
The domain name obtained from the reverse DNS lookup of the SNMP IP address of the switch.
SNMP IP address
The IP address that sFlowTrend-Pro will use to communicate with the switch via SNMP to obtain the friendly system and interface names. This is also the IP address that sFlowTrend-Pro will use when using SNMP to configure the switch to send sFlow, if Configure via SNMP is selected.
sFlow agent address
sFlow agent address The IP address that is used by the sFlow agent on the switch to uniquely identify the switch. This address is learnt from the sFlow data and cannot be changed in sFlowTrend-Pro. In many cases the sFlow agent address will be the same as the SNMP IP address, however if the switch is switching between multiple VLANs, the sFlow agent address may be in a VLAN that is not routable to the host that is running sFlowTrend-Pro. In which case you can edit the SNMP IP address field to tell sFlowTrend-Pro how to communicate with the switch.
Community
The SNMP community string to be used by sFlowTrend-Pro when querying the switch for the systemGroup and the ifTable. sFlowTrend-Pro uses this SNMP data to present friendly names for the switch and its interfaces. If sFlowTrend-Pro is to use SNMP to configure the switch to send sFlow, this must be the SNMP read/write community string.
Configure via SNMP
Tick this checkbox if you would like sFlowTrend-Pro to use SNMP to configure the switch to send sFlow.
Enable
Tick this checkbox if you would like sFlowTrend-Pro to store data for this switch.
Edit
Although most of the commonly changed switch settings can be edited in the table, you can edit all the settings for a switch and view the detailed status of the switch by clicking on this table cell.
Delete
Delete the switch from the sFlowTrend-Pro and stop further data collection. If this switch has been configured by SNMP to send sFlow, sFlowTrend-Pro will disable sFlow before deleting the switch.

You can click with the left button on a column heading to sort the table by that column. You can also click with the Shift-left mouse button to add secondary sort columns.

Any changes made to switches and their settings will not be implemented until the OK button is clicked.

6.1.1. Adding a switch that is to be configured using SNMP

Clicking on the Add button launches a dialog that allows you to enter the details for a new switch. This should be used when you wish to tell sFlowTrend-Pro about a switch that should be configured using SNMP to send sFlow. Enter the SNMP IP address of the switch, the SNMP read/write Community for the switch, and ensure that the Configure sFlow via SNMP checkbox is ticked. Tick the Enable checkbox if you want sFlowTrend-Pro to enable and start collecting data from this switch. sFlowTrend allows data to be collected from only one switch, so if another switch is already enabled, the Enable checkbox will be inactive and you must disable the other switch before you can enable the new switch.

sFlowTrend-Pro will not configure the switch until the Configure switches dialog has been closed by clicking the OK button.

6.1.2. Verifying the switch configuration and status

Once you have submitted the changes that you have made in the Configure switches dialog, by clicking the OK button, the sFlowTrend-Pro status bar (see Section 1.1, “Introducing sFlowTrend-Pro”) will show the status of the switch that is currently selected in the Charts and Interfaces tabs. The message in the status bar will give information on whether sFlowTrend-Pro can communicate with the selected switch using SNMP, has successfully used SNMP to configure the selected switch to send sFlow (if this option has been chosen), and whether sFlowTrend-Pro is receiving sFlow from the selected switch.

You can also view the status of a switch by selecting the ToolsConfigure switches menu item to launch the Configure switches dialog and then viewing the tooltip for the colour coded switch status symbol or using the edit button to view the detailed status of a switch (see above).

The status message will also indicate if there is a problem with the configuration, for example:

No SNMP
sFlowTrend-Pro cannot communicate with the switch using SNMP. Verify that the sFlowTrend-Pro is using the correct community string and that there are no firewalls in the network or on the host that are blocking SNMP.
Cannot configure sFlow with SNMP - SNMP write access denied
sFlowTrend-Pro is not using the correct SNMP read/write community or the switch is not configured to allow SNMP set from the system running sFlowTrend-Pro.
Cannot configure sFlow with SNMP - no sFlow MIB
The switch cannot be configured via SNMP to send sFlow. Instead, you must use the switch CLI to configure sFlow (see Section A.1, “Configuring switches to send sFlow”.
Already in use
Another application has already configured this switch to send sFlow and there are no additional resources to send sFlow to sFlowTrend-Pro as well. Disable the other application so that the switch can be configured by sFlowTrend-Pro.