Friday, August 24, 2012

Configuring Huawei switches

The following commands configure a Huawei switch (10.0.0.254) to sample packets at 1-in-1024, poll counters every 30 seconds and send sFlow to an analyzer (10.0.0.50) using the default sFlow port 6343:
system-view
sflow collector 1 ip 10.0.0.50 port 6343
sflow agent ip 10.0.0.254
For each interface:
system-view
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?

    ReplyDelete