Friday, August 19, 2016

clear statistics gemport

Function

This command is used to clear the performance statistics of an ONT GPON encapsulation mode (GEM) port. Before collecting the performance statistics of an ONT GEM port within a period of time, ensure that the original statistics of the ONT GEM port are reset to zero. The items that can be queried by running the display statistics gemport command. After the performance statistics are cleared, the system collects the performance statistics again.
NOTE:
  • The performance statistics of the ONT GEM port cannot be restored after being cleared. Confirm the action before using the command.
  • This function can also be implemented by the reset statistics gemport command. Furthermore, its enhanced function will be implemented through the reset statistics ont-gem command. Therefore, it is recommended that you run the reset statistics gemport command.

Format

In profile mode:
clear statistics gemport portid ontid gemindex gemindex
In distributed mode:
clear statistics gemport portid gemport-id

Parameters

Parameter Description Value
portid Indicates the ID of the GPON port to which the GEM port whose performance statistics are to be cleared belongs. Please see Differences Between Shelves.
ontid Indicates the ID of the ONT port to which the GEM port whose performance statistics are to be cleared belongs. Numeral type. Range: varies with the board type.
gemport-id Indicates the ID of the GEM port whose performance statistics are to be cleared. 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 cleared. This parameter is available only in profile mode. Numeral type. Range: 0-1023.

Level

Operator level

Usage Guidelines

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

Example

In profile mode, to clear the performance statistics of GEM port 121 of GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#clear statistics gemport                               
{ portid<U><0,7> }:0                                   
{ ontid<U><0,63> }:1                                                            
{ gemindex<K> }:gemindex                                                        
{ gemindex<U><0,1023> }:121                                                      
                                                                                
  Command:                                                                      
          clear statistics gemport 0 1 gemindex 121 
In distributed mode, to clear the performance statistics of GEM port 128 of GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#clear statistics gemport                               
{ portid<U><0,7> }:0                                   
{ gemport-id<<U><128,3999> }:128                                                     
                                                                                
  Command:                                                                      
          clear statistics gemport 0 128 
Clear statistics successfully

System Response

  • The system does not display any message after the performance statistics about a GEM port are cleared successfully in profile mode.
  • The system displays the message "Clear statistics successfully" after the performance statistics about a GEM port are cleared successfully in distributed mode.
  • For more information about the error message that the system displays against a command entered with incorrect syntax,

MORE BLOG:

No comments:

Post a Comment