Got it

How to capture packets in a ONT by CLI Highlighted

Latest reply: Oct 16, 2021 08:03:02 393 19 21 0 0

Hello everybody today I will share how to capture packets in ONT by using CLI


For troubleshoot associate degree ONT issue, typically we'll ought to capture packets on its ports for analysis.


Normally we've got Wireshark code the laptop and this can facilitate us to capture the packets, therefore we will ought to set a mirror of traffic within the ports to be analyzed.


Handling Method

1.     The mirror of the ONT ports are often set by WAP commands. The ONT's ETH, central processor or PON ports are often reflected to associate degree ETH port of the ONT wherever the laptop is connected.

NOTE: 

Destination of the reflected packets should be associate degree ETH port.

2.     Apply the subsequent command to modify the port mirror:

set ethportmirror sourceport 10 destport 1 mirrordate 2 change 1


Here is that the which means of each parameter:


table


NOTE: 

The mirror are going to be mechanically disable if the ONT reboots. Please modify mirror before packet capture and disable when packet capture is competed.

3.     In Wireshark move to Capture > Options Menu:                   

Select the specified interface and click in Start-to-Start packet capture.

4.     Once finished, ought to stop and save the packet capture within the Wireshark:

5.     Disable the port mirror within the ONT with the following command.


set ethportmirror sourceport 10 destport 1 mirrordate 2 change 0


https://support.huawei.com/


Thanks for sharing! My good friend!
View more
  • x
  • convention:

Unicef
Unicef Created Aug 7, 2021 07:33:11 (0) (0)
Thanks for support admin  
Good share my friend
View more
  • x
  • convention:

Unicef
Unicef Created Aug 7, 2021 07:33:26 (0) (0)
Welcome my friend  
Learned, well done
View more
  • x
  • convention:

Unicef
Unicef Created Aug 8, 2021 02:33:50 (0) (0)
Thanks for support my friend  
Well done! Thanks for sharing
View more
  • x
  • convention:

Unicef
Unicef Created Aug 8, 2021 02:34:01 (0) (0)
Welcome friend  
Thanks for sharing
View more
  • x
  • convention:

smileymind
smileymind Created Aug 7, 2021 12:23:47 (0) (0)
 
Good case thanks
View more
  • x
  • convention:

kunthea
kunthea Created Aug 7, 2021 12:32:01 (0) (0)
 
Thank u
View more
  • x
  • convention:

Unicef
Unicef Created Aug 9, 2021 01:36:21 (0) (0)
 
Good
View more
  • x
  • convention:

Good!
View more
  • x
  • convention:

12
Back to list

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.