7 sflow rate, 8 show sflow, Sflow rate – PLANET XGS3-24040 User Manual

Page 807: Show sflow

Advertising
background image

Commands for Reliability Content

53-3

Parameter:<interval-value> is the value of the interval with a valid range of 20~120 and shown in

second.

Command Mode: Port Mode

Default: No default value

Usage Guide: If no statistic sampling interval is configured, there will not be any statistic sampling on the

interface.

Example: Set the statistic sampling interval on the interface e1/1 to 20 seconds.

Switch(Config-If-Ethernet1/1)#sflow counter-interval 20

53.7 sflow rate

Command: sflow rate { input <input-rate> | output <output-rate >}

no sflow rate [input | output]

Function: Configure the sample rate of the sFlow hardware sampling. The “no” form of this command

deletes the sampling rate value.

Parameter: <input-rate> is the rate of ingress group sampling, the valid range is 1000~16383500.

<output-rate> is the rate of egress group sampling, the valid range is 1000~16383500.

Command Mode: Port Mode.

Default: No default value.

Usage Guide: The traffic sampling will not be performed if the sampling rate is not configured on the port.

And if the ingress group sampling rate is set to 10000, this indicates there will be one group be sampled

every 10000 ingress groups.

Example: Configure the ingress sample rate on port e1/1 to 10000 and the egress sample rate to 20000.

Switch(Config-If-Ethernet1/1)#sflow rate input 10000

Switch(Config-If-Ethernet1/1)#sflow rate output 20000

53.8 show sflow

Command: show sflow

Function: Display the sFlow configuration state.

Parameter: None.

Command Mode: All Modes.

Usage Guide: This command is used to acknowledge the operation state of sFlow.

Switch#show sflow

Sflow version 1.2

Agent address is 172.16.1.100

Collector address have not configured

Collector port is 6343

Sampler priority is 2

Sflow DataSource: type 2, index 194(Ethernet1/2)

Collector address is 192.168.1.200

Collector port is 6343

Advertising