- 1、本文档共6页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
华为Hybridvlan的原理和配置,华为hybrid配置,华为交换机vlan配置,华为vlan配置,华为vlan配置命令,华为s5700配置vlan,华为supervlan配置,华为s2300vlan配置,华为vlan配置实例,华为路由器vlan配置
华为Hybrid-vlan的原理和配置
2.???实验需求:
1:PC1和PC3属于VLAN10 2:PC2和PC4属于VLAN20 3:PC5和PC6属于VLAN30
4:VLAN10和20的成员都可以和VLAN30中 PC5通信,但是VLAN10和VLAN20的成
员之间不能通信
一:SW1,SW2上分别创建vlan 10 20 30
[Huawei]sysname sw1
[sw1]vlan batch 10 20 30
[Huawei]sysname sw2
[sw2]vlan batch 10 20 30
二:在SW1,SW2上交端口加入到相应的VLAN中
1:port hybrid pvid vlan 10 :通过hybrid 命令将端口加入到相应的vlan
2:Untagged代表access口,tagged代表trunk口
[sw1]interface Ethernet0/0/2
[sw1hernet0/0/2]undo shutdown
[sw1-Ethernet0/0/2]port hybrid pvid vlan 10
[sw1-Ethernet0/0/2]port hybrid untagged vlan 10
[sw1]interface Ethernet0/0/3
[sw1-Ethernet0/0/2]undo shutdown
[sw1-Ethernet0/0/3]port hybrid pvid vlan 20
[sw1-Ethernet0/0/3]port hybrid untagged vlan 20
[sw1-Ethernet0/0/2]undo shutdown
[sw2]interface Ethernet0/0/2
[sw2-Ethernet0/0/2]undo shutdown
[sw2-Ethernet0/0/2]port hybrid pvid vlan 10
[sw2-Ethernet0/0/2]port hybrid untagged vlan 10
[sw2]interface Ethernet0/0/3
[sw2-Ethernet0/0/2]undo shutdown
[sw2-Ethernet0/0/3]port hybrid pvid vlan 20
[sw2-Ethernet0/0/3]port hybrid untagged vlan 20
[sw2-Ethernet0/0/2]undo shutdown
[sw1]display vlan [sw2]display vlan
三:在SW1,SW2上交端口Ethernet0/0/1配置成为中继端口:
[swi1-Ethernet0/0/1]port hybrid tagged vlan 10 20 30 //一定要允许30通过
[swi1-Ethernet0/0/1]quit
[sw2-Ethernet0/0/1]port hybrid tagged vlan 10 20 30
[sw2-Ethernet0/0/1]quit
[sw1]display vlan [sw2]display vlan
四:VLAN10和20的成员都可以和VLAN30中的PC5通信,但是VLAN10和VLAN20的成员之间不能通信。
需要有的思路时,需要通信的VLAN之间要在接入端口放行对方的VLAN
[sw1]interface Ethernet0/0/2
[sw1-Ethernet0/0/2]port hybrid untagged vlan 30
[sw1-Ethernet0/0/2]quit
[sw1]interface Ethernet0/0/3
[sw1-Ethernet0/0/3]port hybrid untagged vlan 30
[sw1-Ethernet0/0/3]quit
[sw2]interface Ethernet0/0/2
[sw2-Ethernet0/0/2]port hybrid untagged vlan 30
[sw2-Ethernet0/0/2]quit
[sw2]interface Ethernet0/0/3
[sw2-Ethernet0/0/3]port hybrid untagged vlan 30
[sw2-Ethernet0/0/3]quit
四:配置SW2上配置VLAN30成员
[sw2]interface Ethernet0/0/4
[sw2-Ethernet0/0/4]port hybrid pvid vlan 30
[sw2-Ethernet0/0/4]port hybrid untagged vlan 30
[sw2-Ethernet0/0/4
您可能关注的文档
- 八年级英语周末试卷.doc
- 八年级英语上册 Unit 8 《Why don’t you get her a scarf》单元测试 鲁教版.doc
- 八年级英语下册暑假练习题3.doc
- 八年级英语第三次月考题.doc
- 八年级英语4月阶段性学情反馈试题.doc
- 八年级英语Unit 6英语测试题.doc
- 八角茴香油的抗菌作用.doc
- 公司金融双语期末复习资料.doc
- 六级模拟试题2.doc
- 关与0910美国数学建模大赛参赛经验.doc
- 2025年中国家电包装胶袋行业市场调查、投资前景及策略咨询报告.docx
- 2025年中国九工位钢带数控进给压力机行业市场调查、投资前景及策略咨询报告.docx
- 2025至2030年中国单色锦纶绳市场现状分析及前景预测报告.docx
- 2025年中国万向火花塞套筒行业市场调查、投资前景及策略咨询报告.docx
- 2025年中国钢制柱翼散热器行业市场调查、投资前景及策略咨询报告.docx
- 2025年中国腊猪腿肉行业市场调查、投资前景及策略咨询报告.docx
- 2025至2030年中国不锈钢纸巾环市场现状分析及前景预测报告.docx
- 2025至2030年中国电信产品市场现状分析及前景预测报告.docx
- 2025年中国数字测速仪行业市场调查、投资前景及策略咨询报告.docx
- 健康运动与心理状态主题班会PPT课件.pptx
文档评论(0)