summaryrefslogtreecommitdiffstats
path: root/_ont/ont-luna-sdk-useful-commands.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_ont/ont-luna-sdk-useful-commands.md24
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