The test center sends frames without vlan tag to LS1028A’s swp0 port. And I want get frames with VID=2, PCP=3 on swp1. How can I achieve this by setting register?
The following is my configurations, but it doesn’t work.
Set swp1 output with tag.
devmem 0x1fc030084 w 0x95
Set swp0 pvid with PCP=3, VID=2.
devmem 0x1fc287800 w 0x103002
Set swp0 and swp1 allow VLAN2.
devmem 0x1fc287f38 w 0x2
devmem 0x1fc287f34 w 0xe
Solved! Go to Solution.
Set swp1 output with tag.
devmem 0x1fc030084 w 0x180
Set swp0 pvid with PCP=3, VID=2.
devmem 0x1fc287800 w 0x143002
Set swp0 and swp1 allow VLAN2.
devmem 0x1fc287f38 w 0x2
devmem 0x1fc287f34 w 0xe
Set swp1 output with tag.
devmem 0x1fc030084 w 0x180
Set swp0 pvid with PCP=3, VID=2.
devmem 0x1fc287800 w 0x143002
Set swp0 and swp1 allow VLAN2.
devmem 0x1fc287f38 w 0x2
devmem 0x1fc287f34 w 0xe