Configuring sFlow export from ZTE and Edge-Core switches
ZTE switches
The sFlow commands for these switches are as follows:sFlow commands
sflow enable sflow agent-config ipv4-address <Source IP Address> sflow collector-config ipv4-address <Destination IP Address> <UDP Port>For each interface:interface <interface name> sflow-sample-rate ingress <sample rate> sflow-sample-rate egress <sample rate> exit
Sample configuration
sflow enable sflow agent-config ipv4-address 192.168.2.100 sflow collector-config ipv4-address 192.168.2.210 9996 interface gei_0/1 sflow-sample-rate ingress 1024 sflow-sample-rate egress 1024 exit
Note: Ingress and Egress should be enabled on all the interfaces, and the sample rate for both should be the same.
Edge-Core switches
The following are the commands enabled on these switches to export sFlow information:sFlow commands
sflow receiver <exporter ID> Destination IP Address> port <UDP Port>For each interface:interface <interface name> sflow flow-sampling <sample rate> <exporter ID> sflow counter-sampling <poll counter> <exporter ID>
Sample configuration
sflow receiver 1 192.168.2.210 port 9996 interface te1 sflow flow-sampling 1024 1 sflow counter-sampling 30 1
No additional configuration is required apart from configuring these devices to export sFlow (the one mentioned above) at a product level as it will automatically capture the packets reaching the server on UDP port 9996 and start displaying the data. You can download the 30-day trial here.Download | Interactive demo | Customers
Comments