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
要在Cisco和H3C交换机配置链路聚合就只能通过LACP协议来进行了,且两端交换机都必须都支持LACP协议。在Cisco交换机这边不能采用思科专用的PAgP协议来配置链路聚合了。