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!