Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show sflow

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show sflow 
<collector>
<interface>

Description

Display sFlow configuration information.

Options

none

Display all sFlow configuration information.

collector

(Optional) Display a list of configured sFlow collectors and their properties. See show sflow collector.

interface

(Optional) Display the interfaces on which sFlow technology is enabled and the sampling parameters. See show sflow interface.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show sflow command. Output fields are listed in the approximate order in which they appear.

Table 1: show sflow Output Fields

Field Name

Field Description

sFlow

Status of the feature: Enabled or Disabled.

Adaptive fallback

Reverts back to the previously configured adaptive sample rate. Adaptive fallback is triggered when the number of samples per second for each FPC is less than the sample-limit threshold value. This option is disabled by default.

Sample limit

Number of packets sampled per second. This sample limit cannot be configured and is set to 300 packets per second.

Sample limit threshold

Threshold value that you explicitly configure for adaptive sampling fallback.

Polling interval

Interval at which the sFlow agent polls the interface.

Sample rate egress

Rate at which egress packets are sampled.

Sample rate ingress

Rate at which ingress packets are sampled.

Agent ID

IP address assigned to the sFlow agent.

Source IP address

Source IP address for the sFlow packets.

Agent ID IPv6

IPv6 address assigned to the sFlow agent.

Source IPv6 address

Source IPv6 address for the sFlow packets.

Sample size

Sample size of the raw packet header in bytes. The sample size ranges from 128 bytes to 512 bytes.

Sample Output

show sflow

content_copy zoom_out_map
user@host> show sflow
sFlow                   : Enabled
Adaptive fallback						 : Disabled
Sample limit            : 300 packets/second
Sample limit threshold  : 150 packets/second
Polling interval        : 20 second
Sample rate egress      : 1:2048: Disabled
Sample rate ingress     : 1:1000: Enabled
Agent ID                : 10.93.54.7
Source IP address       : 10.93.54.7
content_copy zoom_out_map
user@router> show sflow
sFlow                   : Enabled
Adaptive fallback       : False
Sample limit            : 2000 packets/second
Sample limit Threshold  : 0 packets/second
Polling interval        : 0 second
Sample rate egress      : 1:2048:Disabled
Sample rate ingress     : 1:2048:Disabled
Agent ID                : No valid agent IPv4
Agent ID IPv6           : No valid agent IPv6
Source IP address       : 45.1.1.1
Source IPv6 address     : No valid source IPv6
Sample Size             : 128 Bytes

Release Information

Command introduced in Junos OS Release 9.3.

footer-navigation