找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6959|回复: 4

请教vlan1ports="0 5*"和“0 5u”的区别

[复制链接]
发表于 2010-4-19 18:35 | 显示全部楼层 |阅读模式
请教vlan1ports="0 5*"和“0 5u”的区别
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-4-19 19:11 | 显示全部楼层
后面的是错误的,呵呵估计是修改者输入错误
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2010-4-19 20:29 | 显示全部楼层
In the ports line, a number indicates that the specified vlan includes the port with that number. If the number is followed by a "t" or "*" then packets going out on that port are tagged. 5 is generally the CPU or 'internal' port. If they number is followed by a "u" or not followed by anything the tag (e.g. vlan1) is removed when the packet goes out from that port. "*" also means that this vlan is the default vlan, so that a packet which is not tagged will be associated with this vlan.

So, '0 1 2 3 5*' would mean that a packet coming in port 0, 1, 2, 3, or 5 would be tagged when going to the internal interface (e.g. into the CPU) and untagged leaving ports 0, 1, 2, or 3, and that untagged packets are treated as belonging to this vlan.
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2010-4-19 20:33 | 显示全部楼层
带U的那不是NW618的CFE吗
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2011-1-22 22:38 | 显示全部楼层
楼上的英文是最权威的解释了,受教了,简单翻译了一下,只是意译:
简单说就是带*号的端口当数据包从该端口发出时会被打上标记,不带*的端口数据包流出时不打标记。带*号也表示该vlan是默认vlan,属于该vlan的数据包将不带标记。而带u或没有任何符号的数字表示数据包流出该端口时将去掉所带的标记。
因此,'0 1 2 3 5*'表示数据包通过0,1,2,3,5端口流入内部接口如CPU时将会打上标记,流出0,1,2,3端口时将去掉标记,未带标记的数据包被认为是属于该vlan的数据包。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-10-1 01:54

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表