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

From BoxMatrix
(Redirected from mdkshell)


BoxMatrix >> Shell-Commands >> mdkshell @ 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

mdkshell is an interactive shell for low-level access to the BCM63 ethernet switch chip.
It connects the swmdk daemon through the mdkshell_sock socket,

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

MDK.0> help 

Summary of commands:

reset            Reset chip
init             Basic chip initialization
vlan             Manage VLANs
pvlan            Set or get default VLAN for a port
stp              Set or get spanning tree state
portmode         Set or get port mode
pmac             Add or remove port MAC address
cpumac           Add or remove CPU MAC address
stat             Get or clear statistics counters
swinit           Initialize L2 switching
bmd              Show BMD configuration
phy              Read and write PHY registers
qos              Configure the switch QoS
mmac             Add or Remove Multicast ARL table entries
port             Manage Per Port Configuration
switch           Manage Switch global controls
fc               Manage Flow Control
seti             Modify chip register/memory contents (raw)
geti             Get chip register/memory contents (raw)
debug            Configure debug message output
exit             Quit shell
quit             Quit shell
help             Obtain help for shell commands

For more information about a command, enter 'help command-name'

Examples

7581 fw 7.17:

MDK.1> help vlan

  SUMMARY:

     Manage VLANs

  USAGE:

     vlan action vlan [ports [untag]]

     Valid actions are create, destroy, add, remove and show. When adding
     ports to a VLAN, the untag option can be used to add the ports
     as untagged, which means that the VLAN tag will be stripped from
     egressing packets.
     
     Examples:
     
     vlan create 2
     vlan add 2 1-24 untag
     vlan remove 2 1-24
     vlan destroy 2
     vlan show

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 libc.so 2 6.54 - 7.18 Standard C library Linux
1 dependency 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 7581 6.54 - 7.18 /bin 7.5k - 9.6k
FRITZ!Box 7582 6.83 - 7.18 /bin 7.5k - 9.6k
2 models use this command

Symbols

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

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.