User Manual

Table Of Contents
[Initial value]
sflow max-header-size 128
[Input mode]
interface mode
[Description]
Sets the maximum Ethernet frame header size used for packet flow sampling on the applicable port.
If this command is executed with the "no" syntax, the setting returns to the default.
This command can be specified only for LAN/SFP+ port.
[Example]
This sets the maximum Ethernet frame header size for packet flow sampling to 100.
SWP2(config-if)#sflow max-header-size 100
4.14.7 Set polling interval for counter sampling
[Syntax]
sflow polling-interval interval
no sflow polling-interval
[Parameter]
interval : <1 - 86400> (seconds)
[Initial value]
None
[Input mode]
interface mode
[Description]
Sets the polling interval used when executing counter sampling on the applicable port.
If this command is not set, counter sampling is not implemented.
This command can be specified only for LAN/SFP+ port.
If this command is executed with the "no" syntax, the setting returns to the default.
[Example]
Sets the counter sampling interval to 100 seconds.
SWP2(config-if)#sflow polling-interval 100
4.14.8 Show sFlow status
[Syntax]
show sflow
[Input mode]
unprivileged EXEC modepriviledged EXEC mode
[Description]
Shows the status of sFlow.
[Example]
This shows the status of sFlow.
SWP2#show sflow
sFlow Global Configuration:
sFlow Feature : Enabled
Agent Address : 192.168.100.240
Collector Address : 192.168.100.2
Collector UDP Port : 6343
Max Datagram Size : 1400(bytes)
Command Reference | Maintenance and operation functions | 79