set sflow port poller
24-10 sFlow Configuration
Defaults
Ifnooptionalparametersarespecified,theentireentryiscleared.
Mode
Switchcommand,read‐write.
Usage
YoucancleartheIPaddress,maximumdatagramsize,orUDPportwithoutdeletinganentry
fromthesFlowReceiversTable.Ifyoucleartheownerortimeout,theentireentryiscleared.Ifyou
enteronlyanentryindexandnoneoftheoptionalparameters,theentireentryiscleared.
Onceanentryiscleared,allpollersandsamplersassociatedwiththatreceiverarealsoremoved
fromtheswitchconfiguration.
Example
Thisexamplereturnsthemaximumdatagramsizetothedefaultof1400bytes fortheCollector
withindex1.
B5(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,read‐write.
portport (Optional)CleartheUDPportonthereceiver/Collectortowhichthe
sampledatagramsshouldbesent.Thevalueisresettothe defaultof
6343.
port‐string Specifiestheportorports(datasources)onwhichthepollerinstanceis
beingconfigured.
index IndexnumberinthesFlowReceiversTableforthereceiver/Collector
withwhichthepollerinstanceisassociated.Theindexcanrangefrom1
to8.
intervalseconds Specifiesthepollinginterval,whichcanrangefrom
0to86400seconds.
Avalueof0disablescountersampling.