OcNOS-RON-6.3.1 : System Management Guide : System Management Command Reference : sFlow Commands : show sflow
show sflow
Use this command to display sFlow agent configuration along with statistics for all interfaces.
Command Syntax
show sflow (brief | detail)
Parameters
brief
Display configuration parameters on interfaces along with sampling rate and poll interval.
detail
Same as brief along with configured and default attributes and values of sFlow agent, sFlow collector, and sampling information.
Default
None
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show sflow
sFlow Feature: Enabled
sFlow Version: 5
sFlow Global Information :
Agent IP: 10.12.16.38
Collector IP: 2.2.2.2 Port: 6343
Maximum Datagram Size(bytes): 200
Receiver timeout(sec) : 0
 
sFlow Port Detailed Information:
Interface Packet-Sampling Packet-Sampling Counter-Polling Maximum Header
Rate Count Interval Count Size(bytes)
Ingress Egress Ingress Egress (sec) Ingress Egress
--------- ----------------------- ----------------------- ----------------------- --------------------
xe1 1024 0 0 0 6 3 128 0
 
#
#show sflow brief
sFlow Feature: Enabled
Collector IP: 2.2.2.2 Port: 6343
Maximum Datagram Size(bytes): 200
Receiver timeout(sec) : 0
 
sFlow Port Configuration:
Interface Status Sample Rate Counter-Polling
Ingress Egress Ingress Egress Interval(sec)
--------- ------------------ ------------------------ ---------------
xe1 Enabled Disabled 1024 0 6
 
Table 28-79: Show sflow output 
Entry
Description
sFlow feature
Shows whether sFlow is enabled or disabled.
sFlow Version
Displays the sFlow version. Version 5 is the current global standard.
sFlow Global Information
Global Information consists of the Agent IP address, Collector IP, Port number, Maximum Datagram Size, and the Receiver timeout.
Agent IP
IPv4 address of this switch/router.
Collector IP
IPv4 address of the sFlow collector server.
Port
Port number on the sFlow collector server. Standard is port 6343.
Maximum Datagram Size
The maximum size of the datagrams sent by the agent
Receiver timeout
The number of seconds between each sampling – zero means sample continuously.
sFlow Port Interface
The interface of this switch/router on which sFlow is running (e.g. xe1/1).
Packet-Sampling Rate
the number of packets received or transmitted before a sample is taken.
Packet-Sampling Count
The number of sample packets that have been sampled on both the ingress and egress of the interface.
Counter-Polling
Shows the amount of time between polling samples and the count of the total number of polling samples taken.
Maximum Header Size
The maximum header size for both the ingress and egress of the interface.
Last modified date: 07-14-2023