Got it

Clear statistics

Created: Feb 4, 2022 07:10:02Latest reply: Feb 4, 2022 09:13:54 138 4 0 0 0
  HiCoins as reward: 0 (problem unresolved)
What is the command to clear ont line quality statistics in ea5801?

Featured Answers

Recommended answer

Chenxintao
Admin Created Feb 4, 2022 07:21:57

Hello, friend!


You can run the clear statistics ont-line-quality command to clear the line quality statistics of online ONTs. To collect the line quality statistics of the ONT within a specified period, you must clear the original statistics and re-collect the statistics before the statistics start. The items to be cleared are those queried by running the display statistics ont-line-quality command.


To clear the line quality statistics of all ONTs connected to GPON port 0/1/0, do as follows:

huawei(config-if-gpon-0/1)#clear statistics ont-line-quality 0

{<cr>|ontid<U><0,127>}:

Command:

clear statistics ont-line-quality 0


Thanks!

View more
  • x
  • convention:

All Answers
Hello, dear!
It's nice to meet you in the community.
We're working on your problem. Please be patient.
View more
  • x
  • convention:

Hello, friend!


You can run the clear statistics ont-line-quality command to clear the line quality statistics of online ONTs. To collect the line quality statistics of the ONT within a specified period, you must clear the original statistics and re-collect the statistics before the statistics start. The items to be cleared are those queried by running the display statistics ont-line-quality command.


To clear the line quality statistics of all ONTs connected to GPON port 0/1/0, do as follows:

huawei(config-if-gpon-0/1)#clear statistics ont-line-quality 0

{<cr>|ontid<U><0,127>}:

Command:

clear statistics ont-line-quality 0


Thanks!

View more
  • x
  • convention:

clear statistics ont-line-quality portid [ ontid ]

Function

This command is used to clear the line quality statistics of an
optical network terminal (ONT). Before collecting the line quality statistics of
an ONT within a period of time, ensure that the original line quality statistics
of the ONT are reset to zero. The items that can be queried by running the
display statistics
ont-line-quality
command. After the performance statistics are
cleared, the system collects the line quality performance statistics again.
http://zhangjorna.blogspot.com/2016/12/common-ont-management-about-clear.html NOTE:
  • The line quality performance statistics of the ONT cannot be restored after
    being cleared. Confirm the action before using the command.

  • This function can also be implemented by the reset statistics
    ont-line-quality
    command. Furthermore, its enhanced function will
    be implemented through the reset statistics ont-line-quality command. Therefore, it is recommended that you run the reset statistics
    ont-line-quality
    command.

Format

clear statistics ont-line-quality portid [ ontid ]

Parameters

ParameterDescriptionValue
portidIndicates the ID of the PON port to which the line quality whose performance
statistics are to be cleared belongs.
Please see Differences
Between Shelves
.
ontid
Indicates the ID of the ONT port to which the line quality whose
performance statistics are to be cleared belongs.
  • If you do not specify the ONT ID, the line quality statistics of all the
    ONTs connected to a PON port are cleared.

  • If you specify the ONT ID, the line quality statistics of the specified ONT
    connected to a PON port are cleared.

Numeral type. Range: varies with the board
type.


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, or run the interface
    epon
    command to enter EPON mode.

  • Run the display
    statistics ont-line-quality
    command to check whether the line
    quality statistics are cleared.

Example

To clear the line quality statistics of all ONTs under GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#clear statistics ont-line-quality                    { portid<U><0,7> }:0           { <cr>|ontid<U><0,63> }:        
                                                                                
  Command:                                                                      
          clear statistics ont-line-quality 0
To clear the line quality statistics of ONT 0 under GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#clear statistics ont-line-quality                    { portid<U><0,7> }:0     { <cr>|ontid<U><0,63> }:0       
                                                                                
  Command:                                                                      
          clear statistics ont-line-quality 0 0


View more
  • x
  • convention:

Thank you
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.