diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2022-12-26 10:32:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-26 10:32:53 +0100 |
commit | 4c6e00e564e36fe673a6079a853e15a5617de17a (patch) | |
tree | 8751a0aed370f14cb4f26d865535749d484247d9 /_ont/ont-nokia-userful-command.md | |
parent | hotfix Nokia G-010S-A (#67) (diff) | |
download | hack-gpon.github.io-4c6e00e564e36fe673a6079a853e15a5617de17a.tar hack-gpon.github.io-4c6e00e564e36fe673a6079a853e15a5617de17a.tar.gz hack-gpon.github.io-4c6e00e564e36fe673a6079a853e15a5617de17a.tar.bz2 hack-gpon.github.io-4c6e00e564e36fe673a6079a853e15a5617de17a.tar.lz hack-gpon.github.io-4c6e00e564e36fe673a6079a853e15a5617de17a.tar.xz hack-gpon.github.io-4c6e00e564e36fe673a6079a853e15a5617de17a.tar.zst hack-gpon.github.io-4c6e00e564e36fe673a6079a853e15a5617de17a.zip |
Diffstat (limited to '')
-rw-r--r-- | _ont/ont-nokia-userful-command.md | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/_ont/ont-nokia-userful-command.md b/_ont/ont-nokia-userful-command.md new file mode 100644 index 0000000..822c5b7 --- /dev/null +++ b/_ont/ont-nokia-userful-command.md @@ -0,0 +1,114 @@ +# 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 |