Got it

Querying Devices Connected to an ONT

Created: Jul 21, 2020 03:45:45Latest reply: Jul 21, 2020 03:48:39 402 1 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi, team.

How do I query the device to be connected to the ONT by mac address on the smartAX MA5671? 

Can you help me?

Thanks!

Featured Answers

Recommended answer

Chenxintao
Admin Created Jul 21, 2020 03:48:39

Hello, friend!


If the ONT is connected to a device, run the ont learning mac-address command to query the MAC address. 


huawei#displayont-learned-mac


{frameid/slotid/portid<S><Length 5-15> }:0/3/3


{ontid<U><0,127> }:10


{<cr>|port-type<E><eth,vdsl>|wlan<K> }:eth


{ont-portid<U><1,24> }:2


{<cr>|vlanid<U><1,4094> }:


  Command:           


          displayont-learned-mac 0/3/3 10 eth 2


 -----------------------------------------------------------------       


  F/S/P ONTID    ONT       ONT      MAC-ADDRESS       VLAN


                 port-type  port-ID


 -----------------------------------------------------------------       


  0/3/3  10    ETH      2       00e0-fc20-47b9      200


  0/ 3/3 10    ETH      2      00e0-fc20-47ba       200


 -----------------------------------------------------------------


  Total: 2


query the ont based on the device mac-address:



        huawei#display location 00e0-fc00-1000 ont

{<cr>||<K> }:



  Command:


         display location 00e0-fc00-1000 ont


  It will takeseveral minutes, and console may be timeout, please use command


idle-timeout to settime limit


  Are you sureto query MAC address location ? (y/n)[n]:y


 ----------------------------------------------------------------------


 MAC             MACTYPE  F/S/P    ONT ID  Port ID  Port Type VLAN  


  ----------------------------------------------------------------------


 00e0-fc00-1000  DYNAMIC   0/4/0       0        1 ETH          10  




Thanks!


View more
  • x
  • convention:

All Answers

Hello, friend!


If the ONT is connected to a device, run the ont learning mac-address command to query the MAC address. 


huawei#displayont-learned-mac


{frameid/slotid/portid<S><Length 5-15> }:0/3/3


{ontid<U><0,127> }:10


{<cr>|port-type<E><eth,vdsl>|wlan<K> }:eth


{ont-portid<U><1,24> }:2


{<cr>|vlanid<U><1,4094> }:


  Command:           


          displayont-learned-mac 0/3/3 10 eth 2


 -----------------------------------------------------------------       


  F/S/P ONTID    ONT       ONT      MAC-ADDRESS       VLAN


                 port-type  port-ID


 -----------------------------------------------------------------       


  0/3/3  10    ETH      2       00e0-fc20-47b9      200


  0/ 3/3 10    ETH      2      00e0-fc20-47ba       200


 -----------------------------------------------------------------


  Total: 2


query the ont based on the device mac-address:



        huawei#display location 00e0-fc00-1000 ont

{<cr>||<K> }:



  Command:


         display location 00e0-fc00-1000 ont


  It will takeseveral minutes, and console may be timeout, please use command


idle-timeout to settime limit


  Are you sureto query MAC address location ? (y/n)[n]:y


 ----------------------------------------------------------------------


 MAC             MACTYPE  F/S/P    ONT ID  Port ID  Port Type VLAN  


  ----------------------------------------------------------------------


 00e0-fc00-1000  DYNAMIC   0/4/0       0        1 ETH          10  




Thanks!


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.