aboutsummaryrefslogtreecommitdiffstats
path: root/include/shell.sh
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-05-14 11:00:58 +0800
committerFelix Fietkau <nbd@nbd.name>2020-06-04 22:21:42 +0200
commitd56d05f01f03f9cc2afa7d91a2033f2288a51f9c (patch)
tree7c392b2f30cc94122aa7d6709d90e1ff5076d05c /include/shell.sh
parent81b59efefd4c88187a519d09129c97e63900731e (diff)
downloadupstream-d56d05f01f03f9cc2afa7d91a2033f2288a51f9c.tar.gz
upstream-d56d05f01f03f9cc2afa7d91a2033f2288a51f9c.tar.bz2
upstream-d56d05f01f03f9cc2afa7d91a2033f2288a51f9c.zip
generic: mt7530: set CPU port to fallback mode
Currently, setting a bridge's self PVID to other value and deleting the default VID 1 renders untagged ports of that VLAN unable to talk to the CPU port: bridge vlan add dev br0 vid 2 pvid untagged self bridge vlan del dev br0 vid 1 self bridge vlan add dev sw0p0 vid 2 pvid untagged bridge vlan del dev sw0p0 vid 1 # br0 cannot send untagged frames out of sw0p0 anymore That is because the CPU port is set to security mode and its PVID is still 1, and untagged frames are dropped due to VLAN member violation. Set the CPU port to fallback mode so untagged frames can pass through. Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'include/shell.sh')
0 files changed, 0 insertions, 0 deletions