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 september. Please use hippie2000@webnmail.de instead.

0
U

Property:showl2tpstat

From BoxMatrix


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

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

AVM-Command

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

Details

showl2tpstat is a supportdata helper showing layer 2 tunneling protocol connections.

It lists the role (server / client), IPs, envolved Network-Interfaces and the connection status of each tunnel.

fw 7.29 help:

root@fritz2:/var/mod/root# showl2tpstat -?

usage: showl2tpstat showl2tpstat [options]

options:
  -?                 - print this help
  -D STRING          - switch debug logs on. (FUNC)

Examples

fw 7.29 Mesh master - eth3 is LAN4 in guest mode - WLAN is disabled:

root@fritz1:/var/mod/root# showl2tpstat

server
192.168.178.2 guest_st3 connected
192.168.178.3 guest_st1 connected
192.168.178.4 guest_st2 connected

root@fritz1:/var/mod/root# brctl show

bridge name	bridge id		STP enabled	interfaces
lan		8000.dc396fxxxxx8	no		eth0
							eth1
							eth2
guest		8000.dc396fxxxxx9	no		eth3
							guest_st1
							guest_st2
							guest_st3

fw 7.29 Mesh repeater - WLAN 2 bands and guest mode enabled:

root@fritz2:/var/mod/root# showl2tpstat

client
192.168.178.1 guest_ct1 connected
* 192.168.178.1 fritz.box:guest

root@fritz2:/var/mod/root# brctl show

bridge name	bridge id		STP enabled	interfaces
lan		8000.c80e14xxxxx0	no		eth0
							eth1
							eth2
							eth3
							ath0
							ath1
guest		8000.c80e14xxxxx1	no		guest5
							guest4
							guest_ct1

Source

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

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

ar7/l2tpv3/l2tpstat.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-01-30 18:58 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 40 7.08 - 7.51 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 89 5.58 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libboxnotify.so 1 6.35 boxnotifyd client API (old) AVM
Depends on lib libc.so 89 5.58 - 7.51 Standard C library Linux
Depends on lib libdl.so 74 5.58 - 7.50 Dynamic linking library Linux
Depends on lib libgcc_s.so 40 5.58 - 6.110 GCC low-level runtime library Linux
Depends on lib libl2tpv3d.so 70 6.51 - 7.51 Layer 2 tunneling protocol v3 AVM
Depends on lib libpthread.so 74 5.58 - 7.50 POSIX threading library Linux
Depends on lib librt.so 58 6.35 - 7.50 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 52 7.19 - 7.51 supervisor control library AVM
Depends on lib libz.so 52 6.98 - 7.51 Zlib compressor / decompressor Linux
11 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-01-30 16:58 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 3272 5.59 - 6.88 /bin 8.6k - 10.4k
FRITZ!Box WLAN 3370 5.59 - 6.55 /bin 8.5k - 9.0k
FRITZ!Box 3390 5.59 - 6.55 /bin 8.5k - 9.0k
FRITZ!Box 3490 (main) 6.20 - 7.30 /bin 8.5k - 14.4k
FRITZ!Box 4020 6.27 - 7.02 /bin 8.6k - 10.4k
FRITZ!Box 4040 6.69 - 7.39 /bin 7.7k - 9.4k
FRITZ!Box 4060 7.26 - 7.39 /bin 9.3k
FRITZ!Box 5490 (main) 6.51 - 7.29 /bin 8.6k - 14.4k
FRITZ!Box 5491 (main) 7.01 - 7.29 /bin 10.4k - 14.4k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 /bin 14.2k - 14.3k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.39 /bin 9.3k
FRITZ!Box 6320 Cable v1 6.03 - 6.04 /bin 6.9k
FRITZ!Box 6320 Cable v2 6.21 /bin 7.0k
FRITZ!Box 6360 Cable 6.04 - 6.51 /bin 6.9k - 7.0k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.29 /bin 8.1k - 13.2k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /bin 8.1k - 13.2k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.39 /bin 7.0k - 13.2k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.39 /bin 7.3k - 13.2k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.39 /bin 8.1k - 13.2k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.39 /bin 8.1k - 13.2k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /bin 8.9k - 13.4k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /bin 8.9k - 13.4k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /bin 9.5k - 13.4k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /bin 9.5k - 13.4k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /bin 13.3k - 13.4k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /bin 13.3k - 13.4k
FRITZ!Box 6810 LTE 6.03 - 6.34 /bin 8.6k - 9.0k
FRITZ!Box 6820 LTE v1 6.40 - 7.29 /bin 9.0k - 14.4k
FRITZ!Box 6820 LTE v2 6.40 - 7.29 /bin 9.0k - 14.4k
FRITZ!Box 6820 LTE v3 7.19 - 7.29 /bin 14.4k
FRITZ!Box 6840 LTE 6.01 - 6.87 /bin 8.6k - 9.9k
FRITZ!Box 6842 LTE 6.01 - 6.34 /bin 8.6k - 9.0k
FRITZ!Box 6850 LTE 7.21 - 7.39 /bin 9.4k - 14.2k
FRITZ!Box 6850 5G 7.24 - 7.39 /bin 9.4k
FRITZ!Box 6890 LTE 6.84 - 7.39 /bin 10.2k - 14.3k
FRITZ!Box 6890 LTE v1 6.84 - 7.39 /bin 10.2k - 14.3k
FRITZ!Box 6890 LTE v2 6.84 - 7.39 /bin 10.2k - 14.3k
FRITZ!Box Fon WLAN 7240 6.01 - 6.04 /bin 8.7k
FRITZ!Box Fon WLAN 7270 v2 5.59 - 6.04 /bin 8.7k
FRITZ!Box Fon WLAN 7270 v3 5.59 - 6.04 /bin 8.7k
FRITZ!Box 7272 5.59 - 6.88 /bin 8.6k - 10.4k
FRITZ!Box 7312 6.01 - 6.30 /bin 8.6k - 9.0k
FRITZ!Box Fon WLAN 7320 6.01 - 6.34 /bin 8.6k - 9.0k
FRITZ!Box 7330 5.59 - 6.30 /bin 8.6k - 9.0k
FRITZ!Box 7330 SL 5.59 - 6.30 /bin 8.6k - 9.0k
FRITZ!Box Fon WLAN 7340 6.01 - 6.06 /bin 8.9k - 9.0k
FRITZ!Box Fon WLAN 7360 SL 5.60 - 6.34 /bin 8.6k - 9.0k
FRITZ!Box Fon WLAN 7360 v1 5.60 - 6.35 /bin 8.6k - 9.0k
FRITZ!Box Fon WLAN 7360 v2 5.59 - 6.87 /bin 8.5k - 9.9k
FRITZ!Box 7362 SL 5.60 - 7.13 /bin 8.5k - 14.3k
FRITZ!Box 7369 6.30 - 6.32 /bin 9.0k
FRITZ!Box Fon WLAN 7390 6.00 - 6.87 /bin 8.9k - 10.4k
FRITZ!Box 7412 6.21 - 6.87 /bin 8.5k - 9.9k
FRITZ!Box 7430 6.26 - 7.29 /bin 8.5k - 14.4k
FRITZ!Box 7490 (main) 5.58 - 7.51 /bin 8.5k - 14.4k
FRITZ!Box 7510 7.30 - 7.39 /bin 9.3k
FRITZ!Box 7520 6.98 - 7.50 /bin 7.8k - 9.4k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.50 /bin 9.4k
FRITZ!Box 7530 6.93 - 7.51 /bin 7.7k - 9.4k
FRITZ!Box 7530 AX 7.20 - 7.39 /bin 9.5k - 13.5k
FRITZ!Box 7560 6.51 - 7.29 /bin 10.3k - 14.3k
FRITZ!Box 7580 6.51 - 7.29 /bin 10.3k - 14.3k
FRITZ!Box 7581 6.83 - 7.16 /bin 7.5k - 13.5k
FRITZ!Box 7582 6.83 - 7.16 /bin 7.5k - 13.5k
FRITZ!Box 7583 7.01 - 7.31 /bin 10.4k - 14.3k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /bin 14.2k
FRITZ!Box 7590 6.83 - 7.51 /bin 10.2k - 14.3k
FRITZ!Box 7590 AX 7.19 - 7.39 /bin 10.2k - 14.2k
FRITZ!WLAN Repeater 300E 6.00 - 6.33 /bin 8.7k - 9.0k
FRITZ!WLAN Repeater 310 A 6.00 - 7.15 /bin 8.7k - 14.3k
FRITZ!WLAN Repeater 310 B 6.30 - 7.15 /bin 8.6k - 14.3k
FRITZ!WLAN Repeater 450E 6.00 - 7.14 /bin 8.6k - 14.3k
FRITZ!Repeater 600 7.11 - 7.29 /bin 10.4k - 14.3k
FRITZ!Repeater 600 v2 7.19 - 7.30 /bin 10.4k
FRITZ!WLAN Repeater 1160 6.51 - 7.14 /bin 8.6k - 14.3k
FRITZ!Repeater 1200 7.11 - 7.29 /bin 9.3k - 9.4k
FRITZ!Repeater 1200 AX 7.27 - 7.39 /bin 9.3k
FRITZ!Smart Gateway 7.39 - 7.51 /bin 9.3k
FRITZ!WLAN Repeater 1750E 6.12 - 7.30 /bin 9.0k - 14.4k
FRITZ!Repeater 2400 7.12 - 7.50 /bin 10.3k - 14.3k
FRITZ!Repeater 3000 6.98 - 7.39 /bin 7.7k - 9.4k
FRITZ!Repeater 3000 AX 7.39 - 7.41 /bin 9.3k
FRITZ!Repeater 6000 7.19 - 7.39 /bin 9.3k
FRITZ!WLAN Repeater DVB-C 6.12 - 7.02 /bin 9.0k - 10.4k
FRITZ!Powerline 540E 5.58 - 7.14 /bin 8.7k - 14.3k
FRITZ!Powerline 546E 6.02 - 7.10 /bin 8.7k - 14.3k
FRITZ!Powerline 1240E 6.33 - 7.14 /bin 8.6k - 14.3k
FRITZ!Powerline 1260E 6.90 - 7.29 /bin 7.8k - 9.4k
FRITZ!Powerline 1260 7.08 - 7.29 /bin 9.3k - 9.4k
89 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-01-30 18:58 GMT.

Firmware Symbol
6.51 - 7.51 l2tp_state2str
6.51 - 7.51 l2tp_str2state
6.51 - 7.51 l2tpsess_state2str
6.51 - 7.51 l2tpsess_str2state
6.51 - 7.51 l2tpstat_dump_begin
6.51 - 7.51 l2tpstat_dump_commit
6.51 - 7.51 l2tpstat_dump_server
6.51 - 7.51 l2tpstat_dump_session
6.51 - 7.51 l2tpstat_dump_state
6.51 - 7.51 l2tpstat_init
6.51 - 7.51 l2tpstat_load
6.51 - 7.51 l2tpstat_release
5.58 - 7.51 main
13 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.