H3C_S12500_sFlow Configuration

    You can perform H3C S12500 (sFlow) configuration using the following steps:

    system-view
    sflow agent ip {LOOPBACK_IP}
    sflow source ip {LOOPBACK_IP}
    sflow collector 1 ip {NETFLOW_SERVER_IP} port {NETFLOW_SERVER_LISTENER_PORT}

    Enter global configuration mode on the router or MSFC, and issue the following commands for each interface on which you want to enable flow:

    interface {INTERFACE_NAME}
    sflow sampling-mode random
    sflow sampling-rate 512
    sflow flow max-header 128
    sflow flow collector 1
    sflow counter interval 60
    sflow counter collector 1