From Web page:

From telnet:
enter Diagnose mode from OLT to telnet ONT
Input MA5600(diagnose)%% telnet frameid/slotid/portid ontid
http://image.hw3static.com/hi/staticimages/hi3msg/images/2018/0724/16/5b56e9dd6c73c.jpg
MA5600(diagnose)%% telnet ont frameid/slotid/portid ontid (when OLT version is lower then V8R13C00)
WAP>collect debug info
It may take 3-5 minutes to complete this command, just wait to the success feedback.
From group: Transport&Access Network
