华为6505配置:
1. 组网需求
Lanswitch1通过接口Vlan-interface 10连接到Multicast Source(组播源);通过接口Vlan-interface 11连接到Lanswitch2;通过接口Vlan-interface 12连接到Lanswitch3。通过运行PIM-DM,在RECEIVER 1、RECEIVER 2与Multicast Source间实现组播。
2. 组网图
3. 配置步骤
只列出Lanswitch1的配置步骤,Lanswitch2、Lanswitch3类同。
# 启动组播路由协议。
system-view
[H3C] multicast routing-enable
# 在接口上启动IGMP和PIM-DM协议。
[H3C] vlan 10
[H3C-vlan10] port Ethernet 1/0/2 to Ethernet 1/0/3
[H3C-vlan10] quit
[H3C] vlan 11
[H3C-vlan11] port Ethernet 1/0/4 to Ethernet 1/0/5
[H3C-vlan11] quit
[H3C] vlan 12
[H3C-vlan12] port Ethernet 1/0/6 to Ethernet 1/0/7
[H3C-vlan12] quit
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] ip address 1.1.1.1 255.255.0.0
[H3C-Vlan-interface10] igmp enable
[H3C-Vlan-interface10] pim dm
[H3C-Vlan-interface10] quit
[H3C] interface Vlan-interface 11
[H3C-Vlan-interface11] ip address 2.2.2.2 255.255.0.0
[H3C-Vlan-interface11] pim dm
[H3C-Vlan-interface11] quit
[H3C] interface Vlan-interface 12
[H3C-Vlan-interface12] ip address 3.3.3.3 255.255.0.0
[H3C-Vlan-interface12] pim dm
华为supprot网站上有资料和示例:
http://support.huawei.com/support/pages/kbcenter/view/product.do?actionFlag=detailProductSimple&web_doc_id=SC0000411369&doc_type=ProductManual&doc_type=ProductManual/support/pages/kbcenter/view/product.do?actionFlag=detailProductSimple&web_doc_id=SC0000411369&doc_type=ProductManual