Configure sFlow
Posted: 21 Oct 2011 11:28
Im trying to setup sFlow on one of our OS6850 (6.3.1.894.R01) but I can't seem to get any agent IP.
Under Ip->Interfaces i have only one interface (besides the Loopback 127.0.0.1). It's of type Vlan and is connected to vlan id 1.
On this interface, vlan_1, I have the primary IP used for management (192.168.100.70/24). On that same subnet I have a machine (192.168.100.5) running nTop with the sFlow plugin.
I have set up a reciever for this machine and configured a sampler but I still can't seem to get any traffic data. I suspect this might be becuse the agent reports 0.0.0.0 as it's IP.
Reading the build in help file it says:
The sFlow agent needs to send a fixed IP address in the datagram. Therefor, you must create a loopback0 IP address as the fixed primary address for the switch, since the primary IP address can change if the IP interface goes up or down.
I then continue to read in the AOS release 6 network config guide:
For example, to configure the loopback0 address as a primary IP address, enter:
-> ip interface loopback0 address 198.206.181.100
Note. The loopback address should be an IP interface configured on the switch.
If i try to run
-> ip interface loopback0 address 192.168.100.70
i get
ERROR: Ip Address must not conflict with interface vlan_1
Must I use an IP from another, new, subnet for my internal loopback address? I've tried to create a loopback0 of type Loopback but that is not allowed. Keeping it as unbound i can set a different address to it. That address is however not used in the Agent.
What is the correct procedure for setting up the sFlow agent? Is it possible for it to use 192.168.100.70?
Thanks!
Under Ip->Interfaces i have only one interface (besides the Loopback 127.0.0.1). It's of type Vlan and is connected to vlan id 1.
On this interface, vlan_1, I have the primary IP used for management (192.168.100.70/24). On that same subnet I have a machine (192.168.100.5) running nTop with the sFlow plugin.
I have set up a reciever for this machine and configured a sampler but I still can't seem to get any traffic data. I suspect this might be becuse the agent reports 0.0.0.0 as it's IP.
Reading the build in help file it says:
The sFlow agent needs to send a fixed IP address in the datagram. Therefor, you must create a loopback0 IP address as the fixed primary address for the switch, since the primary IP address can change if the IP interface goes up or down.
I then continue to read in the AOS release 6 network config guide:
For example, to configure the loopback0 address as a primary IP address, enter:
-> ip interface loopback0 address 198.206.181.100
Note. The loopback address should be an IP interface configured on the switch.
If i try to run
-> ip interface loopback0 address 192.168.100.70
i get
ERROR: Ip Address must not conflict with interface vlan_1
Must I use an IP from another, new, subnet for my internal loopback address? I've tried to create a loopback0 of type Loopback but that is not allowed. Keeping it as unbound i can set a different address to it. That address is however not used in the Agent.
What is the correct procedure for setting up the sFlow agent? Is it possible for it to use 192.168.100.70?
Thanks!