set sflow receiver maxdatagram
24-8 sFlow Configuration
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
InorderforansFlowCollectortobeassignedtoreceivesampledatagramsfromthesFlowAgent
ontheswitch,an entryforthatCollectormustbeconfiguredintheswitch’ssFlowReceiversTable.
Anentrymustcontainanowneridentitystring,anon‐zerotimeoutvalue,andtheIPaddress
of
theCollector.Configuretheowneridentitystringandtimeoutvaluewiththesetsflowreceiver
ownercommand.
Example
ThisexampleconfiguresanIPaddressof10.10.10.10toindexentry1.
B5(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.
Mode
Switchcommand,read‐write.
index IndexnumberinthesFlowReceiversTableforthereceiver/Collector
beingconfigured.Theindexcanrangefrom1to8.
ipipaddr TheIPaddressofthereceiver/Collectorbeingconfigured.
index IndexnumberinthesFlowReceiversTableforthereceiver/Collector
beingconfigured.Theindexcanrangefrom1to8.
maxdatagrambytes Specifiesthemaximumnumberofdatabytesthatcanbesentinasingle
sampledatagram.Thissizeshouldbesettoavoidfragmentation ofthe
sFlowdatagrams.
Thevalue
ofbytescanrangefrom200to9116.Thedefaultis1400.