display sflow packet statistics

Function

The display sflow packet statistics command displays statistics about sFlow packets sent on a specified interface or sFlow packets sent and received on a specified board.

Format

display sflow packet statistics interface { interface-name | interface-type interface-number } slot slot-id

display sflow packet statistics slot slot-id

Parameters

Parameter Description Value
interface-name

Specifies the interface name.

The value is a string of 1 to 64 case-sensitive characters, spaces not supported.

slot slot-id

Specifies a slot ID.

The value is a string of 1 to 32 case-sensitive characters, spaces not supported.

interface interface-type interface-number

Specifies an interface type and number.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
sflow read

Usage Guidelines

Usage Scenario

To display statistics about sFlow packets sent on a specified interface or sFlow packets sent and received on a specified board, run the display sflow packet statistics command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about sFlow packets sent and received on a specified board.
<HUAWEI> display sflow packet statistics slot 1
sFlow sample send info based on slot:                                           
----------------------------                                                    
Collector ID : 1                                                                
----------------------------                                                    
Packet count          : 0                                                       
Flow sample count     : 0                                                       
----------------------------                                                    
Collector ID : 2                                                                
---------------------------- 
Packet count          : 0                                                       
Flow sample count     : 0                                                       
----------------------------
# Display statistics about sFlow packets sent on a specified interface.
<HUAWEI> display sflow packet statistics interface gigabitEthernet 0/1/1 slot 1
sFlow sample send info based on interface:
----------------------------
Direction : inbound
----------------------------
Flow sample count     : 2376
----------------------------
Table 1 Description of the display sflow packet statistics command output
Item Description
sFlow sample send info based on interface

Interface-based sFlow sampling information.

sFlow sample send info based on slot

Slot-based sFlow sampling information.

Collector ID

Collector ID of sflow.

Packet count

Count of received packets.

Flow sample count

Flow sample count.

Direction

Direction.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >