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

From BoxMatrix


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

showroutes is a supportdata helper showing routing information.

fw 7.29 help:

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

usage: showroutes showroutes [options] [ipaddresses]

options:
  -?                 - print this help
  -a                 - show addresses of all interfaces. (NOTSET)
  -A                 - show routes of all tables. (NOTSET)
  -4                 - show only ipv4 routes/addresses. (NOTSET)
  -6                 - show only ipv6 route/addressess. (NOTSET)
  -f                 - find route (only ipv4). (NOTSET)
  -l                 - check if given IP routes to local. (NOTSET)
  -D STRING          - switch debug logs on. (FUNC)

showroutes [ipaddresses]
showaddrs
showaddrs add IPADDR [mask MASK] [dst IPADDR] DEV
showaddrs del IPADDR [mask MASK] [dst IPADDR] DEV

Examples

7330 fw 7.29 (DSL-Router mode, separate VoIP PVC):

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

84.59.XX.XX/32 metric 2 dev dsl proto iface table main
92.218.XX.XX/32 metric 3 dev dsl proto iface table main
176.95.XX.XX/32 metric 3 dev dsl proto dns table main
176.95.XX.XX/32 metric 2 dev dsl proto dns table main
176.95.XX.XX/32 metric 3 dev dsl proto dns table main
176.95.XX.XX/32 metric 2 dev dsl proto dns table main
192.168.180.1/32 metric 2 dev dsl proto boot table main
192.168.180.2/32 metric 2 dev dsl proto boot table main
192.168.179.0/24 metric 0 dev guest proto kernel table main
192.168.178.0/24 metric 0 dev lan proto kernel table main
169.254.0.0/16 metric 0 dev lan proto kernel table main
default metric 2 dev dsl proto boot table main
fe80::/64 metric 256 dev guest proto kernel table main
fe80::/64 metric 256 dev lan proto kernel table main

Virgin 7330 fw 7.39 (IP-Client mode):

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

192.168.178.0/24 metric 0 dev lan proto kernel table main
169.254.0.0/16 metric 0 dev lan proto kernel table main
fd00::/64 metric 256 dev lan proto kernel table main
fe80::/64 metric 256 dev lan proto kernel table main

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 /sbin/showroutes | grep -e '\.c$' -e '\.cpp$'

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-02-02 07:26 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 121 4.38 - 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 121 4.38 - 7.51 Standard C library Linux
Depends on lib libdl.so 106 4.38 - 7.50 Dynamic linking library Linux
Depends on lib libewnwlinux.so 121 4.38 - 7.51 Linux networking functions AVM
Depends on lib libgcc_s.so 65 4.38 - 6.110 GCC low-level runtime library Linux
Depends on lib libpthread.so 106 4.38 - 7.50 POSIX threading library Linux
Depends on lib librt.so 61 6.35 - 7.50 POSIX realtime extensions library Linux
Depends on lib libslab.so 26 4.38 - 5.09 Slab allocator or empty dummy library Linux
Depends on lib libsvctl.so 52 7.19 - 7.51 supervisor control library AVM
Depends on lib libwdt.so 32 7.39 - 7.51 AVM-Watchdogs management API AVM
Depends on lib libz.so 52 6.98 - 7.51 Zlib compressor / decompressor Linux
13 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-02-02 06:01 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 WLAN 3270 4.57 - 5.54 /sbin 8.8k - 11.6k
FRITZ!Box WLAN 3270 v3 4.77 - 5.54 /sbin 8.8k - 11.6k
FRITZ!Box WLAN 3270 IT 5.23 - 5.52 /sbin 10.8k - 11.6k
FRITZ!Box 3272 5.50 - 6.88 /sbin 11.6k - 12.0k
FRITZ!Box WLAN 3370 5.01 - 6.55 /sbin 10.8k - 11.9k
FRITZ!Box 3390 5.50 - 6.55 /sbin 11.5k - 11.9k
FRITZ!Box 3490 (main) 6.20 - 7.30 /sbin 11.5k - 14.3k
FRITZ!Box 4020 6.27 - 7.02 /sbin 11.4k - 11.7k
FRITZ!Box 4040 6.50 - 7.39 /sbin 9.7k - 13.4k
FRITZ!Box 4060 7.26 - 7.39 /sbin 13.4k
FRITZ!Box Fon 5113 4.82 - 4.83 /sbin 8.9k
FRITZ!Box Fon 5124 4.67 - 4.77 /sbin 8.8k
VoIP Gateway 5188 4.56 - 4.81 /sbin 8.8k - 10.1k
FRITZ!Box 5490 (main) 6.51 - 7.29 /sbin 11.5k - 14.3k
FRITZ!Box 5491 (main) 7.01 - 7.29 /sbin 11.7k - 14.3k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 /sbin 14.1k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.39 /sbin 13.4k
FRITZ!Box 6320 Cable v1 6.03 - 6.04 /sbin 9.7k
FRITZ!Box 6320 Cable v2 6.21 /sbin 9.7k
FRITZ!Box 6340 Cable 5.24 /sbin 8.4k
FRITZ!Box 6360 Cable 4.85 - 6.51 /sbin 8.2k - 9.7k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.29 /sbin 9.6k - 13.3k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /sbin 9.6k - 13.3k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.39 /sbin 9.6k - 13.3k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.39 /sbin 9.6k - 13.3k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.39 /sbin 9.6k - 13.3k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.39 /sbin 9.6k - 13.3k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /sbin 10.0k - 17.5k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /sbin 10.0k - 17.5k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /sbin 13.4k - 17.5k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /sbin 13.4k - 17.5k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /sbin 13.4k - 17.5k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /sbin 13.4k - 17.5k
FRITZ!Box 6810 LTE 5.27 - 6.34 /sbin 11.4k - 11.9k
FRITZ!Box 6820 LTE v1 6.40 - 7.29 /sbin 11.6k - 14.3k
FRITZ!Box 6820 LTE v2 6.40 - 7.29 /sbin 11.6k - 14.3k
FRITZ!Box 6820 LTE v3 7.19 - 7.29 /sbin 14.3k
FRITZ!Box 6840 LTE 5.07 - 6.87 /sbin 10.8k - 11.9k
FRITZ!Box 6842 LTE 6.01 - 6.34 /sbin 11.6k - 11.9k
FRITZ!Box 6850 LTE 7.21 - 7.39 /sbin 13.4k - 14.1k
FRITZ!Box 6850 5G 7.24 - 7.39 /sbin 13.4k
FRITZ!Box 6890 LTE 6.84 - 7.39 /sbin 11.5k - 14.2k
FRITZ!Box 6890 LTE v1 6.84 - 7.39 /sbin 11.5k - 14.2k
FRITZ!Box 6890 LTE v2 6.84 - 7.39 /sbin 11.5k - 14.2k
FRITZ!Box Fon WLAN 7112 4.76 - 4.88 /sbin 8.8k - 8.9k
FRITZ!Box Fon WLAN 7113 4.57 - 4.86 /sbin 8.9k - 10.1k
FRITZ!Box Fon WLAN 7113 DE 4.57 - 4.77 /sbin 10.1k
FRITZ!Box Fon WLAN 7113 INT 4.82 - 4.86 /sbin 8.9k
FRITZ!Box Fon WLAN 7140 4.56 - 4.77 /sbin 8.8k - 10.1k
FRITZ!Box Fon WLAN 7141 4.57 - 4.77 /sbin 8.8k - 10.1k
FRITZ!Fon 7150 4.56 - 4.77 /sbin 8.8k - 10.1k
FRITZ!Box Fon WLAN 7170 4.38 - 4.99 /sbin 8.8k - 10.1k
FRITZ!Box Fon WLAN 7170 v1 4.38 - 4.99 /sbin 8.8k - 10.1k
FRITZ!Box Fon WLAN 7170 v2 4.38 - 4.99 /sbin 8.8k - 10.1k
FRITZ!Box Fon WLAN 7240 4.65 - 6.06 /sbin 8.8k - 11.6k
FRITZ!Box Fon WLAN 7270 v1 4.55 - 4.99 /sbin 8.8k - 10.9k
FRITZ!Box Fon WLAN 7270 v2 4.63 - 6.06 /sbin 8.8k - 11.6k
FRITZ!Box Fon WLAN 7270 v3 4.70 - 6.06 /sbin 8.8k - 11.6k
FRITZ!Box 7272 5.55 - 6.88 /sbin 11.6k - 12.0k
FRITZ!Box 7312 5.23 - 6.55 /sbin 10.8k - 12.0k
FRITZ!Box Fon WLAN 7320 4.85 - 6.34 /sbin 10.8k - 11.9k
FRITZ!Box 7330 5.06 - 6.55 /sbin 10.8k - 12.0k
FRITZ!Box 7330 SL 5.08 - 6.55 /sbin 10.8k - 12.0k
FRITZ!Box Fon WLAN 7340 4.83 - 6.06 /sbin 8.8k - 11.9k
FRITZ!Box Fon WLAN 7360 SL 5.04 - 6.34 /sbin 10.8k - 11.9k
FRITZ!Box Fon WLAN 7360 v1 5.06 - 6.35 /sbin 10.8k - 11.9k
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.87 /sbin 10.8k - 11.9k
FRITZ!Box 7362 SL 5.53 - 7.13 /sbin 11.5k - 14.2k
FRITZ!Box 7369 6.30 - 6.32 /sbin 11.9k
FRITZ!Box Fon WLAN 7390 4.81 - 6.87 /sbin 8.8k - 12.0k
FRITZ!Box 7412 6.21 - 6.87 /sbin 11.5k - 11.9k
FRITZ!Box 7430 6.26 - 7.29 /sbin 11.5k - 14.3k
FRITZ!Box 7490 (main) 5.57 - 7.51 /sbin 11.5k - 14.3k
FRITZ!Box 7510 7.30 - 7.39 /sbin 13.4k
FRITZ!Box 7520 6.98 - 7.50 /sbin 9.7k - 13.4k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.50 /sbin 13.4k
FRITZ!Box 7530 6.93 - 7.51 /sbin 9.7k - 13.4k
FRITZ!Box 7530 AX 7.20 - 7.39 /sbin 13.6k
FRITZ!Box 7560 6.51 - 7.29 /sbin 11.5k - 14.2k
FRITZ!Box Fon WLAN 7570 vDSL 4.70 - 4.94 /sbin 8.8k - 10.9k
FRITZ!Box 7580 6.51 - 7.29 /sbin 11.5k - 14.2k
FRITZ!Box 7581 6.54 - 7.16 /sbin 8.7k - 13.6k
FRITZ!Box 7582 6.83 - 7.16 /sbin 8.7k - 13.6k
FRITZ!Box 7583 7.01 - 7.31 /sbin 11.7k - 14.2k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 14.1k
FRITZ!Box 7590 6.83 - 7.51 /sbin 11.5k - 14.2k
FRITZ!Box 7590 AX 7.19 - 7.39 /sbin 14.1k
FRITZ!WLAN Repeater N/G 4.65 - 4.88 /sbin 8.8k - 11.0k
FRITZ!WLAN Repeater 300E 6.10 - 6.33 /sbin 11.9k
FRITZ!WLAN Repeater 310 A 6.10 - 7.15 /sbin 11.6k - 14.2k
FRITZ!WLAN Repeater 310 B 6.30 - 7.15 /sbin 11.4k - 14.2k
FRITZ!WLAN Repeater 450E 6.10 - 7.14 /sbin 11.7k - 14.2k
FRITZ!Repeater 600 7.11 - 7.29 /sbin 14.2k - 14.3k
FRITZ!Repeater 600 v2 7.19 - 7.30 /sbin 14.3k
FRITZ!WLAN Repeater 1160 6.51 - 7.14 /sbin 11.5k - 14.2k
FRITZ!Repeater 1200 7.11 - 7.29 /sbin 13.4k
FRITZ!Repeater 1200 AX 7.27 - 7.39 /sbin 13.4k
FRITZ!WLAN Repeater 1750E 6.12 - 7.30 /sbin 11.7k - 14.3k
FRITZ!Repeater 2400 7.12 - 7.50 /sbin 14.2k - 14.3k
FRITZ!Repeater 3000 6.98 - 7.39 /sbin 9.7k - 13.4k
FRITZ!Repeater 3000 AX 7.39 - 7.41 /sbin 13.4k
FRITZ!Repeater 6000 7.19 - 7.39 /sbin 13.4k
FRITZ!WLAN Repeater DVB-C 6.12 - 7.02 /sbin 11.7k - 12.0k
FRITZ!Powerline 540E 6.20 - 7.14 /sbin 11.6k - 14.2k
FRITZ!Powerline 546E 6.20 - 7.10 /sbin 11.6k - 14.2k
FRITZ!Powerline 1240E 6.33 - 7.14 /sbin 11.5k - 14.2k
FRITZ!Powerline 1260E 6.90 - 7.29 /sbin 9.7k - 13.4k
FRITZ!Powerline 1260 7.08 - 7.29 /sbin 13.4k
FRITZ!Smart Gateway 7.39 - 7.51 /sbin 13.4k
congstar DSL-Box 4.56 - 4.81 /sbin 8.8k - 10.1k
congstar komplett Box 4.68 - 4.81 /sbin 8.8k - 8.9k
Speedport W 503V 4.68 - 4.81 /sbin 8.8k - 8.9k
Speedport W 503V MK 4.79 /sbin 8.8k
Speedport W 701V 4.56 - 4.81 /sbin 8.8k - 10.1k
Speedport W 721V 4.74 - 4.75 /sbin 8.8k
Speedport W 722V 4.76 - 4.79 /sbin 8.8k
Speedport W 900V 4.57 /sbin 10.1k
Speedport W 920V 4.78 - 4.79 /sbin 8.8k
Speedport W 101 Bridge 4.68 /sbin 8.8k
Alice IAD WLAN 3331 4.90 /sbin 8.8k
Alice IAD 7570 vDSL 4.86 - 5.09 /sbin 8.8k
121 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-02-02 07:26 GMT.

Firmware Symbol
4.38 - 7.51 main
4.80 - 4.94 showip6addr
4.38 - 5.09 showipaddr
4.38 - 5.09 showroute
4.80 - 4.94 showroute6
5 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.