Switch User Manual

sFlow Configuration set sflow port poller
28-10
Defaults
Ifnooptionalparametersarespecified,theentireentryiscleared.
Mode
Switchcommand,readwrite.
Usage
YoucancleartheIPaddress,maximumdatagramsize,orUDPportwithoutdeletinganentry
fromthesFlowReceiversTable.Ifyoucleartheownerortimeout,theentireentryiscleared.Ifyou
enteronlyanentryindexandnoneoftheoptionalparameters,theentireentryiscleared.
Onceanentryiscleared,allpollersandsamplersassociatedwiththatreceiverarealsoremoved
fromtheswitchconfiguration.
Example
Thisexamplereturnsthemaximumdatagramsizetothedefaultof1400bytesfortheCollector
withindex1.
C3(su)->clear sflow receiver 1 maxdatagram
set sflow port poller
Usethiscommandtoconfigurepollerinstancesonports,ordatasources.
Syntax
set sflow port port-string poller {index | interval seconds}
Parameters
Defaults
Thedefaultintervalvalueis0seconds,whichdisablescountersampling.
Mode
Switchcommand,readwrite.
owner (Optional)Cleartheowneridentitystring.EntriesinthesFlowReceiver
Tablewithoutanidentitystringareconsideredunclaimed.
timeout (Optional)Clearthetimeoutvalueofthespecifiedentry.
portport (Optional)CleartheUDPportonthereceiver/Collectortowhichthe
sampledatagramsshouldbesent.The
valueisresettothedefaultof
6343.
portstring Specifiestheportorports(datasources)onwhichthepollerinstanceis
beingconfigured.
index IndexnumberinthesFlowReceiversTableforthereceiver/Collector
withwhichthepollerinstanceisassociated.Theindexcanrangefrom1
to8.
intervalseconds Specifiesthepollinginterval,whichcanrangefrom
0to86400seconds.
Avalueof0disablescountersampling.