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

From BoxMatrix
(Redirected from xtmctl)


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

Details

xtmctl controls the BCM63 ATM / PTM driver through libatmctl.so. It is the Broadcom DSL Layer 2 Control Utility.

It is used by dsld, see the Examples below.
xtmctl also is a multi-call binary for its alias xtm and the low-level utilities dumpmem and setmem.

7581 fw 7.17:

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

Usage: xtmctl start
           [--rq0 <size>]
           [--rq1 <size>]
           [--intf allint|allext|intext [negedge]]
           [--bondingenable]
       xtmctl stop
       xtmctl restart
       xtmctl bonding --status
       xtmctl datapath --status
       xtmctl sar [tx|rx|rxcam|shaper|rxpbuf|mib|rxpaf|rxbond|tmuext|all]
       xtmctl config --trafficsense <traffic_timeout_seconds>
       xtmctl config --singleline <single_line_timeout_seconds>
       xtmctl operate tdte
           [--add (ubr [<mcr>])|(ubr_pcr <pcr> [<mcr>])|(cbr <pcr>)|(rtvbr <pcr> <scr> <mbs_cell>)|(nrtvbr <pcr> <scr> <mbs_cell>)
           [--delete <tdte_index>]
           [--show [<tdte_index>]]
       xtmctl operate intf
           [--state <port_id> enable|disable]
           [--show [<port_id>]]
           [--stats [<port_id>] [reset]]
       xtmctl operate conn
           [--add <port_mask.vpi.vci> aal5
                  llcsnap_eth|llcsnap_rtip|llcencaps_ppp|vcmux_eth|vcmux_ipoa|vcmux_pppoa
                  <mp_prio> <mp_wght> [<tdte_index>]]
           [--add <port_mask.vpi.vci> aal0pkt|aal0cell [<tdte_index>]]
           [--add <port_mask.ptmpri_mask>]
           [--delete <port_mask.vpi.vci>|<port_mask.ptmpri_mask>]
           [--addq <port_id.vpi.vci> <q_prio> wrr|wfq <q_wght> dt|(red <minThr> <maxThr>)|(wred <loMinThr> <loMaxThr> <hiMinThr> <hiMaxThr>)]
           [--addq <port_id.ptmpri_id> <q_prio> wrr|wfq <q_wght> dt|(red <minThr> <maxThr>)|(wred <loMinThr> <loMaxThr> <hiMinThr> <hiMaxThr>) <mbr_kbps> <pbr_kbps> <mbs_byte>]
           [--deleteq <port_id.vpi.vci>|<port_id.ptmpri_id> <qid>]
           [--state <port_mask.vpi.vci>|<port_mask.ptmpri_mask> enable|disable]
           [--show [<port_mask.vpi.vci>|<port_mask.ptmpri_mask>]]
           [--sendoam <port_id.vpi.vci> f5seg|f5end|f4seg|f4end]
           [--createnetdev <port_mask.vpi.vci>|<port_mask.ptmpri_mask> <netdevname>]
           [--deletenetdev <port_mask.vpi.vci>|<port_mask.ptmpri_mask>]

       port_mask: bit mask of one or more port ids
       port_id:
           0x01 = PORT_PHY0_LATENCY0
           0x02 = PORT_PHY0_LATENCY1
           0x04 = PORT_PHY1_LATENCY0
           0x08 = PORT_PHY1_LATENCY1
       ptmpri_mask: bit mask of one or both PTM priority ids
       ptmpri_id:
           0x01 = PTM_PRI_LOW
           0x02 = PTM_PRI_HIGH
       mcr: minimum cell rate in cells/sec
       pcr: peak cell rate in cells/sec
       scr: sustainable cell rate in cells/sec
       mbs_cell: maximum burst size in cells
       mp_prio: only applicable to VC with mpaal arbiter. The priority value
                to be used for VC arbitration. [0-7]
       mp_wght: only applicable to VC with mpaal arbiter. The weight value
                to be used for VC arbitration. [1-63]
       q_prio: queue priority [0-7]
       q_wght: queue weight [1-63]
       mbr_kbps: PTM queue minimum bit rate in kbps. 0 = no shaping
       pbr_kbps: PTM queue peak bit rate in kbps. 0 = no shaping
       mbs_byte: PTM queue maximum burst size in bytes
       minThr/maxThr: minimum/maximum threshold for RED drop algorithm. [1-100]% of queue size
       loMinThr/loMaxThr: low  class minimum/maximum threshold for WRED drop algorithm. [1-100]% of queue size
       hiMinThr/hiMaxThr: high class minimum/maximum threshold for WRED drop algorithm. [1-100]% of queue size
xtmctl version 2.6

Examples

From dsld 7581 fw 7.17:

xtmctl operate conn --deleteq 1.%u.%u %u
xtmctl operate conn --deleteq 1.1 %u
xtmctl operate conn --addq 1.%u.%u %u wrr 1 dt
xtmctl operate conn --addq 1.1 %u wrr 1 dt -1 -1 3000  

Dependencies

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

Relation Typ Object Mod Firmware Info Origin
Symlinked by cmd dumpmem 3 6.54 - 7.90 Dumps the Broadcom chipset memory in 8-bit hex values and printable ASCII. Broadcom
Symlinked by cmd setmem 3 6.54 - 7.90 Stores a 8/16/32-bit hex value to the Broadcom chipset memory. Broadcom
Symlinked by cmd xtm 3 6.54 - 7.90 Alias for xtmctl. Broadcom
Depends on lib ld.so 1 7.20 - 7.90 Dynamic linker / loader Linux
Depends on lib libatmctl.so 3 6.54 - 7.90 API to the Broadcom ATM / PTM driver. Broadcom
Depends on lib libbcm_boardctl.so 3 6.98 - 7.90 Simple Broadcom board control functions Broadcom
Depends on lib libbcm_crc.so 2 6.54 - 7.17 Broadcom CRC32 calculation. Broadcom
Depends on lib libbcm_flashutil.so 3 6.54 - 7.90 Broadcom flash updater utility Broadcom
Depends on lib libbcm_util.so 1 7.20 - 7.90 Broadcom logging and environmental info Broadcom
Depends on lib libc.so 3 6.54 - 7.90 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.17 Broadcom CMS messaging API Broadcom
Depends on lib libcms_util.so 2 6.54 - 7.17 Broadcom CMS utility functions Broadcom
Depends on lib libcrypt.so 2 6.54 - 7.17 Encoding and decoding handling routines. Linux
Depends on lib libgen_util.so 1 7.20 - 7.90 Generic Broadcom utility functions. Broadcom
Depends on lib librt.so 1 7.20 - 7.90 POSIX realtime extensions library Linux
Depends on lib libsys_util.so 1 7.20 - 7.90 Broadcom system utilities 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-04-19 05:14 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 - 7.90 /bin 39.3k - 43.3k
FRITZ!Box 7581 6.54 - 7.16 /bin 31.1k - 35.4k
FRITZ!Box 7582 6.83 - 7.17 /bin 31.1k - 35.4k
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-19 07:32 GMT.

Firmware Symbol
7.20 - 7.31 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.