华为设备配置可控组播(华为组播配置命令)

网友投稿 520 2022-09-17


华为设备配置可控组播(华为组播配置命令)

1. 配置用户VLAN,并将接口加入用户VLAN

[LSW1]vlan batch 10 20 30 40

[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 20

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

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

[LSW1-GigabitEthernet0/0/4]port hybrid untagged vlan 30

[LSW1-GigabitEthernet0/0/4]port hybrid pvid vlan 30

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

[LSW1-GigabitEthernet0/0/5]port hybrid pvid vlan 40

[LSW1-GigabitEthernet0/0/5]port hybrid untagged vlan 40

2. 配置IGMP Snooping

[LSW1]vlan 10

[LSW1-vlan10]igmp-snooping enable

[LSW1-vlan10]vlan 20

[LSW1-vlan20]igmp-snooping enable

[LSW1-vlan20]vlan 30

[LSW1-vlan30]igmp-snooping enable

[LSW1-vlan30]vlan 40

[LSW1-vlan40]igmp-snooping enable

3. 配置可控组播组

[LSW1]btv

[LSW1-btv]multicast-group a1 ip-address 225.1.1.1

[LSW1-btv]multicast-group a2 ip-address 225.1.1.2

[LSW1-btv]multicast-group a3 ip-address 225.1.1.3

[LSW1-btv]multicast-group a4 ip-address 225.1.1.4

4. 配置可控组播列表

[LSW1-btv]multicast-list b1

[LSW1-btv-list-b1]add multicast-group name a1

[LSW1-btv-list-b1]add multicast-group name a2

[LSW1-btv]multicast-list b2

[LSW1-btv-list-b2]add multicast-group name a3

[LSW1-btv-list-b2]add multicast-group name a4

5. 配置可控组播模板

[LSW1-btv]multicast-profile c1

[LSW1-btv-profile-c1]add multicast-list name b1 watch

[LSW1-btv-profile-c1]multicast-profile c2

[LSW1-btv-profile-c2]add multicast-list name b2 watch

[LSW1-btv-profile-c2]add multicast-list name b1 watch

6. 应用组播模板

[LSW1]vlan 10

[LSW1-vlan10]attach multicast-profile c1

[LSW1-vlan10]vlan 20

[LSW1-vlan20]attach multicast-profile c1

[LSW1-vlan20]vlan 30

[LSW1-vlan30]attach multicast-profile c2

[LSW1-vlan30]vlan 40

[LSW1-vlan40]attach multicast-profile c2

7. 验证配置


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

上一篇:NSSA+汇总路由+重分发
下一篇:Java中的abstract和interface
相关文章

 发表评论

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