LS1028A Felix Switch VLAN configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1028A Felix Switch VLAN configuration

跳至解决方案
927 次查看
ainolike
Contributor III

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

0 项奖励
回复
1 解答
914 次查看
ainolike
Contributor III

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
915 次查看
ainolike
Contributor III

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

0 项奖励
回复