Monday, December 12, 2016

GEM Port Management about display statistics gemport

Function

This command is used to query the performance statistics of all service-ports attached to a GEM port on the ONT, including the number of upstream or downstream frames, the number of upstream or downstream bytes, and the number of upstream or downstream discarded frames. When you need to query the statistics for the transmitted and received packets at all service-ports attached to a GEM port on the ONT and plan bandwidth assignment accordingly, run this command.

Format

In distributed mode and gigabit-capable passive optical network (GPON) mode:
display statistics gemport portid gemport-id
In distributed mode and privilege mode:
display statistics gemport frameid/slotid portid gemport-id
In profile mode and GPON mode:
display statistics gemport portid ontid gemindex gemindex
In profile mode and privilege mode:
display statistics gemport frameid/slotid portid ontid gemindex gemindex

Parameters

Parameter Description Value
frameid/slotid Indicates the shelf ID and slot ID. Enter "/" between the shelf and slot IDs. Please see Differences Between Shelves.
portid Indicates the ID of the GPON port where the performance statistics are performed. Please see Differences Between Shelves.
ontid Indicates the ID of the ONT port that the GEM port whose performance statistics are to be queried is connected to. This parameter is available only in profile mode. Numeral type. Range: varies with the board type.
gemport-id Indicates the ID of the GEM port to be queried. This parameter is available only in distributed mode. Numeral type. Range: 128-3999.
gemindex gemindex Indicates the ID of the GEM whose performance statistics are to be queried. This parameter is available only in profile mode. Numeral type. Range: 0-1023.

Modes

Privilege mode, GPON mode, GPBD,GPFD

Level

Operator level

Usage Guidelines

Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.

Example

In distributed mode and GPON mode, to query the performance statistics of all service-ports attached to GEM port 128 on GPON port 0/3/0 in distributing mode, do as follows:
huawei(config-if-gpon-0/3)#display statistics gemport
{ portid<U><0,7> }:0                                                            
{ gemport-id<U><128,3999> }:128
                                                                                
  Command:                                                                      
          display statistics gemport 0 128                                      
  -------------------------------------------------------------------           
  Upstream frames:                   0                                          
  Upstream bytes:                    0                                          
  Upstream discarded frames:         0                                          
  Downstream frames:                 0                                          
  Downstream bytes:                  0                                          
  Downstream discarded frames:       0                                          
  -------------------------------------------------------------------
In profile mode and GPON mode, to query the performance statistics of all service-ports attached to GEM port 0 on GPON port 0/3/0 in profile mode, do as follows:
huawei(config-if-gpon-0/3)#display statistics gemport
{ portid<U><0,7> }:0 
{ ontid<U><0,63> }:0 
{ gemindex<K> }:gemindex 
{ gemindex<U><0,1023> }:0 
                                                                                
  Command:                                                                      
          display statistics gemport 0 0 gemindex 0                                      
  -------------------------------------------------------------------           
  Upstream frames:                   0                                          
  Upstream bytes:                    0                                          
  Upstream discarded frames:         0                                          
  Downstream frames:                 0                                          
  Downstream bytes:                  0                                          
  Downstream discarded frames:       0                                          
  -------------------------------------------------------------------
In distributed mode and privilege mode, to query the performance statistics for all service-ports attached to GEM port 128 that is connected to GPON port 0/3/0, do as follows:
huawei(config)#display statistics gemport
{ frameid/slotid<S><Length 3-15> }:0/3
{ portid<U><0,15> }:0                                                            
{ gemport-id<U><128,3999> }:128
                                                                                
  Command:                                                                      
          display statistics gemport 0/3 0 128                                      
  -------------------------------------------------------------------           
  Upstream frames                   :0                                          
  Upstream bytes                    :0                                          
  Upstream discarded frames         :0                                          
  Downstream frames                 :0                                          
  Downstream bytes                  :0                                          
  Downstream discarded frames       :0                                          
  -------------------------------------------------------------------
In profile mode and privilege mode, to query the performance statistics for all service-ports attached to GEM port 128 that is connected to GPON port 0/3/0, do as follows:
huawei(config)#display statistics gemport
{ frameid/slotid<S><Length 3-15> }:0/3    
{ portid<U><0,15> }:0
{ ontid<U><0,127> }:1                                                           
{ gemindex<K> }:gemindex                                                        
{ gemindex<U><0,1023> }:128                                   
                                                                                
  Command:                                                                      
          display statistics gemport 0/3 0 1 gemindex 128                                      
  -------------------------------------------------------------------           
  Upstream frames                   :0                                          
  Upstream bytes                    :0                                          
  Upstream discarded frames         :0                                          
  Downstream frames                 :0                                          
  Downstream bytes                  :0                                          
  Downstream discarded frames       :0                                          
  -------------------------------------------------------------------

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameters in response to this command. In the upstream direction, the OLT receives packets from the ONT; in the downstream direction, the OLT sends packets to the ONT.
    Parameter Description
    Upstream frames Indicates the number of the upstream frames.
    Upstream bytes Indicates the number of the upstream bytes.
    Upstream discarded frames Indicates the number of the upstream discarded frames.
    Downstream frames Indicates the number of the downstream frames.
    Downstream bytes Indicates the number of the downstream bytes.
    Downstream discarded frames Indicates the number of the downstream discarded frames.

More related:

No comments:

Post a Comment