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:brctl (lincmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> brctl (lincmd) @ 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

Info
  
Name-Collision - multiple objects in this wiki use the name brctl!
brctl (bbcmd) Manage ethernet Network-Bridges.
brctl (lincmd) Ethernet bridge administration.

Linux-Command

Goto:   GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

brctl is an Ethernet bridge administration tool.

It was used in FRITZ!OS in different standalone versions, until it was replaced by the busybox builtin brctl (bbcmd).

See also the brctl(8) man page.

Fw 4.72 help:

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

Usage: brctl [commands]

commands:
	addbr     	<bridge>		add bridge
	delbr     	<bridge>		delete bridge
	addif     	<bridge> <device>	add interface to bridge
	delif     	<bridge> <device>	delete interface from bridge
	setageing 	<bridge> <time>		set ageing time
	setbridgeprio	<bridge> <prio>		set bridge priority
	setfd     	<bridge> <time>		set bridge forward delay
	sethello  	<bridge> <time>		set hello time
	setmaxage 	<bridge> <time>		set max message age
	setpathcost	<bridge> <port> <cost>	set path cost
	setportprio	<bridge> <port> <prio>	set port priority
	show      				show a list of bridges
	showmacs  	<bridge>		show a list of mac addrs
	showstp   	<bridge>		show bridge stp info
	stp       	<bridge> {on{{or}}off}	turn stp on/off

Note that fw 1.63 (2004-05-03) is the oldest known firmware, which maybe never was used in the wild.
It is compeletly based on the AR7RD 2MB Flash / 8MB RAM reference design and its SDK from TI, with some adaption by AVM.
It already contained our well known CGI programs webcm and firmwarecfg and it already handled configuration in UI-Modules.
The beginning of FRITZ!OS could be considered the birth of ctlmgr, dsld and igdd in the second oldest fw 1.120 (2004-07-26).
The next important milestone was the birth of multid in fw 1.133 (2004-09-21). 4 important months in the history of FRITZ!OS.

Fw 1.63 help:

Usage: brctl [commands]

commands:
        addbr           <bridge>                add bridge
        addif           <bridge> <device>       add interface to bridge
        delbr           <bridge>                delete bridge
        delif           <bridge> <device>       delete interface from bridge
        show                                    show a list of bridges
        showmacs        <bridge>                show a list of mac addrs
        showstp         <bridge>                show bridge stp info
        setageing       <bridge> <time>         set ageing time
        setbridgeprio   <bridge> <prio>         set bridge priority
        setfd           <bridge> <time>         set bridge forward delay
        setgcint        <bridge> <time>         set garbage collection interval
        sethello        <bridge> <time>         set hello time
        setmaxage       <bridge> <time>         set max message age
        setpathcost     <bridge> <port> <cost>  set path cost
        setportprio     <bridge> <port> <prio>  set port priority
        stp             <bridge> <state>        turn stp on/off
        setfilter       <bridge> <state>        turn bridge filter on/off
        flushfilter     <bridge>                flush bridge filtering table
        showfilter      <bridge>                display bridge filtering table
        addfilter       <bridge> <dst_mac> <src_mac> <proto> <include|exclude>
                0 - including   1 - excluding           add entry to filter table
        delfilter       <bridge> <dst_mac> <src_mac> <proto> <include|exclude>
                0 - including   1 - excluding           delete entry to filter table
        setpppoeonly    <bridge> <port> <1|0>
                1 - allow only PPPOE on port (and activate PPPOE connection tracking)
                0 - allow everything (default)
        showpppoe       <bridge> <port>  show number of tracked PPPOE connections

GPL-Browser

Daily updated index of all brctl code findings on the GPL-Browser. Last update: 2024-11-21 05:11 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-21 07:52 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 69 1.63 - 7.30 Standard C library Linux
Depends on lib libgcc_s.so 40 4.38 - 6.85 GCC low-level runtime library Linux
2 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-21 05:56 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 SL 1.63 /usr/sbin 34.0k
FRITZ!Box WLAN 3270 4.57 - 4.86 /sbin 33.0k - 38.6k
FRITZ!Box WLAN 3270 v3 4.77 - 4.87 /sbin 33.0k
FRITZ!Box 3272 (main) 6.50 - 6.52 /sbin 40.7k
FRITZ!Box WLAN 3370 (main) 6.36 - 6.56 /sbin 37.8k
FRITZ!Box 3390 (main) 6.36 - 6.56 /sbin 37.8k
FRITZ!Box 3490 (main) 6.36 - 6.52 /sbin 37.8k
FRITZ!Box 4020 /sbin 37.8k
FRITZ!Box Fon 5113 4.82 - 4.83 /sbin 38.6k
FRITZ!Box Fon 5124 4.67 - 4.77 /sbin 38.6k
VoIP Gateway 5188 4.61 - 4.81 /sbin 38.6k
FRITZ!Box 5490 (main) 6.51 - 6.52 /sbin 37.8k
FRITZ!Box 6360 Cable 6.51 /sbin 24.5k
FRITZ!Box 6490 Cable (arm) 6.20 - 6.64 /sbin 24.5k
FRITZ!Box 6820 LTE v1 (main) 6.40 - 6.51 /sbin 40.7k
FRITZ!Box 6820 LTE v2 (main) 6.40 - 6.51 /sbin 40.7k
FRITZ!Box 6840 LTE (main) 6.36 - 6.51 /sbin 37.8k
FRITZ!Box Fon WLAN 3.93 /sbin 32.4k
FRITZ!Box Fon WLAN 7050 4.07 /sbin 32.4k
FRITZ!Box Fon WLAN 7112 4.76 - 4.88 /sbin 38.6k
FRITZ!Box Fon WLAN 7113 4.82 - 4.86 /sbin 38.6k
FRITZ!Box Fon WLAN 7113 INT 4.82 - 4.86 /sbin 38.6k
FRITZ!Box Fon WLAN 7140 4.67 - 4.77 /sbin 38.6k
FRITZ!Box Fon WLAN 7141 4.68 - 4.77 /sbin 38.6k
FRITZ!Fon 7150 4.71 - 4.72 /sbin 38.6k
FRITZ!Box Fon WLAN 7170 4.38 - 4.99 /sbin 37.0k - 38.6k
FRITZ!Box Fon WLAN 7170 v1 4.38 - 4.99 /sbin 37.0k - 38.6k
FRITZ!Box Fon WLAN 7170 v2 4.38 - 4.99 /sbin 37.0k - 38.6k
FRITZ!Box Fon WLAN 7240 4.65 - 4.97 /sbin 33.0k
FRITZ!Box Fon WLAN 7270 v1 4.63 - 4.99 /sbin 33.0k - 38.6k
FRITZ!Box Fon WLAN 7270 v2 4.67 - 4.94 /sbin 33.0k
FRITZ!Box Fon WLAN 7270 v3 4.76 - 4.99 /sbin 33.0k
FRITZ!Box 7272 (main) 6.36 - 6.52 /sbin 40.7k
FRITZ!Box 7312 6.50 - 6.56 /sbin 40.7k
FRITZ!Box 7330 6.50 - 6.56 /sbin 40.7k
FRITZ!Box 7330 SL 6.50 - 6.56 /sbin 40.7k
FRITZ!Box Fon WLAN 7340 4.83 - 4.90 /sbin 33.0k
FRITZ!Box Fon WLAN 7360 v2 6.36 - 6.53 /sbin 37.8k
FRITZ!Box 7362 SL (main) 6.36 - 6.50 /sbin 37.8k
FRITZ!Box Fon WLAN 7390 4.81 - 4.91 /sbin 33.0k - 40.7k
FRITZ!Box 7412 (main) 6.50 /sbin 37.8k
FRITZ!Box 7430 (main) 6.26 - 6.52 /sbin 37.8k - 40.7k
FRITZ!Box 7490 (main) 6.25 - 6.60 /sbin 37.8k - 40.7k
FRITZ!Box 7520 v2 (rtl) /bin 26.6k
FRITZ!Box Fon WLAN 7570 vDSL 4.70 - 4.94 /sbin 33.0k
FRITZ!Box 7581 6.54 - 7.18 /bin, /sbin 22.9k - 34.3k, Link
FRITZ!Box 7582 6.83 - 7.18 /bin, /sbin 22.9k - 34.3k, Link
FRITZ!WLAN Repeater N/G 4.65 - 4.88 /sbin 33.0k
FRITZ!WLAN Repeater 300E 6.30 - 6.34 /sbin 40.7k
FRITZ!WLAN Repeater 310 A 6.30 - 6.51 /sbin 40.7k
FRITZ!WLAN Repeater 310 B 6.30 - 6.51 /sbin 37.8k
FRITZ!WLAN Repeater 450E 6.30 - 6.51 /sbin 40.7k
FRITZ!WLAN Repeater 1160 6.51 /sbin 37.8k
FRITZ!WLAN Repeater 1750E 6.30 - 6.51 /sbin 40.7k
FRITZ!WLAN Repeater DVB-C 6.30 - 6.51 /sbin 40.7k
FRITZ!Powerline 540E 6.25 - 6.50 /sbin 40.7k
FRITZ!Powerline 546E 6.25 - 6.50 /sbin 40.7k
FRITZ!Powerline 1240E 6.33 - 6.50 /sbin 37.8k
congstar DSL-Box 4.80 - 4.81 /sbin 38.6k
congstar komplett Box 4.68 - 4.81 /sbin 33.0k
Speedport W 503V 4.68 - 4.81 /sbin 33.0k
Speedport W 503V MK 4.79 /sbin 33.0k
Speedport W 701V 4.80 - 4.81 /sbin 38.6k
Speedport W 721V 4.74 - 4.75 /sbin 38.6k
Speedport W 722V 4.76 - 4.79 /sbin 33.0k
Speedport W 920V 4.78 - 4.79 /sbin 33.0k
Speedport W 101 Bridge 4.68 /sbin 33.0k
Alice IAD WLAN 3331 4.90 /sbin 38.6k
Alice IAD 7570 vDSL 4.86 - 5.09 /sbin 33.0k
69 models use this command

Symbols

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

Firmware Symbol
1.63 - 6.60 br_add_bridge
1.63 - 6.60 br_add_interface
3.93 - 4.38 br_cmd_addbr
3.93 - 4.38 br_cmd_addif
3.93 - 4.38 br_cmd_delbr
3.93 - 4.38 br_cmd_delif
3.93 - 4.38 br_cmd_setageing
3.93 - 4.38 br_cmd_setbridgeprio
3.93 - 4.38 br_cmd_setfd
3.93 - 4.38 br_cmd_setgcint
3.93 - 4.38 br_cmd_sethello
3.93 - 4.38 br_cmd_setmaxage
3.93 - 4.38 br_cmd_setpathcost
3.93 - 4.38 br_cmd_setportprio
3.93 - 4.38 br_cmd_show
3.93 - 4.38 br_cmd_showmacs
3.93 - 4.38 br_cmd_showstp
3.93 - 4.38 br_cmd_stp
1.63 - 4.38 br_command_lookup
1.63 - 6.60 br_del_bridge
1.63 br_del_filter_entry
1.63 - 6.60 br_del_interface
1.63 - 4.38 br_device_ioctl
3.93 - 4.38 br_device_ioctl32
1.63 - 6.60 br_dump_bridge_id
1.63 - 6.60 br_dump_info
1.63 - 6.60 br_dump_interface_list
3.93 - 4.38 br_dump_port_info
1.63 - 4.38 br_find_bridge
1.63 - 4.38 br_find_port
1.63 br_flush_filter
4.57 - 6.60 br_foreach_bridge
4.57 - 6.60 br_foreach_port
4.57 - 6.60 br_get_bridge_info
4.57 - 6.60 br_get_port_info
1.63 - 6.60 br_get_state_name
1.63 - 4.38 br_get_version
1.63 - 6.60 br_init
1.63 - 4.38 br_ioctl
3.93 - 4.38 br_make_bridge_list
3.93 - 4.38 br_make_port_list
3.93 - 4.38 br_nuke_bridge
1.63 - 6.60 br_read_fdb
3.93 - 4.38 br_read_info
3.93 - 4.38 br_read_port_info
1.63 - 6.60 br_set_ageing_time
1.63 - 6.60 br_set_bridge_forward_delay
1.63 - 6.60 br_set_bridge_hello_time
1.63 - 6.60 br_set_bridge_max_age
1.63 - 6.60 br_set_bridge_priority
1.63 br_set_filter_entry
1.63 br_set_filter_state
1.63 - 4.38 br_set_gc_interval
6.25 - 6.60 br_set_hairpin_mode
1.63 - 6.60 br_set_path_cost
1.63 br_set_port_pppoeonly
1.63 - 6.60 br_set_port_priority
1.63 - 6.60 br_set_stp_state
1.63 br_show_filter
1.63 - 6.60 br_show_timer
4.57 - 6.60 command_helpall
4.57 - 6.60 command_lookup
3.93 - 4.38 help
1.63 - 4.38 if_freenameindex
1.63 - 4.38 if_indextoname
1.63 - 4.38 if_nameindex
1.63 - 4.38 if_nametoindex
1.63 - 6.60 main
68 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.