show sflow
show sflow [interface
Description
Shows sFlow configuration settings and statistics for all interfaces, or for a specific interface. It also displays the current status of sFlow on the device and reports any errors that require attention.
If sFlow is enabled on the interfaces associated with a lag interface, then the interfaces will not be shown as separate entries undersFlow enabled on Interface
in the output. Only the associated lag interface will have an entry in the column.
Parameter |
Description |
---|---|
interface |
Specifies the name of an interface on the switch. |
vsx-peer |
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX. |
Examples
Showing sFlow information for all interfaces:
switch#show sflow
sFlow Global Configuration
-----------------------------------------
sFlow enabled
Collector IP/Port/Vrf 10.10.10.2/6343/default
Agent Address 10.0.0.1
Sampling Rate 1024
Polling Interval 30
Header Size 128
Max Datagram Size 1400
sFlow Status
-----------------------------------------
Running - Yes
sFlow enabled on Interfaces:
-----------------------------------------
lag100
sFlow Statistics
-----------------------------------------
Number of Samples 200
Showing sFlow information for interface1/1/1:
switch#show sflow interface 1/1/1
sFlow configuration - Interface 1/1/1
-----------------------------------------
sFlow enabled
Sampling Rate 1024
Number of Samples 30
sFlow Sampling Status success
Showing sFlow information for interfacelag 10:
switch#show sflow interface lag 10
sFlow Configuration - Interface lag10 ----------------------------------------- sFlow enabled Sampling Rate 4096 Number of Samples 0 sFlow Sampling Status error Sampling Status on LAG members ------------------------------------ Intf 1/1/2 no agent Intf 1/1/3 no agent
使用这个com的有关特性的更多信息mand, refer to theIP Services Guidefor your switch model.
Command History
Release |
Modification |
---|---|
10.07 or earlier |
-- |
Command Information
Platforms |
Command context |
Authority |
---|---|---|
All platforms |
Manager (#) |
Administrators or local user group members with execution rights for this command. |