Configuring Flow Exports on H3C S 12500 Switches
For NetFlow analysis, you need to configure your devices to export flows to Site24x7 On-Premise Poller, which is the NetFlow collector. The On-Premise Poller will be listening to the particular port to receive flows. Learn how to find the port number of your On-Premise Poller.
Configure flows (sFlow) on H3C S 12500 datacenter switches using the following commands:
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 Multilayer Switch Feature Card (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