
Diagnosing Switch Problems
sFlow
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 32-31
To configure a sFlow poller session, use the
sflow poller
, followed by
the instance ID number, the slot number of the port to be monitored, a slash (
/
), and the port number of the
port and
receiver
, then
receiver_index
.
For example, to configure poller session 3 on port 1/1, enter:
-> sflow poller 3 port 1/1 receiver 6
In addition, you can also specify the optional
interval
parameter after the receiver index value. For exam-
ple, to configure sFlow poller session 3 on port 1/1 with an interval of 5, enter:
-> sflow poller 3 port 1/1 receiver 6 interval 5
Configuring a Fixed Primary Address
In order to generate the IP packtes and sent the sFlow data-grams out into the network, sFlow agent
requires an IP address configured to it. The agents IP address can be configured using the
command. If there is no IP address configured, then the sFlow data-grams will not be sent to the receiver.
For example, to configure the agent IP address, enter:
-> sflow agent ip 198.206.181.3
Displaying a sFlow Receiver
command is used to display the receiver table.
For example, to view the sFlow receiver table, enter the
show sflow receiver
command without specify-
ing any additional parameters. A screen similar to the following example is displayed, as shown below:
-> show sflow receiver
Receiver 1
Name = Golden
Address = IP_V4 198.206.181.3
UDP Port = 6343
Timeout = 65535
Packet Size= 1400
DatagramVer= 5
Note.
For more information about the displays that result from these commands, see the
OmniSwitch CLI
Reference Guide
.