1-23) When the sFlow packet buffer overflows or the one-second timer expires, the sFlow agent sendssFlow packets to the specified sFlow collector.Configuring sFlowThe sFlow feature enables the remote sFlow collector to monitor the network and analyze sFlow packetstatistics.Follow these steps to configure sFlow:To do… Use the command… RemarksEnter system view system-view —Specify the IP address of thesFlow agent sflow agent ip ip-address RequiredNot configured by default.Specify the IP address and portnumber of the sFlow collectorsflow collector ip ip-address[ port port-num ]RequiredNot specified by default.Set the counter samplinginterval at which the sFlowagent collects the statistics ofsFlow enabled portssflow interval interval-time Optional20 seconds by default.Enter Ethernet port view interface interface-typeinterface-number —Enable sFlow in the inbound oroutbound directionsflow enable { inbound |outbound }RequiredNot enabled by default.Specify the sFlow samplingmodesflow sampling-mode{ determine | random }Optionalrandom by default.Currently, the determine modeis not supported on S5120-EIseries Ethernet switches.Specify the number of packetsout of which the interface willsample a packetsflow sampling-rate rate Optional200000 by default.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.Displaying and Maintaining sFlowTo do… Use the command… RemarksDisplay sFlow configuration information display sflow [ slot slot-id ] Available in anyview