diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2023-04-24 21:05:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 21:05:51 +0200 |
commit | 3249248e754bcb7c6d94f352a21309503615344c (patch) | |
tree | 51af3a3c19f6dfb0c337df24c80aee64f8ec9f46 /_ont/ont-nokia-useful-command.md | |
parent | Fix issue: tw236h-cdel-serial.jpg points to the wrong file (#177) (diff) | |
download | hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.gz hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.bz2 hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.lz hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.xz hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.zst hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.zip |
Diffstat (limited to '')
-rw-r--r-- | _ont/ont-nokia-useful-command.md | 118 |
1 files changed, 61 insertions, 57 deletions
diff --git a/_ont/ont-nokia-useful-command.md b/_ont/ont-nokia-useful-command.md index 996407e..464e409 100644 --- a/_ont/ont-nokia-useful-command.md +++ b/_ont/ont-nokia-useful-command.md @@ -1,4 +1,42 @@ -# General Settings and Useful Commands +# 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 = "GNXS" +Version = 47 32 31 31 30 43 45 32 56 31 44 30 00 00 +SerialNum = 47 4e 58 53 05 54 6f b0 +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 @@ -7,7 +45,7 @@ #ONT/system/mib>reset ``` -## Getting/Setting the ONT's S/N +## Getting/Setting ONU GPON Serial Number ```sh #ONT>system #ONT/system>misc @@ -18,7 +56,24 @@ eqsn: ALCL00000001 ---ATECMDRESULT--- OK ``` -## Getting/Setting the ONT's Vendor +## Setting OMCI software version (ME 7) +The following must be typed from the standard linux shell: +```sh +# echo SWVER=C-5.6.1-R > /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 "G2110CE2V1D0" +``` + +## Getting/Setting OMCI vendor ID (ME 256) ```sh #ONT>system #ONT/system>misc @@ -32,10 +87,9 @@ vendor: ALCL ---ATECMDRESULT--- OK #ONT/system/misc>eqsnvend set "ALCL" ---ATECMDRESULT--- OK - ``` -## Getting/Setting the ONT's Equipment ID +## Getting/Setting OMCI equipment ID (ME 257) ```sh #ONT>system #ONT/system>misc @@ -47,18 +101,9 @@ hex_eqid: 0x46542d4732313130432d322e3547000000000000 ---ATECMDRESULT--- OK ``` -## Getting/Setting the ONT's Hardware Version -```sh -#ONT>system -#ONT/system>misc -#ONT/system/misc>eqvid get -eqvid: 3FE45458ABAA06 -hex_eqvid: 0x3346453435343538414241413036 ----ATECMDRESULT--- OK -#ONT/system/misc>eqvid set "G2110CE2V1D0" -``` +# Advanced settings -## Getting/Setting the ONT's IP/Netmask +## Setting management IP ```sh #ONT>system #ONT/system>misc @@ -70,45 +115,4 @@ admin_ip: 192.168.100.1 admin_mask: 255.255.255.0 ---ATECMDRESULT--- OK #ONT/system/misc>admin_mask set 255.255.255.0 -``` - -## Getting Operational Status -```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 = "GNXS" -Version = 47 32 31 31 30 43 45 32 56 31 44 30 00 00 -SerialNum = 47 4e 58 53 05 54 6f b0 -TraffMgtOpt = 0 -AtmCCOpt = 0 -BatteryBack = 1 -AdminState = 0 -OpState = 0 -OnuSurvivalTime = 0 -Loid = "" -Password = "" -AuthState = 0 -OntState = 1 -``` - -## Setting the ONT's Software Version -The following must be typed from the standard linux shell: -```sh -# echo SWVER=C-5.6.1-R > /mnt/rwdir/sys.cfg ```
\ No newline at end of file |