< Home

display sflow statistics

Function

The display sflow statistics command displays sFlow statistics.

Format

display sflow statistics [ slot slot-id | interface interface-type interface-number ]

Parameters

Parameter

Description

Value

slot slot-id

Specifies the slot ID of a device.

The value is an integer and must be set according to the device configuration.

interface interface-type interface-number

Specifies the type and number of an interface.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

The display sflow statistics command displays sFlow statistics, including the sampling mode, number of sampled packets, sequence number of sent packets, and number of discarded sFlow packets because of expiration. You can use the command output to locate faults.

Example

# Display sFlow statistics.

<HUAWEI> display sflow statistics
sFlow Version 5 statistic Information:                                                   
--------------------------------------------------------------------------               
Collector 1 Current sample sequence:22388                                                
--------------------------------------------------------------------------               
Port on slot 0 statistic Information:  
                                                                                     
Interface: GE0/0/1                               
Flow-sample sequence    : 7         Counter-sample sequence : 44778                  
Flow-sample inbound pool: 28000       Flow-sample outbound pool: 4000                   
--------------------------------------------------------------------------
Table 1 Description of the display sflow statistics command output

Item

Description

sFlow Version 5 statistic Information

sFlow sampling of sFlow version 5.

Collector 1 Current sample sequence

Sampling sequence number of the sFlow collector.

Port on slot 0 statistic Information

sFlow sampling information on slot 0.

Interface: GE0/0/1

sFlow-enabled interface.

Flow-sample sequence

Sequence number for flow sampling on an interface.

Counter-sample sequence

Sequence number for counter sampling on an interface.

Flow-sample inbound pool

Number of incoming packets for flow sampling on an interface.

Flow-sample outbound pool

Number of outgoing packets for flow sampling on an interface.

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