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

From BoxMatrix


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

AVM-Command

Goto:   Script  -  Executable  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

This is an "in-section" name collision covering 2 completely different files:   -   (this will be splitted one day)

Script

showextswitch is a supportdata helper showing infos about the extswitch.
It is called by supportdata and supportdata_argo.nw.

Simplified it does:

cli system/extswitch/getSwitchDevices

cli system/extswitch/getPortStats 0 0            # CPU
cli system/extswitch/getPortStats 0 1            # eth0
cli system/extswitch/getPortStats 0 2            # eth1
cli system/extswitch/getPortStats 0 4            # eth2
cli system/extswitch/getPortStats 0 3            # eth3

cli system/extswitch/getMacTable 0

Sample output from 6690 fw 7.29 supportdata:

##### BEGIN SECTION switch extswitch
Extswitch Configuration:
============

| Switch Idx: 0 |------------ Config valid: 1 BSD valid: 1 Capabilities valid: 1 --------------| Version |-------------- FW Version: 5.72 Release (0x8548) ------------| Capabilities |----------- Capabilities flag: EEE PORT_MIRRORING Max MACs in forwarding table: 2048 Number of ports: 6 Ports: Port idx: 0 Has Phy: FALSE Phy Modes: NA Port idx: 1 Has Phy: TRUE Phy Modes: 1000_BT_FD 1000_BT_HD 100_BTX_FD 100_BTX_HD 10_BT_FD 10_BT_HD Port idx: 2 Has Phy: TRUE Phy Modes: 1000_BT_FD 1000_BT_HD 100_BTX_FD 100_BTX_HD 10_BT_FD 10_BT_HD Port idx: 3 Has Phy: TRUE Phy Modes: 1000_BT_FD 1000_BT_HD 100_BTX_FD 100_BTX_HD 10_BT_FD 10_BT_HD Port idx: 4 Has Phy: TRUE Phy Modes: 1000_BT_FD 1000_BT_HD 100_BTX_FD 100_BTX_HD 10_BT_FD 10_BT_HD Port idx: 5 Has Phy: FALSE Phy Modes: NA ------------| Configuration |---------- Switch HW state: ENABLED Port learning: FALSE Provider Bridged Mode: TRUE Service Vlan Tag Tpid: 0x8100 Lan port Vlans: Port idx: 1, Vlan Id: 1, PCP: 0 Group: -1 GroupIsLocked Port idx: 2, Vlan Id: 400, PCP: 0 Group: -1 GroupIsLocked Port idx: 3, Vlan Id: 500, PCP: 0 Group: -1 GroupIsLocked Port idx: 4, Vlan Id: 600, PCP: 0 Group: -1 GroupIsLocked Port idx: 5, Vlan Id: 1, PCP: 0 Group: -1 GroupIsLocked Enabled ports mask: 0xff RGMII delay enabled ports mask: 0x0 IGMP/MLD snooping enabled: FALSE EEE enabled ports mask: 0x1e DVT mode ports mask: 0x0 MTU size: 2000 Phy ports provisioned settings: Port idx: 1, EEE: AUTONEG, Link speed: AUTONEG, Full duplex: TRUE Port idx: 2, EEE: AUTONEG, Link speed: AUTONEG, Full duplex: TRUE Port idx: 3, EEE: AUTONEG, Link speed: AUTONEG, Full duplex: TRUE Port idx: 4, EEE: AUTONEG, Link speed: AUTONEG, Full duplex: TRUE Ports link status: Port idx: 1, Link detected: NO, EEE: NA, Link speed: NA, Full duplex: NA Port idx: 2, Link detected: YES, EEE: NO, Link speed: 100 Mbs, Full duplex: YES Port idx: 3, Link detected: YES, EEE: NO, Link speed: 100 Mbs, Full duplex: YES Port idx: 4, Link detected: NO, EEE: NA, Link speed: NA, Full duplex: NA Port idx: 5, Link detected: NO, EEE: NA, Link speed: NA, Full duplex: NA Port mirroring configuration: Src port idx: 0, Dst port idx: 255 Src port idx: 1, Dst port idx: 255 Src port idx: 2, Dst port idx: 255 Src port idx: 3, Dst port idx: 255 Src port idx: 4, Dst port idx: 255 Src port idx: 5, Dst port idx: 255 MAC table aging: 5 min ----------------| BSD |---------------- Gmac Idx: 1 Hw enable gpio pin: 17 Hw reset gpio pin: 19 MDIO bus: 1 MDIO address: 31 Internal port pidx: 4 Internal port mode: HSGMII Internal port speed: 2.5Gbs HAL implementation library: libextswitch_lantiq.so Extswitch Port 0 (CPU):
============
Good packets received: 20710874 Bad packets received: 0 Unicast packets received: 13356071 Multicast packets received: 5321005 Broadcast packets received: 2033798 Packets transmitted: 4373633 Unicast packets transmitted: 3930842 Multicast packets transmitted: 361163 Broadcast packets transmitted: 81628 Collisions: 0 OctectsIn: 19726854414 OctectsOut: 616456092 TxAcmDroppedPkts: 0 Extswitch Port 1 (eth0):
============
Good packets received: 0 Bad packets received: 0 Unicast packets received: 0 Multicast packets received: 0 Broadcast packets received: 0 Packets transmitted: 0 Unicast packets transmitted: 0 Multicast packets transmitted: 0 Broadcast packets transmitted: 0 Collisions: 0 OctectsIn: 0 OctectsOut: 0 TxAcmDroppedPkts: 0 Extswitch Port 2 (eth1):
============
Good packets received: 2905458 Bad packets received: 0 Unicast packets received: 2890655 Multicast packets received: 7317 Broadcast packets received: 7486 Packets transmitted: 14178121 Unicast packets transmitted: 11586238 Multicast packets transmitted: 1894227 Broadcast packets transmitted: 697656 Collisions: 0 OctectsIn: 273177441 OctectsOut: 17614828561 TxAcmDroppedPkts: 0 Extswitch Port 4 (eth2):
============
Good packets received: 0 Bad packets received: 0 Unicast packets received: 0 Multicast packets received: 0 Broadcast packets received: 0 Packets transmitted: 0 Unicast packets transmitted: 0 Multicast packets transmitted: 0 Broadcast packets transmitted: 0 Collisions: 0 OctectsIn: 0 OctectsOut: 0 TxAcmDroppedPkts: 0 Extswitch Port 3 (eth3):
============
Good packets received: 1468175 Bad packets received: 254 Unicast packets received: 1040187 Multicast packets received: 353846 Broadcast packets received: 74142 Packets transmitted: 3518826 Unicast packets transmitted: 1476092 Multicast packets transmitted: 1448899 Broadcast packets transmitted: 593835 Collisions: 0 OctectsIn: 325784119 OctectsOut: 1207986897 TxAcmDroppedPkts: 0 Extswitch MacTable:
=======
MAC Table is dumped. Total entries: 0

Executable

todo

Background: Up to 6490 fw 6.66 FRITZ!OS was nearly completely running on ARM, like in ARM-only 63xx Puma5 models.
The ATOM Intel added was nearly unused. Early Intel Puma6 SDK named it an application processor and did not use it at all.
Later AVM ported FRITZ!OS completely to ATOM, the ARM core is only used for the DOCSIS modem since then.

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 1 6.20 - 6.64 Standard C library Linux
Depends on lib libdl.so 1 6.20 - 6.64 Dynamic linking library Linux
Depends on lib libticc.so 1 6.20 - 6.64 Puma5 / Puma6 / Puma7 core communication API Puma
3 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-14 05:49 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 6490 Cable (arm) 6.20 - 6.64 /usr/sbin 4.0k - 4.6k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.08 /usr/sbin 562
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 /usr/sbin 562 - 828
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /usr/sbin 562 - 828
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /usr/sbin 828
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /usr/sbin 826 - 828
6 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.
 

Synonyms

Showing 1 related property.

s