OpenWrt swconfig

swconfig 是OpenWrt用来配置交换机的命令。

swconfig list 现实系统交换机。

swconfig dev <switch0/eth1> show现实当前端口配置。

 

http://wiki.openwrt.org/zh-cn/doc/uci/network/switch