Friday, January 20, 2017

The Port Common Configuration of display statistics

Function Description

This topic describes the commands related to the non xDSL and non xPON port configuration and query.

Function

This command is used to query the statistics of a board or a port.

Format

display statistics detail frameid/slotid
display statistics frameid/slotid/portid [ channel channelid | vpi vci | autosense ]

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the shelf ID, slot ID, and port ID. Enter "/" between the shelf, slot and port IDs. When you need to query the cell statistics of a specified port, use this parameter. Please see Differences Between Shelves.
detail Indicates the detail cell statistics. -
frameid/slotid Indicates the shelf ID, slot ID, and port ID. Enter "/" between the shelf, slot and port IDs. When you need to query the cell statistics of a specified board, use this parameter. Please see Differences Between Shelves.
vpi Indicates the VPI value to be entered. It identifies a user when used with the VCI value. Numeral type. Range: 0-4095.
vci Indicates the VCI value to be entered. It identifies a user when used with the VPI value. Only the VDSL board support this parameter currently. Numeral type. Range: 32-65535.
channel channelid Indicates the channel number. When you need to query the cell statistics based on the channel, use this parameter. Numeral type. Range: 1-2.
autosense Indicates the autosensing service port. To learn the user-side VPI and VCI automatically, use this parameter. Each physical port has up to one autosensing traffic stream and it cannot coexist with the common traffic stream at the same time. -

Modes

Privilege mode, ADEE, ADLE

Level

Operator level

Usage Guidelines

None

Example

To query the statistics of port 0/3/0, do as follows:
huawei#display statistics 0/3/0       
{ <cr>|autosense<K>|channel<K>|queue<K>|vpi<U><0,4095> }:

  Command:
          display statistics 0/3/0
------------------------------------------------------------------             
  Port           Receive bytes              Send bytes                          
 ------------------------------------------------------------------             
  0              76714809318                0                                   
 ------------------------------------------------------------------            
To query the cell statistics in detail of board 0/3, do as follows:
huawei#display statistics
{ detail<K>|frame/slot/port<S><Length 5-8>|service-port<K>|vlan<K> }:detail
{ frame/slot<S><Length3-4> }:0/3

  Command:
          display statistics detail 0/3
 ------------------------------------------------------------------------------
  Total cells discarded due to header error (cell)               : 0
  Total Down stream packets discarded due to congestion (packet) : 0
  Total Up stream packets discarded due to congestion (packet)   : 0
  Total Up stream packets discarded due to CRC Error (packet)    : 0
  Total Up stream packets discarded due to CAR (packet)          : 0
  Total Down stream packets discarded due to CAR (packet)        : 0
 ------------------------------------------------------------------------------
To query the statistics of PVC whose VCI is 0 and the VPI is 35, do as follows:
huawei#display statistics 0/3/0 0 35       
{ <cr>|autosense<K>|channel<K>|queue<K>|vpi<U><0,4095> }:

  Command:                                                                      
          display statistics 0/3/0 0 35 
 ------------------------------------------------------------------------------
  Number of upstream bytes             : 0  
  Number of upstream packets           : 0   
  Number of upstream discard packets   : 0
  Number of downstream bytes           : 0 
  Number of downstream packets         : 0
  Number of downstream discard packets : 0
 ------------------------------------------------------------------------------      

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameters in response to the display statistics 0/3/0 command.
    Parameter Description
    Port Indicates the port to be queried.
    Receive bytes Indicates the number of received bytes.
    Send bytes Indicates the number of sent bytes.
  • The following table describes the parameters in response to the display statistics detail 0/3 command.
    Parameter Description
    Total cells discarded due to header error (cell) Indicates the total cells discarded due to header error.
    Total Down stream packets discarded due to congestion (packet) Indicates the total Down stream packets discarded due to congestion.
    Total Up stream packets discarded due to congestion (packet) Indicates the total Up stream packets discarded due to congestion.
    Total Up stream packets discarded due to CRC Error (packet) Indicates the total Up stream packets discarded due to CRC Error.
    Total Up stream packets discarded due to CAR (packet) Indicates the total Up stream packets discarded due to CAR.
    Total Down stream packets discarded due to CAR (packet) Indicates the total Down stream packets discarded due to CAR.
  • The following table describes the parameters in response to the display statistics 0/3/0 0 35 command.
    Parameter Description
    Number of upstream bytes Indicates the total UP stream bytes.
    Number of upstream packets Indicates the total UP stream packets .
    Number of upstream discard packets Indicates the total UP stream discarded packets .
    Number of downstream bytes Indicates the total Down stream bytes.
    Number of downstream packets Indicates the total Down stream packets .
    Number of downstream discard packets Indicates the total Down stream discarded packets .
More Blog:

No comments:

Post a Comment