LS1028A Felix Switch VLAN configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028A Felix Switch VLAN configuration

Jump to solution
926 Views
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 Kudos
Reply
1 Solution
913 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
914 Views
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 Kudos
Reply