Alcatel-Lucent 6850-48 Network Guide

Page of 1162
Diagnosing Switch Problems
sFlow
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 45-31
To configure a sFlow poller session, use the 
 command by entering 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 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 1/1 receiver 6 interval 5
Configuring a Fixed Primary Address
It is necessary to execute the 
 command to make a Loopback0 IP address as the fixed primary 
address of the switch, in order to avoid interface changes, which might need the collector software to be 
restarted for it to communicate using the new agent IP address. Normally, the primary IP address could 
change depending on the IP interface going up/down. Therefore, the sFlow agent always needs to send a 
fixed IP address in the datagram.
For example, to configure the Loopback0 address as a primary IP address, enter:
-> ip interface Loopback0 address 198.206.181.100
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 will be 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
.