summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbios <alberto@mattea.info>2022-08-12 23:40:06 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:03:11 +0100
commit2ce525647a447befb5f7e0890e751cba18754fc1 (patch)
tree122a675ed1b4228ce9d7987ace46316c60216d7f
parentfix header button (diff)
downloadhack-gpon.github.io-2ce525647a447befb5f7e0890e751cba18754fc1.tar
hack-gpon.github.io-2ce525647a447befb5f7e0890e751cba18754fc1.tar.gz
hack-gpon.github.io-2ce525647a447befb5f7e0890e751cba18754fc1.tar.bz2
hack-gpon.github.io-2ce525647a447befb5f7e0890e751cba18754fc1.tar.lz
hack-gpon.github.io-2ce525647a447befb5f7e0890e751cba18754fc1.tar.xz
hack-gpon.github.io-2ce525647a447befb5f7e0890e751cba18754fc1.tar.zst
hack-gpon.github.io-2ce525647a447befb5f7e0890e751cba18754fc1.zip
-rw-r--r--ont-Huawei-HG8010H.md101
1 files changed, 101 insertions, 0 deletions
diff --git a/ont-Huawei-HG8010H.md b/ont-Huawei-HG8010H.md
index 2538711..226e187 100644
--- a/ont-Huawei-HG8010H.md
+++ b/ont-Huawei-HG8010H.md
@@ -60,6 +60,107 @@ Now that this is done, the modified configuration file can be uploaded via the w
## List of partitions
## List of firmwares and files
+## List of useful commands
+
+**All results need to be converted from Hex to Ascii**
+- Get OLT information:
+```
+WAP>omcicmd mib show meid 131 instid 0
+
+ -------------------------------------------------------
+ Me(OLT-G), instance(0x0), instance size is 54
+ -------------------------------------------------------
+ Att1, AttSize = 0x4, AttContent: 48575443
+ Att2, AttSize = 0x14, AttContent: 00000000 00000000 00000000 00000000 00000000
+ Att3, AttSize = 0xe, AttContent: 31300000 00000000 00000000 0000
+ Att4, AttSize = 0xe, AttContent: 00000000 00000000 00000000 0000
+ -------------------------------------------------------
+
+success!
+```
+*48575443 -> HWTC (Huawei)*
+- Get SW Version 0 and 1:
+```
+WAP>omcicmd mib show meid 7 instid 0
+
+ -------------------------------------------------------
+ Me(Software Image), instance(0x0), instance size is 19
+ -------------------------------------------------------
+ Att1, AttSize = 0xe, AttContent: 56355230 32304331 30533131 3500
+ Att2, AttSize = 0x1, AttContent: 00
+ Att3, AttSize = 0x1, AttContent: 00
+ Att4, AttSize = 0x1, AttContent: 01
+ -------------------------------------------------------
+
+success!
+WAP>omcicmd mib show meid 7 instid 1
+
+ -------------------------------------------------------
+ Me(Software Image), instance(0x1), instance size is 19
+ -------------------------------------------------------
+ Att1, AttSize = 0xe, AttContent: 56355230 32304331 30533131 3500
+ Att2, AttSize = 0x1, AttContent: 01
+ Att3, AttSize = 0x1, AttContent: 01
+ Att4, AttSize = 0x1, AttContent: 01
+ -------------------------------------------------------
+
+success!
+```
+*56355230 32304331 30533131 3500 -> V5R020C10S115*
+- Get ONT Vendor ID and HW Version:
+```
+WAP>omcicmd mib show meid 256 instid 0
+
+ -------------------------------------------------------
+ Me(ONT-G), instance(0x0), instance size is 73
+ -------------------------------------------------------
+ Att1, AttSize = 0x4, AttContent: 48575443
+ Att2, AttSize = 0xe, AttContent: 32343046 2e410000 00000000 0000
+ Att3, AttSize = 0x8, AttContent: 2a2a2a2a 2a2a2a2a
+ Att4, AttSize = 0x1, AttContent: 00
+ Att5, AttSize = 0x1, AttContent: 00
+ Att6, AttSize = 0x1, AttContent: 00
+ Att7, AttSize = 0x1, AttContent: 00
+ Att8, AttSize = 0x1, AttContent: 00
+ Att9, AttSize = 0x1, AttContent: 00
+ Att10, AttSize = 0x18, AttContent: 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a
+ Att11, AttSize = 0xc, AttContent: 2a2a2a2a 2a2a2a2a 2a2a2a2a
+ Att12, AttSize = 0x1, AttContent: 00
+ Att13, AttSize = 0x2, AttContent: 0001
+ -------------------------------------------------------
+
+success!
+```
+*48575443 -> HWTC
+\
+32343046 2e41 -> 240F.A*
+- Get ONT Equipment ID:
+```
+WAP>omcicmd mib show meid 257 instid 0
+
+ -------------------------------------------------------
+ Me(ONT2-G), instance(0x0), instance size is 44
+ -------------------------------------------------------
+ Att1, AttSize = 0x14, AttContent: 48473830 31304876 36000000 00000000 00000000
+ Att2, AttSize = 0x1, AttContent: b0
+ Att3, AttSize = 0x2, AttContent: 0240
+ Att4, AttSize = 0x1, AttContent: 01
+ Att5, AttSize = 0x1, AttContent: 01
+ Att6, AttSize = 0x2, AttContent: 0040
+ Att7, AttSize = 0x1, AttContent: 02
+ Att8, AttSize = 0x1, AttContent: 01
+ Att9, AttSize = 0x2, AttContent: 0020
+ Att10, AttSize = 0x4, AttContent: 00000000
+ Att11, AttSize = 0x2, AttContent: 007d
+ Att12, AttSize = 0x1, AttContent: 00
+ Att13, AttSize = 0x2, AttContent: 0018
+ Att14, AttSize = 0x2, AttContent: 0001
+ -------------------------------------------------------
+
+success!
+```
+*48473830 31304876 36 -> HG8010Hv6*
+
# Known Bugs
# Miscellaneous Links