3com S7906E 安装指导
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
sflow agent { ip ip-address |
ipv6 ipv6-address }
ipv6 ipv6-address }
Required
Not configured by default.
Specify the IP address and port
number of the sFlow collector
number of the sFlow collector
sflow collector { ip ip-address
| ipv6 ipv6-address } [ port
port-num ]
| 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
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
interface-number
—
Enable sFlow in the inbound or
outbound direction
outbound direction
sflow enable { inbound |
outbound }
outbound }
Required
Not enabled by default.
Specify the sFlow sampling
mode
mode
sflow sampling-mode
{ determine | random }
{ determine | random }
Optional
random by default.
Currently, the determine mode
is not supported on S7900E
series Ethernet switches.
is not supported on S7900E
series Ethernet switches.
Specify the number of packets
out of which the interface will
sample a packet
out of which the interface will
sample a packet
sflow sampling-rate rate
Optional
200000 by default.