From 72c13df9f2ba5d503c14e264a0d7d0c6fd494f50 Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Sat, 9 Sep 2023 11:01:19 +0200 Subject: update OMCI_OLT_MODE and LAN_SDS_MODE for realtek (#272) Co-authored-by: Simone Bortolin --- _ont/ont-luna-sdk-useful-commands.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to '_ont/ont-luna-sdk-useful-commands.md') 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 -- cgit v1.2.3