summaryrefslogtreecommitdiffstats
path: root/_ont_xgs/ont-nokia-useful-command.md
diff options
context:
space:
mode:
authorGiammarco <stich86@gmail.com>2023-05-27 14:33:38 +0200
committerGitHub <noreply@github.com>2023-05-27 14:33:38 +0200
commit765d9bc54673c75afc93fad390b1f9118ff6de70 (patch)
tree048776e408806399fc7cf73fe013d8c1672e4e6e /_ont_xgs/ont-nokia-useful-command.md
parentUpdate ont-nokia-useful-command.md (#206) (diff)
downloadhack-gpon.github.io-765d9bc54673c75afc93fad390b1f9118ff6de70.tar
hack-gpon.github.io-765d9bc54673c75afc93fad390b1f9118ff6de70.tar.gz
hack-gpon.github.io-765d9bc54673c75afc93fad390b1f9118ff6de70.tar.bz2
hack-gpon.github.io-765d9bc54673c75afc93fad390b1f9118ff6de70.tar.lz
hack-gpon.github.io-765d9bc54673c75afc93fad390b1f9118ff6de70.tar.xz
hack-gpon.github.io-765d9bc54673c75afc93fad390b1f9118ff6de70.tar.zst
hack-gpon.github.io-765d9bc54673c75afc93fad390b1f9118ff6de70.zip
Diffstat (limited to '_ont_xgs/ont-nokia-useful-command.md')
-rw-r--r--_ont_xgs/ont-nokia-useful-command.md118
1 files changed, 118 insertions, 0 deletions
diff --git a/_ont_xgs/ont-nokia-useful-command.md b/_ont_xgs/ont-nokia-useful-command.md
new file mode 100644
index 0000000..6edebfb
--- /dev/null
+++ b/_ont_xgs/ont-nokia-useful-command.md
@@ -0,0 +1,118 @@
+# GPON ONU status
+
+## Get the operational status of the ONU
+```sh
+#ONT>traffic
+#ONT/system>pon
+#ONT/system/pon>show link
+
+ ----------------- LINK STATE -----------------
+ Link State: ACTIVE
+ Operation State Machine: OPERATION (O5)
+ ----------------- STATE END -----------------
+```
+
+## Querying a particular OMCI ME
+
+```sh
+#ONT>system
+#ONT/system>mib
+#ONT/system/mib>show 256
+Table Ontg, Ont-g, total 1 instances
+
+EntityID = 0x0000
+VID = "ALCL"
+Version = AA BB CC DD EE FF 11 22 33 44 55 66 00 00
+SerialNum = AA BB CC DD EE FF 11 22
+TraffMgtOpt = 0
+AtmCCOpt = 0
+BatteryBack = 1
+AdminState = 0
+OpState = 0
+OnuSurvivalTime = 0
+Loid = ""
+Password = ""
+AuthState = 0
+OntState = 1
+```
+
+# GPON/OMCI settings
+
+## Committing changes to the OMCI MIB tables for GPON operation
+```sh
+#ONT>system
+#ONT/system>mib
+#ONT/system/mib>reset
+```
+
+## Getting/Setting ONU GPON Serial Number
+```sh
+#ONT>system
+#ONT/system>misc
+#ONT/system/misc>eqsn set "ALCL00000001"
+---ATECMDRESULT--- OK
+#ONT/system/misc>eqsn get
+eqsn: ALCL00000001
+---ATECMDRESULT--- OK
+```
+
+## Setting OMCI software version (ME 7)
+The following must be typed from the standard linux shell:
+```sh
+# echo SWVER=3FE49337AOCK80 > /mnt/rwdir/sys.cfg
+```
+
+## Getting/Setting OMCI hardware version (ME 256)
+```sh
+#ONT>system
+#ONT/system>misc
+#ONT/system/misc>eqvid get
+eqvid: 3FE45458ABAA06
+hex_eqvid: 0x3346453435343538414241413036
+---ATECMDRESULT--- OK
+#ONT/system/misc>eqvid set "YOUR_CUSTOM_VID"
+```
+
+## Getting/Setting OMCI vendor ID (ME 256)
+```sh
+#ONT>system
+#ONT/system>misc
+#ONT/system/misc>vendor get
+vendor: ALCL
+---ATECMDRESULT--- OK
+#ONT/system/misc>eqsnvend get
+vendor: ALCL
+---ATECMDRESULT--- OK
+#ONT/system/misc>vendor set "ALCL"
+---ATECMDRESULT--- OK
+#ONT/system/misc>eqsnvend set "ALCL"
+---ATECMDRESULT--- OK
+```
+
+## Getting/Setting OMCI equipment ID (ME 257)
+```sh
+#ONT>system
+#ONT/system>misc
+#ONT/system/misc>eqid set "YOUR_CUSTOM_EQUID"
+---ATECMDRESULT--- OK
+#ONT/system/misc>eqid get
+eqid: YOUR_CUSTOM_EQUID
+hex_eqid: 0x594F55525F435553544F4D5F4551554944000000000000
+---ATECMDRESULT--- OK
+```
+
+# Advanced settings
+
+## Setting management IP
+```sh
+#ONT>system
+#ONT/system>misc
+#ONT/system/misc>admin_ip get
+admin_ip: 192.168.100.1
+---ATECMDRESULT--- OK
+#ONT/system/misc>admin_ip set 192.168.1.1
+#ONT/system/misc>admin_mask get
+admin_mask: 255.255.255.0
+---ATECMDRESULT--- OK
+#ONT/system/misc>admin_mask set 255.255.255.0
+``` \ No newline at end of file