diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2023-09-09 11:01:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 11:01:19 +0200 |
commit | 72c13df9f2ba5d503c14e264a0d7d0c6fd494f50 (patch) | |
tree | e8fadbf8a6e392a373857b23d3cbb4a89c19e597 /_ont/ont-luna-sdk-useful-commands.md | |
parent | change ONT FS.com with FS.com (#268) (diff) | |
download | hack-gpon.github.io-72c13df9f2ba5d503c14e264a0d7d0c6fd494f50.tar hack-gpon.github.io-72c13df9f2ba5d503c14e264a0d7d0c6fd494f50.tar.gz hack-gpon.github.io-72c13df9f2ba5d503c14e264a0d7d0c6fd494f50.tar.bz2 hack-gpon.github.io-72c13df9f2ba5d503c14e264a0d7d0c6fd494f50.tar.lz hack-gpon.github.io-72c13df9f2ba5d503c14e264a0d7d0c6fd494f50.tar.xz hack-gpon.github.io-72c13df9f2ba5d503c14e264a0d7d0c6fd494f50.tar.zst hack-gpon.github.io-72c13df9f2ba5d503c14e264a0d7d0c6fd494f50.zip |
Diffstat (limited to '_ont/ont-luna-sdk-useful-commands.md')
-rw-r--r-- | _ont/ont-luna-sdk-useful-commands.md | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/_ont/ont-luna-sdk-useful-commands.md b/_ont/ont-luna-sdk-useful-commands.md index 40fac95..e48cda5 100644 --- a/_ont/ont-luna-sdk-useful-commands.md +++ b/_ont/ont-luna-sdk-useful-commands.md @@ -100,9 +100,13 @@ GPON_PLOAM_PASSWD=AAAAAAAAAA ## Getting/Setting OMCI software version (ME 7) -{% assign customSwVersionAlert = include.customSwVersionAlert | default: "This needs the `OMCI_OLT_MODE` value to be set to 3" %} +{% if include.customSwVersionAlert %} + +{% assign customSwVersionAlert = include.customSwVersionAlert %} {% include alert.html content=customSwVersionAlert alert="Note" icon="svg-info" color="blue" %} +{% endif %} + {% if include.flashSwVersion %} ```sh # {{ include.flash }} get OMCI_SW_VER1 @@ -121,9 +125,13 @@ OMCI_SW_VER1=YOURSECONDSWVER ## Getting/Setting OMCI hardware version (ME 256) -{% assign customHwVersionAlert = include.customHwVersionAlert | default: "This needs the `OMCI_OLT_MODE` value to be set to 3" %} +{% if include.customHwVersionAlert %} + +{% assign customHwVersionAlert = include.customHwVersionAlert %} {% include alert.html content=customHwVersionAlert alert="Note" icon="svg-info" color="blue" %} +{% endif %} + ```sh # {{ include.flash }} get HW_HWVER HW_HWVER=V2.0 @@ -132,9 +140,13 @@ HW_HWVER=V2.0 ## Getting/Setting OMCI vendor ID (ME 256) -{% assign customVendorAlert = include.customVendorAlert | default: "This needs the `OMCI_OLT_MODE` value to be set to 3" %} +{% if include.customVendorAlert %} + +{% assign customVendorAlert = include.customVendorAlert %} {% include alert.html content=customVendorAlert alert="Note" icon="svg-info" color="blue" %} +{% endif %} + ```sh # {{ include.flash }} get PON_VENDOR_ID PON_VENDOR_ID=ZTEG @@ -143,9 +155,13 @@ PON_VENDOR_ID=ZTEG ## Getting/Setting OMCI equipment ID (ME 257) -{% assign customEquipAlert = include.customEquipAlert | default: "This needs the `OMCI_OLT_MODE` value to be set to 3" %} +{% if include.customEquipAlert %} + +{% assign customEquipAlert = include.customEquipAlert %} {% include alert.html content=customEquipAlert alert="Note" icon="svg-info" color="blue" %} +{% endif %} + ```sh # {{ include.flash }} get GPON_ONU_MODEL GPON_ONU_MODEL=DFP-34X-2C2 |