问题描述
sdx62 sdk默认brctl是busybox的精简版指令,默认不支持brctl showmacs bridge0
~ # brctl
BusyBox v1.31.1 (2022-03-17 08:18:14 UTC) multi-call binary.
Usage: brctl COMMAND [BRIDGE [ARGS]]
Manage ethernet bridges
Commands:
show [BRIDGE]... Show bridges
addbr BRIDGE Create BRIDGE
delbr BRIDGE Delete BRIDGE
addif BRIDGE IFACE Add IFACE to BRIDGE
delif BRIDGE IFACE Delete IFACE from BRIDGE
stp BRIDGE 1/yes/on|0/no/off STP on/off
setageing BRIDGE SECONDS Set ageing time
setfd BRIDGE SECONDS Set bridge forward delay
sethello BRIDGE SECONDS Set hello time
setmaxage BRIDGE SECONDS Set max message age
setbridgeprio BRIDGE PRIO Set bridge priority
setportprio BRIDGE IFACE PRIO Set port priority
setpathcost BRIDGE IFACE COST Set path cost
~ # brctl showmacs bridge
brctl: invalid argument