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:tmctl

From BoxMatrix
(Redirected from tmctl)


BoxMatrix >> Shell-Commands >> tmctl @ 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:   Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

tmctl is the Broadcom Traffic Management Control Utility.

It is a commandline frontend to libtmctl.so for scripts and is not used by the system.
Binaries use the library directly.

7581 fw 7.17:

root@fritz:/var/mod/root# tmctl

Traffic management control (TMCtl) utility:

  Usage:
    tmctl <command> <parameters ...>

  Commands:
    tmctl <porttminit|porttmuninit>
          {--devtype} <devicetype>
          {--if} <interface>
          {--flag} <cfgflags>

    tmctl getqcfg
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>

    tmctl setqcfg
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>
          {--priority} <priority>
          {--qsize} <qsize>
          {--weight} <weight>
          {--schedmode} <schedmode>
          {--shapingrate} <shapingrate>
          {--burstsize} <burstsize>
          {--minrate} <minrate>

    tmctl delqcfg
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>

    tmctl getportshaper
          {--devtype} <devicetype>
          {--if} <interface>

    tmctl setportshaper
          {--devtype} <devicetype>
          {--if} <interface>
          {--shapingrate} <shapingrate>
          {--burstsize} <burstsize>
          {--minrate} <minrate>

    tmctl getqprof
          {--qprofid} <qprofid>

    tmctl setqprof
          {--qprofid} <qprofid>
          {--redminthr} <redminthr>
          {--redmaxthr} <redmaxthr>
          {--redpct} <redpercentage>

    tmctl getqdropalg
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>

    tmctl setqdropalg
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>
          {--dropalg} <dropalgorithm>
          {--loredminthr} <redminthr>
          {--loredmaxthr} <redmaxthr>
          {--loredpct} <redpercentage>
          {--hiredminthr} <redminthr>
          {--hiredmaxthr} <redmaxthr>
          {--hiredpct} <redpercentage>
          {--qprofid} <qprofid>
          {--qprofidhi} <qprofidhi>
          {--priomask0} <hex mask>
          {--priomask1} <hex mask>

    tmctl setqsize
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>
          {--qsize} <qsize>

    tmctl setqdropalgx
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>
          {--dropalg} <dropalgorithm>
          {--loredminthr} <redminthr>
          {--loredmaxthr} <redmaxthr>
          {--loredpct} <redpercentage>
          {--hiredminthr} <redminthr>
          {--hiredmaxthr} <redmaxthr>
          {--hiredpct} <redpercentage>
          {--priomask0} <hex mask>
          {--priomask1} <hex mask>

    tmctl getporttmparms
          {--devtype} <devicetype>
          {--if} <interface>

    tmctl getqstats
          {--devtype} <devicetype>
          {--if} <interface>
          {--qid} <qid>

    tmctl getdscptopbit
          
    tmctl setdscptopbit
          {--dscp} <dscp>
          {--pbit} <pbit>

    tmctl getpbittoq
          {--devtype} <devicetype>
          {--if} <interface>

    tmctl setpbittoq
          {--devtype} <devicetype>
          {--if} <interface>
          {--pbit} <pbit>
          {--qid} <qid>

    tmctl getforcedscp
          {--dir} <direction>

    tmctl setforcedscp
          {--dir} <direction>
          {--enable} <enable>

    tmctl getpktbasedqos
          {--dir} <direction>
          {--qostype} <type>

    tmctl setpktbasedqos
          {--dir} <direction>
          {--qostype} <type>
          {--enable} <enable>

  Parameters:
    devtype = 0(ETH)|1(EPON)|2(GPON)|3(XTM)
    interface = tcont_id(GPON)|llid(EPON)|ifname(ETH&XTM), 0-based
    cfgflags = bit  0   : 0(no)|1(yes), 1: create/delete subsidiary queues
               bits 8-11: 0x0 Port scheduler type SP_WRR combo
                          0x1 Port scheduler type SP
                          0x2 Port scheduler type WRR
                          0x3 Port scheduler type WDRR
                          0x4 Port scheduler type WFQ
    qid = <0,7(MAX_Q_PER_TM-1)>, 
    priority = <0,7(MAX_Q_PRIO-1)>, lower value, lower priority
    qsize = <0,QUEUE_SIZE> (SET not supported)
    weight = <1,63>
    schedmode = 1(SP)|2(WRR)|3(WDRR)|4(WFQ)
    shapingrate = kbps, 0: no shaping
    burstsize = shaping burst size in bytes
    minrate = minimum rate in kbps, 0: no shaping
    redminthr = RED minimum threshold
    redmaxthr = RED maximum threshold
    redpercentage = <0,100>, drop probability max_p percentage
    dropalgorithm = 0(DT)|1(RED)|2(WRED)
    qprofid[hi] = queue profile ID
    priomask[0|1] = priority mask in hex
    dscp = <0,63>
    pbit = <0,7>
    dir = 0(downstream)|1(upstream)
    enable = 0(disable)|1(enable)
    qostype = 0(FC)|1(IC)|2(MCAST)

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-14 07:42 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 ld.so 1 7.20 - 8.00 Dynamic linker / loader Linux
Depends on lib libarcher.so 1 7.20 - 8.00 API to the Broadcom Archer Network Processor Broadcom
Depends on lib libatmctl.so 1 7.39 - 8.00 API to the Broadcom ATM / PTM driver. Broadcom
Depends on lib libbcm_boardctl.so 3 6.98 - 8.00 Simple Broadcom board control functions Broadcom
Depends on lib libbcm_crc.so 2 6.54 - 7.18 Broadcom CRC32 calculation. Broadcom
Depends on lib libbcm_flashutil.so 3 6.54 - 8.00 Broadcom flash updater utility Broadcom
Depends on lib libbcm_util.so 1 7.20 - 8.00 Broadcom logging and environmental info Broadcom
Depends on lib libc.so 3 6.54 - 8.00 Standard C library Linux
Depends on lib libcms_boardctl.so 2 6.54 - 6.85 Broadcom CMS board control functions Broadcom
Depends on lib libcms_msg.so 2 6.54 - 7.18 Broadcom CMS messaging API Broadcom
Depends on lib libcms_util.so 2 6.54 - 7.18 Broadcom CMS utility functions Broadcom
Depends on lib libethswctl.so 3 6.54 - 8.00 Broadcom Ethernet Switch Configuration API Broadcom
Depends on lib libgen_util.so 1 7.20 - 8.00 Generic Broadcom utility functions. Broadcom
Depends on lib librdpactl.so 2 6.54 - 7.18 Broadcom Runner Data Path API Control Broadcom
Depends on lib librt.so 1 7.20 - 8.00 POSIX realtime extensions library Linux
Depends on lib libsys_util.so 1 7.20 - 8.00 Broadcom system utilities Broadcom
Depends on lib libtmctl.so 3 6.54 - 8.00 Broadcom Traffic Management Control API Broadcom
17 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-14 05:50 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 7530 AX 7.20 - 8.00 /bin 48.0k - 52.3k
FRITZ!Box 7581 6.54 - 7.18 /bin 31.6k - 32.1k
FRITZ!Box 7582 6.83 - 7.18 /bin 31.6k - 32.1k
3 models use this command

Symbols

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

Firmware Symbol
7.20 - 7.31 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.