If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:omcicli

From BoxMatrix
(Redirected from omcicli)


BoxMatrix >> Shell-Commands >> omcicli @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Chipset-Command

Goto:   Examples  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

omcicli is the RTL96 OMCI maintenance frontend.

It is only used by supportdata.fiber, see the Examples.

fw 7.59 help - fixme - collected from the strings - incomplete:

Usage: omcicli [cmd]
  set       : set series cmd
  get       : get series cmd
  mib       : mib series cmd
  dump      : dump series cmd
  debug     : debug series cmd

Usage: omcicli set [cmd]
  sn        : set serial number
    {vendorId, serialNumber}
  log [UsrLogLvl] [DrvLogLvl]     : set runtime log level
    {off | err | warn | info | dbg}
  logfile   : log omci msg to file (defautl at /tmp)
    {mode (mask) 0:Off | 1:Raw | 2:Parsed | 4:with TimeStamp}
    [actMask 0:Default | value[, fileName]]
        -list of omci action masks-

Usage: omcicli get [cmd]
  sn        : get serial number
  log       : get runtime log level
  logfile   : get omci msg log mode/action mask
  tables    : get all registered MIB tables
  devmode   : get omci device mode
  dmmode    : get dual mgmt mode
  loid      : get loid and password
  loidauth  : get loid auth status
  cflag     : get customized flag
  authuptime    : get auth uptime
  ponspeed      : get pon speed

Usage: omcicli mib [cmd]
  create    : create MIB ME
    {classId, entityId, "value of all SBC attributes"}
  delete    : delete MIB ME
    {classId, entityId}
  set       : set MIB ME attribute
    {classId, entityId, attrName, attrValue}
  get       : get all MIB or any single ME class
    [all | classId | tableName[, entityId]]
  getcurr   : get PM MIB current accumulations
    {classId | tableName[, entityId]}
  getalm    : get all alarm or any single ME class
    [classId[, entityId]]
  getattr   : get specefic attribute for any single ME class
    [classId, entityId, attributeId]
  reset     : trigger MIB reset

Usage: omcicli dump [cmd]
  avltree   : dump MAC bridge AVL tree
    [avlkeyid]
        -list of avl tree key id-

Usage: omcicli debug [cmd]
  loadfile      : replay raw omci file
    {file[, start, end]}
  loadpkt       : replay raw omci packet
    {data}
  simalm        : simulate an alarm
    {type, number, status[, detail]}
  simavc        : simulate an AVC
    {classId, entityId, attrIndex (1 ~ 16)}
  detectiotvlan     : detect IOT vlan info
  gendot            : generate a dot file in /tmp/omci_dot_file
  showregmod        : show register feature module
  showregapi        : show register feature api

Examples

From supportdata.fiber fw 7.59:

omcicli -v
omcicli get tables
omcicli mib get 171
omcicli mib get 329
omcicli mib get 11
omcicli dump conn
omcicli dump qmap
omcicli dump avltree
omcicli get cflag
omcicli debug showregmod
omcicli mib getalm

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.59 source files:

$ strings /bin/omcicli | grep -e '\.c$' -e '\.cpp$'

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-15 07:53 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib libc.so 1 7.62 - 7.90 Standard C library Linux
Depends on lib libomci_api.so 1 7.62 - 7.90 RTL96 OMCI maintenance API RTL96
Depends on lib libomci_fal.so 1 7.62 - 7.90 RTL96 OMCI feature plugin API RTL96
Depends on lib libomci_gos.so 1 7.62 - 7.90 RTL96 OMCI message generation API RTL96
4 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-15 05:53 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 5690 Pro (rtl) 7.62 - 7.90 /bin 26.2k
1 model uses this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-15 07:53 GMT.

Firmware Symbol
7.62 - 7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

o