summaryrefslogtreecommitdiffstats
path: root/_ont/ont-huawei-ma5671a-carlito.md
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-02-10 21:57:28 +0100
committerGitHub <noreply@github.com>2023-02-10 21:57:28 +0100
commitbc4fa78050369a4c458da75676bfe6d60a903087 (patch)
tree50f578f029fa4aa375050a3d5ec76b0e39bf0471 /_ont/ont-huawei-ma5671a-carlito.md
parentNokia G-010G-A alignment (#141) (diff)
downloadhack-gpon.github.io-bc4fa78050369a4c458da75676bfe6d60a903087.tar
hack-gpon.github.io-bc4fa78050369a4c458da75676bfe6d60a903087.tar.gz
hack-gpon.github.io-bc4fa78050369a4c458da75676bfe6d60a903087.tar.bz2
hack-gpon.github.io-bc4fa78050369a4c458da75676bfe6d60a903087.tar.lz
hack-gpon.github.io-bc4fa78050369a4c458da75676bfe6d60a903087.tar.xz
hack-gpon.github.io-bc4fa78050369a4c458da75676bfe6d60a903087.tar.zst
hack-gpon.github.io-bc4fa78050369a4c458da75676bfe6d60a903087.zip
Diffstat (limited to '')
-rw-r--r--_ont/ont-huawei-ma5671a-carlito.md31
1 files changed, 29 insertions, 2 deletions
diff --git a/_ont/ont-huawei-ma5671a-carlito.md b/_ont/ont-huawei-ma5671a-carlito.md
index c26f463..533b192 100644
--- a/_ont/ont-huawei-ma5671a-carlito.md
+++ b/_ont/ont-huawei-ma5671a-carlito.md
@@ -48,7 +48,34 @@ fw_setenv target oem-generic
fw_printenv target=oem-generic
```
-## Setting HSGMII Mode
+## Getting/Setting Speed LAN Mode
+
+To enable the 2.5 Gbps / HSGMII with auto-neg on:
+
```sh
fw_setenv sgmii_mode 5
-``` \ No newline at end of file
+```
+
+To remove the value (back to default):
+```sh
+fw_setenv sgmii_mode
+```
+
+To get the LAN Mode:
+
+```sh
+onu lanpsg 0
+```
+The `link_status` variable tells the current speed
+
+| Value (for `sgmii_mode` and `link_status`) | Speed |
+| ------------------------------------------ | ---------------------------------- |
+| 3 | 1 Gbps / SGMII with auto-neg on |
+| 4 | 1 Gbps / SGMII with auto-neg off |
+| 5 | 2.5 Gbps / HSGMII with auto-neg on |
+
+## Querying a particular OMCI ME
+```sh
+omci_pipe.sh meg MIB_IDX ME_IN
+```
+Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number \ No newline at end of file