华为设备配置基于VLAN的IGMP Snooping查询器(华为配置管理vlan)

网友投稿 455 2022-09-17


华为设备配置基于VLAN的IGMP Snooping查询器(华为配置管理vlan)

1. 创建VLAN并将接口加入VLAN

[LSW1]vlan batch 10

[LSW1-GigabitEthernet0/0/1]port link-type hybrid

[LSW1-GigabitEthernet0/0/1]port hybrid untagged vlan 10

[LSW1-GigabitEthernet0/0/1]port hybrid pvid vlan 10

[LSW1-GigabitEthernet0/0/2]port link-type hybrid

[LSW1-GigabitEthernet0/0/2]port hybrid untagged vlan 10

[LSW1-GigabitEthernet0/0/2]port hybrid pvid vlan 10

[LSW1-GigabitEthernet0/0/3]port link-type hybrid

[LSW1-GigabitEthernet0/0/3]port hybrid pvid vlan 10

[LSW1-GigabitEthernet0/0/3]port hybrid untagged vlan 10

[LSW2]vlan batch 10

[LSW2-GigabitEthernet0/0/1]port link-type hybrid

[LSW2-GigabitEthernet0/0/1]port hybrid untagged vlan 10

[LSW2-GigabitEthernet0/0/1]port hybrid pvid vlan 10

[LSW2-GigabitEthernet0/0/2]port link-type hybrid

[LSW2-GigabitEthernet0/0/2]port hybrid pvid vlan 10

[LSW2-GigabitEthernet0/0/2]port hybrid untagged vlan 10

[LSW2-GigabitEthernet0/0/3]port link-type hybrid

[LSW2-GigabitEthernet0/0/3]port hybrid untagged vlan 10

[LSW2-GigabitEthernet0/0/3]port hybrid pvid vlan 10

[LSW3]vlan batch 10

[LSW3-GigabitEthernet0/0/1]port link-type hybrid

[LSW3-GigabitEthernet0/0/1]port hybrid untagged vlan 10

[LSW3-GigabitEthernet0/0/1]port hybrid pvid vlan 10

[LSW3-GigabitEthernet0/0/2]port link-type hybrid

[LSW3-GigabitEthernet0/0/2]port hybrid pvid vlan 10

[LSW3-GigabitEthernet0/0/2]port hybrid untagged vlan 10

[LSW3-GigabitEthernet0/0/4]port link-type hybrid

[LSW3-GigabitEthernet0/0/4]port hybrid untagged vlan 10

[LSW3-GigabitEthernet0/0/4]port hybrid pvid vlan 10

[LSW4]vlan batch 10

[LSW4-GigabitEthernet0/0/1]port link-type hybrid

[LSW4-GigabitEthernet0/0/1]port hybrid untagged vlan 10

[LSW4-GigabitEthernet0/0/1]port hybrid pvid vlan 10

[LSW4-GigabitEthernet0/0/3]port link-type hybrid

[LSW4-GigabitEthernet0/0/3]port hybrid pvid vlan 10

[LSW4-GigabitEthernet0/0/3]port hybrid untagged vlan 10

2. 使能全局和VLAN的IGMP Snooping功能

[LSW1]igmp-snooping enable

[LSW1]vlan 10

[LSW1-vlan10]igmp-snooping enable

[LSW2]igmp-snooping enable

[LSW2]vlan 10

[LSW2-vlan10]igmp-snooping enable

[LSW3]igmp-snooping enable

[LSW3]vlan 10

[LSW3-vlan10]igmp-snooping enable

[LSW4]igmp-snooping enable

[LSW4]vlan 10

[LSW4-vlan10]igmp-snooping enable

3. 配置LSW1为查询器

[LSW1-vlan10]igmp-snooping querier enable

4. 使能丢弃未知组播报文功能

[LSW1-vlan10]multicast drop-unknown

[LSW2-vlan10]multicast drop-unknown

[LSW3-vlan10]multicast drop-unknown

[LSW4-vlan10]multicast drop-unknown

5. 验证配置


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:华为设备配置基于VLAN的IGMP Snooping Proxy(华为管理vlan配置)
下一篇:H3C irf 双线堆叠(h3c认证网络工程师证书)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~