Switch User Manual

sFlow Configuration set sflow receiver maxdatagram
28-8
Parameters
Defaults
ThedefaultIPaddressis0.0.0.0.
Mode
Switchcommand,readwrite.
Usage
InorderforansFlowCollectortobeassignedtoreceivesampledatagramsfromthesFlowAgent
ontheswitch,anentryforthatCollectormust beconfiguredintheswitch’ssFlowReceiversTable.
Anentrymustcontainanowneridentitystring,anonzerotimeoutvalue,andtheIPaddress
of
theCollector.Configuretheowneridentitystringandtimeoutvaluewiththesetsflowreceiver
ownercommand.
Sampledatagrams willnotbesenttoaCollectorwhoseentryinthesFlowReceiversTablehasan
IPaddressof0.0.0.0.
Example
ThisexampleconfiguresanIPaddressof10.10.10.10toindexentry1.
C3(su)->set sflow receiver 1 ip 10.10.10.10
set sflow receiver maxdatagram
Usethiscommandtosetthemaximumnumberofdatabytesthatcanbesentinasinglesample
datagram.
Syntax
set sflow receiver index maxdatagram bytes
Parameters
Defaults
Defaultmaximumdatagramsizeis1400bytes.
index IndexnumberinthesFlowReceiversTableforthereceiver/Collector
beingconfigured.Theindexcanrangefrom1to8.
ipipaddr TheIPaddressofthereceiver/Collectorbeingconfigured.AnIP
addressof0.0.0.0meansthatnosampledatagramswillbesenttothe
Collector.
index IndexnumberinthesFlowReceiversTableforthereceiver/Collector
beingconfigured.Theindexcanrangefrom1to8.
maxdatagrambytes Specifiesthemaximumnumberofdatabytesthatcanbesentinasingle
sampledatagram.Thissizeshouldbesettoavoidfragmentationofthe
sFlowdatagrams.
Thevalue
ofbytescanrangefrom200to9116.Thedefaultis1400.