Skip to content

Commit 4bb9a4b

Browse files
update huawei hg (#135)
1 parent 4b7b0af commit 4bb9a4b

1 file changed

Lines changed: 19 additions & 20 deletions

File tree

_ont/ont-huawei-hg8010h.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@ parent: Huawei
3131
{% include image.html file="hg8010hvorr.jpg" alt="HG8010Hv3/4/5" caption="Bottom of the HG8010Hv3/4/5" %}
3232
{% include image.html file="hg8010hv6.jpg" alt="HG8010Hv6" caption="Bottom of the HG8010Hv6" %}
3333

34-
## Enabling telnet
35-
36-
We need access to a specific shell and in order to get it we have to enable telnet. On the unit, the telnet server accepts connections but doesn't read any input, nor does it send anything.
37-
38-
To enable telnet we’ll use one of the web interface’s features: the configuration backup and restore page. The configuration can be downloaded as an XML, which contains a lot more options than the web interface and a couple of them can be modified to enable telnet access: under the `X_HW_CLITelnetAccess` node, set the `Access` attribute to `1` and in `AclServices`, `TELNETLanEnable` should also be set to `1`. I had to set both but your mileage may vary.
39-
40-
It is possible that this won't work/has been fixed in more recent versions.
41-
42-
Now that this is done, the modified configuration file can be uploaded via the web interface, the ONT will restart and telnet should be accessible on port 23.
43-
4434
## Hardware revisions
4535
- v1: Horizontal PON port
4636
- v2: Horizontal PON port
@@ -67,14 +57,24 @@ Now that this is done, the modified configuration file can be uploaded via the w
6757
0x000000000000-0x000000100000 : "bootcode" (1MiB)
6858
0x000000100000-0x000008000000 : "ubilayer_v5" (127MiB)
6959

70-
## List of firmwares and files
71-
## List of useful commands
60+
# Use
61+
62+
## Enabling telnet
63+
64+
We need access to a specific shell and in order to get it we have to enable telnet. On the unit, the telnet server accepts connections but doesn't read any input, nor does it send anything.
65+
66+
To enable telnet we’ll use one of the web interface’s features: the configuration backup and restore page. The configuration can be downloaded as an XML, which contains a lot more options than the web interface and a couple of them can be modified to enable telnet access: under the `X_HW_CLITelnetAccess` node, set the `Access` attribute to `1` and in `AclServices`, `TELNETLanEnable` should also be set to `1`. I had to set both but your mileage may vary.
67+
68+
It is possible that this won't work/has been fixed in more recent versions.
69+
70+
Now that this is done, the modified configuration file can be uploaded via the web interface, the ONT will restart and telnet should be accessible on port 23.
71+
72+
73+
# General Settings and Useful Commands
7274

73-
> **Warning**
74-
> All results need to be converted from HEX to ASCII
75-
> [Converter](/ascii-hex)
75+
{% include alert.html content="All results need to be converted from HEX to ASCII. You can use our [Converter](/ascii-hex), taking care to add 0x in front and remove the spaces every 8 hex digits." alert="Warning" icon="svg-info" color="blue" %}
7676

77-
- Get OLT information:
77+
## Getting the OLT vendor
7878

7979
```
8080
WAP>omcicmd mib show meid 131 instid 0
@@ -92,7 +92,7 @@ success!
9292
```
9393
*0x48575443**HWTC* (Huawei)
9494

95-
- Get SW Version 0 and 1:
95+
## Getting the ONT SW Version 0 and 1
9696

9797
```
9898
WAP>omcicmd mib show meid 7 instid 0
@@ -122,7 +122,7 @@ success!
122122
```
123123
*0x56355230 32304331 30533131 3500**V5R020C10S115*
124124

125-
- Get ONT Vendor ID and HW Version:
125+
## Getting the ONT Vendor ID and HW Version:
126126

127127
```
128128
WAP>omcicmd mib show meid 256 instid 0
@@ -151,7 +151,7 @@ success!
151151
*0x48575443**HWTC*
152152
*0x32343046 2e41**240F.A*
153153

154-
- Get ONT Equipment ID:
154+
## Getting the ONT Equipment ID
155155

156156
```
157157
WAP>omcicmd mib show meid 257 instid 0
@@ -180,7 +180,6 @@ success!
180180

181181
*0x48473830 31304876 36**HG8010Hv6*
182182

183-
# Known Bugs
184183
# Miscellaneous Links
185184

186185
- [Exploring the Huawei HG8010H GPON ONT](https://www.linux.it/~md/text/gpon-sha2017.pdf)

0 commit comments

Comments
 (0)