3com S7906E Manuel De Montage
1-3
z
The sFlow agent and sFlow collector must not have the same IP address.
z
Currently, you can specify at most two sFlow collectors on the device.
z
The sFlow agent and sFlow collector must be configured with the same version of IP addresses.
Displaying and Maintaining sFlow
To do…
Use the command…
Remarks
Display sFlow configuration
information (on a distributed
device)
information (on a distributed
device)
display sflow [ slot
slot-number ]
slot-number ]
Available in any view
Display sFlow configuration
information (on a distributed
IRF device)
information (on a distributed
IRF device)
display sflow [ chassis
chassis-number slot
slot-number ]
chassis-number slot
slot-number ]
Available in any view
sFlow Configuration Example
Network requirements
z
Host A and Server are connected to Switch through GigabitEthernet 2/0/1 and GigabitEthernet
2/0/2 respectively.
z
Host B works as an sFlow collector with IP address 3.3.3.2 and port number 6343, and is
connected to Switch through GigabitEthernet 2/0/3.
z
GigabitEthernet 2/0/3 belongs to VLAN 1, having an IP address of 3.3.3.1.
Run sFlow agent on Switch, and enable sFlow on GigabitEthernet 2/0/1 to monitor traffic on this
interface. Switch sends sFlow packets through GigabitEthernet 2/0/3 to Host B, which then analyzes
the sFlow packets and displays the results.
Figure 1-1 Network diagram for sFlow configuration
Configuration procedure
# Configure an IP address for the sFlow agent.
<Switch> system-view