diff options
author | Luka Perkov <luka@openwrt.org> | 2013-05-24 13:10:22 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-05-24 13:10:22 +0000 |
commit | 0998065a53d15da095e8af2396afe9766a9bfd31 (patch) | |
tree | 4dd9a76ada9c8443675d1772cc32efaa35fc5251 /target/linux/orion | |
parent | 90887b5fb38d01b0815b851adb8110114be2187a (diff) | |
download | mtk-20170518-0998065a53d15da095e8af2396afe9766a9bfd31.zip mtk-20170518-0998065a53d15da095e8af2396afe9766a9bfd31.tar.gz mtk-20170518-0998065a53d15da095e8af2396afe9766a9bfd31.tar.bz2 |
generic: ar8216: add port mirroring
Tested on Buffalo WZR-600DHP with ar8316 switch. Commands used to mirror both
RX and TX traffic from LAN port 1 to LAN port 4:
$ swconfig dev switch0 set enable_mirror_rx 1
$ swconfig dev switch0 set enable_mirror_tx 1
$ swconfig dev switch0 set mirror_monitor_port 4
$ swconfig dev switch0 set mirror_source_port 1
Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Tested-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 36713
Diffstat (limited to 'target/linux/orion')
0 files changed, 0 insertions, 0 deletions