show sflow

Displays sFlow configuration information and statistics.

Syntax

show sflow { interface | all }

Command Default

sFlow is disabled on all interfaces.

Parameters

all
Displays all sFlow information and statistics.
interface
Displays sFlow information for an Ethernet interface.

Output

The command displays the following information:

Output Field Description
sFlow services are Displays the configured status of the sFlow service.
sFlow null0 sampling Displays the configured status of the sFlow null0 sampling function.
Global default sampling rate Displays the configured default sampling rate applicable globally.
Global default counter polling interval Displays the configured global polling interval for sFlow sampling.
sFlow Agent-ID address The IP address of this sFlow Agent. This IP is used by the sFlow manager to uniquely identify this sFlow Agent over long periods of time for maintaining history.
sFlow update-destination-mac Displays the configured status of the sFlow Update Destination MAC feature.
Collector server details This table displays the following information:
  • Collector server address - IP address of a sFlow collector device.
  • Vrf-Name - The name of the VRF on which this collector device is situated.
  • sFlow datagrams - The number of sFlow datagrams sent to the collector.
ACL based samples collected (permit/deny) These two rows display the number of permit and deny samples collected through ACLs.
VxLAN Visibility samples collected Displays the number of VxLAN Visibility samples collected.
VxLAN Gateway samples collected Displays the number of VxLAN Gateway samples collected.

Modes

Privileged EXEC mode

Examples

The following example displays sFlow information.

device# show sflow 
sFlow services are:                      enabled
sFlow null0 sampling:                    enabled
Global default sampling rate:            2048 pkts
Global default counter polling interval: 20 secs
sFlow Agent-ID address:                  21.21.21.21
sFlow Source Interface:                  management 0
sFlow update-destination-mac:            enabled
Collector server address                        Vrf-Name      Sflow datagrams sent
----------------------------------------------------------------------------------
                           10.1.3.2:6343        default-vrf                  438
                      172.22.108.57:6343        mgmt-vrf                     438
                     2001:10:1:4::2:6343        default-vrf                  438

ACL based samples collected (permit):    0
ACL based samples collected (deny):      0
VxLAN Visibility samples collected:      0
VxLAN Gateway samples collected:         0