summaryrefslogtreecommitdiffstats
path: root/_ont/ont-nokia-useful-command.md
diff options
context:
space:
mode:
authorAdam Mnemonic <amnemonic@users.noreply.github.com>2024-02-28 18:44:12 +0100
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2024-02-29 15:34:48 +0100
commit43a2d6d8212556e730eceadd010af0fe91109090 (patch)
tree4bad2c5710fb87d2d661b615188db12d8c29a1ff /_ont/ont-nokia-useful-command.md
parentAdd Zaram to vendor.md (#325) (diff)
downloadhack-gpon.github.io-43a2d6d8212556e730eceadd010af0fe91109090.tar
hack-gpon.github.io-43a2d6d8212556e730eceadd010af0fe91109090.tar.gz
hack-gpon.github.io-43a2d6d8212556e730eceadd010af0fe91109090.tar.bz2
hack-gpon.github.io-43a2d6d8212556e730eceadd010af0fe91109090.tar.lz
hack-gpon.github.io-43a2d6d8212556e730eceadd010af0fe91109090.tar.xz
hack-gpon.github.io-43a2d6d8212556e730eceadd010af0fe91109090.tar.zst
hack-gpon.github.io-43a2d6d8212556e730eceadd010af0fe91109090.zip
Diffstat (limited to '_ont/ont-nokia-useful-command.md')
-rw-r--r--_ont/ont-nokia-useful-command.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/_ont/ont-nokia-useful-command.md b/_ont/ont-nokia-useful-command.md
index f4e0e48..ca888ef 100644
--- a/_ont/ont-nokia-useful-command.md
+++ b/_ont/ont-nokia-useful-command.md
@@ -112,6 +112,25 @@ hex_eqid: 0x594F55525F435553544F4D5F4551554944000000000000
---ATECMDRESULT--- OK
```
+## Getting/Setting MAC address
+`mac1` = Lower MAC ID (printed on label)
+
+`mac2` = Upper MAC ID (usually = `mac1`+`3`)
+```sh
+#ONT>system
+#ONT/system>misc
+#ONT/system/misc>mac1 get
+mac1: aa.bb.12.34.56.78
+---ATECMDRESULT--- OK
+#ONT/system/misc>mac2 get
+mac2: aa.bb.12.34.56.7b
+---ATECMDRESULT--- OK
+#ONT/system/misc>mac1 set 12:34:56:11:22:33
+---ATECMDRESULT--- OK
+#ONT/system/misc>mac2 set 12:34:56:11:22:44
+---ATECMDRESULT--- OK
+```
+
# Advanced settings
## Setting management IP