[MCU] 用88E6176使能802.1Q

[复制链接]
 楼主| zlovey2127 发表于 2015-8-18 09:45 | 显示全部楼层 |阅读模式
用88E6176使能802.1Q之后怎么操作寄存器才能划分vlan啊,求详细步骤。就是端口加不进vlan表,搞了好多天了都没有搞出来好烦啊!求高手帮忙。
 楼主| zlovey2127 发表于 2015-8-18 14:14 | 显示全部楼层
有人吗?
 楼主| zlovey2127 发表于 2015-8-18 14:16 | 显示全部楼层
1) to clear VLAN ID Table,
2) to enable 802.1Q in SECURE mode for each port except CPU port,
3) to enable 802.1Q in FALL BACK mode for the CPU port.
4) to add VLAN ID 1 with member port 0 and CPU port
(untagged egress),
5) to add VLAN ID 2 with member the rest of the ports and CPU port
(untagged egress),
6) to configure the default vid of each port:
Port 0 have PVID 1, CPU port has PVID 3, and the rest ports have PVID 2.
Note: CPU port's PVID should be unknown VID, so that QuarterDeck can use VlanTable (header info) for TX.

是不是要激活802.1Q才能正常通信呢?
 楼主| zlovey2127 发表于 2015-8-18 14:26 | 显示全部楼层
顶。。。。88E6176芯片802.1Q
dirtwillfly 发表于 2015-8-18 14:28 | 显示全部楼层
这个mcu太小众,估计很少有用的。建议咨询厂家
 楼主| zlovey2127 发表于 2015-8-19 09:38 | 显示全部楼层
dirtwillfly 发表于 2015-8-18 14:28
这个mcu太小众,估计很少有用的。建议咨询厂家

哦,这样啊!好吧
 楼主| zlovey2127 发表于 2015-9-10 15:32 | 显示全部楼层
应该会有人用的吧?那么大的论坛怎么可能没人会啊?不科学啊
搁浅live 发表于 2018-4-2 21:52 来自手机 | 显示全部楼层
您好,6176划分VLAN搞定了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3

主题

31

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部