Friday, August 24, 2012

Configuring Huawei switches

The following commands configure a Huawei switch ( to sample packets at 1-in-1024, poll counters every 30 seconds and send sFlow to an analyzer ( using the default sFlow port 6343:
sflow collector 1 ip port 6343
sflow agent ip
For each interface:
interface gigabitethernet 1/0/2
sflow flow-sampling collector 1
sflow flow-sampling rate 1024
sflow counter-sampling collector 1
sflow counter-sampling interval 30
A previous posting discussed the selection of sampling rates. Additional information can be found on the Huawei web site.

See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.

1 comment:

  1. Does the flow include - BGP ASN to be monitored by BGP Traffic Analyzer like Solarwind's NTA?