1-2
Currently, only the sFlow agent function is supported on the device.
Operation of sFlow
sFlow operates as follows:
1) With sFlow enabled, a physical port encapsulates sampled data into packets and sends them to
the sFlow agent.
2) The sFlow agent periodically collects the statistics of all sFlow enabled ports.
3) When the sFlow packet buffer overflows or the one-second timer expires, the sFlow agent sends
sFlow packets to the specified sFlow collector.
Configuring sFlow
The sFlow feature enables the remote sFlow collector to monitor the network and analyze sFlow packet
statistics.
Follow these steps to configure sFlow:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Specify the IP address of the
sFlow agent
sflow agent
{
ip ip-address
|
ipv6
ipv6-address
}
Required
Not configured by default.
Specify the IP address and port
number of the sFlow collector
sflow collector
{
ip
ip-address
|
ipv6
ipv6-address
} [
port
port-num
]
Required
Not specified by default.
Set the counter sampling
interval at which the sFlow
agent collects the statistics of
sFlow enabled ports
sflow interval interval-time
Optional
20 seconds by default.
Enter interface view
interface interface-type
interface-number
—
Enable sFlow in the inbound or
outbound direction
sflow
enable
{
inbound
|
outbound
}
Required
Not enabled by default.
Specify the sFlow sampling
mode
sflow sampling-mode
{
determine
|
random
}
Optional
random
by default.
Currently, the
determine
mode
is not supported on S7900E
series Ethernet switches.
Specify the number of packets
out of which the interface will
sample a packet
sflow sampling-rate rate
Optional
200000 by default.
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...