Once an sFlow receiver/destination has been enabled, this command enables flow sampling for that instance.
The receiver-instance number is 1, 2, or 3, and the sampling rate is the allowable non-zero skipcount for the
specified port or ports.
To disable flow-sampling for the specified port-list, repeat the above command with a sampling rate of
0
.
Syntax:
sflow <
receiver-instance
> polling <
port-list
> <
polling interval
>
Once an sFlow receiver/destination has been enabled, this command enables counter polling for that instance.
The receiver-instance number is 1, 2, or 3, and the polling interval may be set to an allowable non-zero value to
enable polling on the specified port or ports.
To disable counter-polling for the specified port-list, repeat the above command with a polling interval of
0
.
NOTE:
Under the multiple instance implementation, sFlow can be configured via the CLI or via SNMP.
However, CLI-owned sFlow configurations cannot be modified via SNMP, whereas SNMP-owned
instances can be disabled via the CLI using the
no sflow <
receiver-instance
>
command.
Viewing sFlow Configuration and Status (CLI)
The following sFlow commands allow you to display sFlow configuration and status through the CLI
on page 214 is an example of
sflow agent
information.
Syntax:
show sflow agent
Displays sFlow agent information. The agent address is normally the IP address of the first VLAN configured.
The
show sflow agent
command displays read-only switch agent information. The version information shows
the sFlow version, MIB support, and software versions; the agent address is typically the IP address of the first
VLAN configured on the switch.
Viewing
sflow agent
information
switch# show sflow agent
Version 1.3;XX.11.40
Agent Address 10.0.10.228
Syntax:
show sflow <
receiver instance
> destination
Displays information about the management station to which the sFlow sampling-polling data is sent.
The
show sflow
instance
destination
command includes information about the management-station's
destination address, receiver port, and owner, as shown in the following example.
Viewing
sFlow destination
information
switch# show sflow 2 destination
Destination Instance 2
sflow Enabled
214
Aruba 2930F / 2930M Management and Configuration Guide
for ArubaOS-Switch 16.08