当前位置:文档之家› S7500交换机PIM-DM组播协议典型配置

S7500交换机PIM-DM组播协议典型配置

S7500交换机PIM-DM组播协议典型配置

一、组网需求:

使用三台S7500交换机S75-A、S75-B、S75-C组网;S75-A连接一台组播源服务器,S75-B、S75-C分别连接客户端A、客户端B,连接端口如下:

S75-A通过e1/0/1端口连接组播源,e1/0/2端口连接S75-B,e1/0/3端口连接S75-C;S75-B通过e1/0/1端口连接客户端A,e1/0/2端口连接S75-A;

S75-C通过e1/0/1端口连接客户端B,e1/0/3端口连接S75-A;

使用OSPF协议发布路由、组播协议使用PIM-DM协议和IGMP协议,视频服务器发送组播地址为225.0.0.1的组播数据,客户端A、B加入该组并用客户端软件接收组播数据。

二、组网图:

三、配置步骤:

1.配置OSPF协议

在S7500交换机的虚接口上启动OSPF路由协议,属于area 0,使用network命令发布路由,确保各交换机OSPF路由表可以正确建立,从客户端A、B可以ping 通组播源服务器地址10.0.2.1/24。

2.启动组播路由协议

[H3C] multicast routing-enable

3.在接口上启动IGMP和PIM-DM协议

S75-A:

[H3C] vlan 2

[H3C-vlan2] port ethernet 1/0/1

[H3C-vlan2] quit

[H3C] vlan 100

[H3C-vlan100] port ethernet 1/0/2

[H3C-vlan100] quit

[H3C] vlan 200

[H3C-vlan200] port ethernet 1/0/3

[H3C-vlan200] quit

[H3C] interface vlan-interface 2

[H3C-vlan-interface2] ip address 10.0.2.254 255.255.255.0 [H3C-vlan-interface2] pim dm

[H3C-vlan-interface2] quit

[H3C] interface vlan-interface 100

[H3C-vlan-interface100] ip address 10.0.100.252 255.255.255.0 [H3C-vlan-interface100] pim dm

[H3C-vlan-interface100] quit

[H3C] interface vlan-interface 200

[H3C-vlan-interface200] ip address 10.0.200.252 255.255.255.0 [H3C-vlan-interface200] pim dm

S75-B:

[H3C] vlan 10

[H3C-vlan10] port ethernet 1/0/1

[H3C-vlan10] quit

[H3C] vlan 100

[H3C-vlan100] port ethernet 1/0/2

[H3C-vlan100] quit

[H3C] interface vlan-interface 10

[H3C-vlan-interface10] ip address 10.0.10.254 255.255.255.0 [H3C-vlan-interface10] pim dm

[H3C-vlan-interface10] quit

[H3C] interface vlan-interface 100

[H3C-vlan-interface100] ip address 10.0.100.253 255.255.255.0 [H3C-vlan-interface100] pim dm

[H3C-vlan-interface100] quit

S75-C:

[H3C] vlan 20

[H3C-vlan20] port ethernet 1/0/1

[H3C-vlan20] quit

[H3C] vlan 200

[H3C-vlan200] port ethernet 1/0/3

[H3C-vlan200] quit

[H3C] interface vlan-interface 20

[H3C-vlan-interface20] ip address 10.0.20.254 255.255.255.0

[H3C-vlan-interface20] pim dm

[H3C-vlan-interface20] quit

[H3C] interface vlan-interface 200

[H3C-vlan-interface200] ip address 10.0.200.253 255.255.255.0

[H3C-vlan-interface200] pim dm

四、配置关键点:

1.二、三层组播可以同时运行在交换机上,但是在同一个VLAN或该

VLAN对应的虚接口上是不能同时运行二层和三层组播协议的。

2.S7500交换机目前一旦全局使能Multicasting-routing,会在现有的所

有三层虚接口上使能igmp,默认会自动配置igmp enable。

相关主题