From aa2e6b75deea48703dc8fa8a3e4c7e3293f03d7b Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Tue, 31 Jan 2023 11:09:35 +0100 Subject: fix typo on nokia (#137) Co-authored-by: Simone Bortolin --- _ont/ont-nokia-g-010g-p.md | 2 +- _ont/ont-nokia-g-010g-q.md | 2 +- _ont/ont-nokia-g-010g-r.md | 2 +- _ont/ont-nokia-g-010g-t.md | 2 +- _ont/ont-nokia-g-010s-q.md | 2 +- _ont/ont-nokia-useful-command.md | 114 ++++++++++++++++++++++++++++++++++++++ _ont/ont-nokia-userful-command.md | 114 -------------------------------------- 7 files changed, 119 insertions(+), 119 deletions(-) create mode 100644 _ont/ont-nokia-useful-command.md delete mode 100644 _ont/ont-nokia-userful-command.md (limited to '_ont') diff --git a/_ont/ont-nokia-g-010g-p.md b/_ont/ont-nokia-g-010g-p.md index 854d494..dbeef67 100644 --- a/_ont/ont-nokia-g-010g-p.md +++ b/_ont/ont-nokia-g-010g-p.md @@ -48,7 +48,7 @@ To access a complete linux shell just type: To exit the shell and reach the parent menu type `exit` or `x`, in each menu the `help` command will show how to use the shell -{% include_relative ont-nokia-userful-command.md %} +{% include_relative ont-nokia-useful-command.md %} # Miscellaneous Links - [MIB file parser](https://github.com/nanomad/nokia-ont-mib-parser) for NOKIA's GPON ONTs (*helps you parsing the .mib file located in `/mnt/rwdir`*) diff --git a/_ont/ont-nokia-g-010g-q.md b/_ont/ont-nokia-g-010g-q.md index 38c3c55..02b648e 100644 --- a/_ont/ont-nokia-g-010g-q.md +++ b/_ont/ont-nokia-g-010g-q.md @@ -71,7 +71,7 @@ ONT> {% include_relative ont-nokia-use.md %} -{% include_relative ont-nokia-userful-command.md %} +{% include_relative ont-nokia-useful-command.md %} # Miscellaneous Links - [MIB file parser](https://github.com/nanomad/nokia-ont-mib-parser) for NOKIA's GPON ONTs (*helps you parsing the .mib file located in `/mnt/rwdir`*) diff --git a/_ont/ont-nokia-g-010g-r.md b/_ont/ont-nokia-g-010g-r.md index 9855d67..a417f99 100644 --- a/_ont/ont-nokia-g-010g-r.md +++ b/_ont/ont-nokia-g-010g-r.md @@ -46,7 +46,7 @@ The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be acc {% include_relative ont-nokia-use.md %} -{% include_relative ont-nokia-userful-command.md %} +{% include_relative ont-nokia-useful-command.md %} # Miscellaneous Links - [MIB file parser](https://github.com/nanomad/nokia-ont-mib-parser) for NOKIA's GPON ONTs (*helps you parsing the .mib file located in `/mnt/rwdir`*) diff --git a/_ont/ont-nokia-g-010g-t.md b/_ont/ont-nokia-g-010g-t.md index 8bff525..640aea4 100644 --- a/_ont/ont-nokia-g-010g-t.md +++ b/_ont/ont-nokia-g-010g-t.md @@ -57,7 +57,7 @@ The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be acc {% include_relative ont-nokia-use.md %} -{% include_relative ont-nokia-userful-command.md %} +{% include_relative ont-nokia-useful-command.md %} # Miscellaneous Links - [MIB file parser](https://github.com/nanomad/nokia-ont-mib-parser) for NOKIA's GPON ONTs (*helps you parsing the .mib file located in `/mnt/rwdir`*) diff --git a/_ont/ont-nokia-g-010s-q.md b/_ont/ont-nokia-g-010s-q.md index cf6e737..9e76968 100644 --- a/_ont/ont-nokia-g-010s-q.md +++ b/_ont/ont-nokia-g-010s-q.md @@ -31,7 +31,7 @@ alias: CIG G-97S {% include image.html file="g-010s-q-teardown-1.jpg" alt="Nokia G-010S-Q Teardown Up" caption="Nokia G-010S-Q Teardown Up" %} {% include image.html file="g-010s-q-teardown-2.jpg" alt="Nokia G-010S-Q Teardown Down" caption="Nokia G-010S-Q Teardown Down" %} -{% include_relative ont-nokia-userful-command.md %} +{% include_relative ont-nokia-useful-command.md %} # Miscellaneous Links diff --git a/_ont/ont-nokia-useful-command.md b/_ont/ont-nokia-useful-command.md new file mode 100644 index 0000000..996407e --- /dev/null +++ b/_ont/ont-nokia-useful-command.md @@ -0,0 +1,114 @@ +# General Settings and Useful Commands + +## Committing changes to the OMCI MIB tables for GPON operation +```sh +#ONT>system +#ONT/system>mib +#ONT/system/mib>reset +``` + +## Getting/Setting the ONT's S/N +```sh +#ONT>system +#ONT/system>misc +#ONT/system/misc>eqsn set "ALCL00000001" +---ATECMDRESULT--- OK +#ONT/system/misc>eqsn get +eqsn: ALCL00000001 +---ATECMDRESULT--- OK +``` + +## Getting/Setting the ONT's Vendor +```sh +#ONT>system +#ONT/system>misc +#ONT/system/misc>vendor get +vendor: ALCL +---ATECMDRESULT--- OK +#ONT/system/misc>eqsnvend get +vendor: ALCL +---ATECMDRESULT--- OK +#ONT/system/misc>vendor set "ALCL" +---ATECMDRESULT--- OK +#ONT/system/misc>eqsnvend set "ALCL" +---ATECMDRESULT--- OK + +``` + +## Getting/Setting the ONT's Equipment ID +```sh +#ONT>system +#ONT/system>misc +#ONT/system/misc>eqid set "FT-G2110C-2.5G" +---ATECMDRESULT--- OK +#ONT/system/misc>eqid get +eqid: FT-G2110C-2.5G +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" +``` + +## Getting/Setting the ONT's IP/Netmask +```sh +#ONT>system +#ONT/system>misc +#ONT/system/misc>admin_ip get +admin_ip: 192.168.100.1 +---ATECMDRESULT--- OK +#ONT/system/misc>admin_ip set 192.168.1.1 +#ONT/system/misc>admin_mask get +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 diff --git a/_ont/ont-nokia-userful-command.md b/_ont/ont-nokia-userful-command.md deleted file mode 100644 index 996407e..0000000 --- a/_ont/ont-nokia-userful-command.md +++ /dev/null @@ -1,114 +0,0 @@ -# General Settings and Useful Commands - -## Committing changes to the OMCI MIB tables for GPON operation -```sh -#ONT>system -#ONT/system>mib -#ONT/system/mib>reset -``` - -## Getting/Setting the ONT's S/N -```sh -#ONT>system -#ONT/system>misc -#ONT/system/misc>eqsn set "ALCL00000001" ----ATECMDRESULT--- OK -#ONT/system/misc>eqsn get -eqsn: ALCL00000001 ----ATECMDRESULT--- OK -``` - -## Getting/Setting the ONT's Vendor -```sh -#ONT>system -#ONT/system>misc -#ONT/system/misc>vendor get -vendor: ALCL ----ATECMDRESULT--- OK -#ONT/system/misc>eqsnvend get -vendor: ALCL ----ATECMDRESULT--- OK -#ONT/system/misc>vendor set "ALCL" ----ATECMDRESULT--- OK -#ONT/system/misc>eqsnvend set "ALCL" ----ATECMDRESULT--- OK - -``` - -## Getting/Setting the ONT's Equipment ID -```sh -#ONT>system -#ONT/system>misc -#ONT/system/misc>eqid set "FT-G2110C-2.5G" ----ATECMDRESULT--- OK -#ONT/system/misc>eqid get -eqid: FT-G2110C-2.5G -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" -``` - -## Getting/Setting the ONT's IP/Netmask -```sh -#ONT>system -#ONT/system>misc -#ONT/system/misc>admin_ip get -admin_ip: 192.168.100.1 ----ATECMDRESULT--- OK -#ONT/system/misc>admin_ip set 192.168.1.1 -#ONT/system/misc>admin_mask get -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 -- cgit v1.2.3