H3C S12500(sFlow) Configuration
This document provides steps to configure sFlow on the H3C S12500 device.
Configuration Steps
Enter global configuration mode:
system-view
Configure the sFlow Agent IP:
sflow agent ip {LOOPBACK_IP}
Configure the sFlow Source IP:
sflow source ip {LOOPBACK_IP}
Configure the sFlow Collector:
sflow collector 1 ip {MOTADATA_COLLECTOR_IP} port {MOTADATA_COLLECTOR_LISTENER_PORT}
For each interface on which you want to enable sFlow, enter the following commands:
Enter the interface configuration mode:
interface {INTERFACE_NAME}
Set the sFlow sampling mode:
sflow sampling-mode random
Configure the sFlow sampling rate:
sflow sampling-rate 512
Configure the maximum packet header size:
sflow flow max-header 128
Associate the flow collector with the interface:
sflow flow collector 1
Set the sFlow counter polling interval:
sflow counter interval 60
Associate the counter collector with the interface:
sflow counter collector 1
After completing the configuration, navigate to Menu > Flow Explorer and select the Event Source(s) and the associated Interface(s) from the drop-downs to view the active flow data.