8.9 SSM

1.基本概念

SSM(特定源组播),接收者加入组播时,即可指定接收者或者决绝来自特定组播源的组播流量。SSM中关键组件是SSM是IGMPv3,232.0.0.0/8专用于SSM。

图片[1]-8.9 SSM-大赛人网
图8-14 SSM配置网络拓扑
图片[2]-8.9 SSM-大赛人网
图8-15 PC组成员IGMPv3配置

1)R1配置

[R1]multicast routing-enable 
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 172.16.1.254 24
[R1-GigabitEthernet0/0/0]pim sm

[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ip address 192.168.12.1 24
[R1-GigabitEthernet0/0/1]pim sm

[R1]ospf 1 
[R1-ospf-1]area 0
[R1-ospf-1-area-0.0.0.0]network 172.16.1.0 0.0.0.255
[R1-ospf-1-area-0.0.0.0]network 192.168.12.0 0.0.0.255

2)R2配置

[R2]multicast routing-enable 
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip address 192.168.23.2 24
[R2-GigabitEthernet0/0/0]pim sm
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]ip address 192.168.12.2 24
[R2-GigabitEthernet0/0/1]pim sm
[R2]interface GigabitEthernet 0/0/2
[R2-GigabitEthernet0/0/2]ip address 192.168.24.2 24
[R2-GigabitEthernet0/0/2]pim sm

[R2]ospf 1 
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 192.168.12.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]network 192.168.23.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]network 192.168.24.0 0.0.0.255

3)R3配置

[R3]multicast routing-enable 
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]ip address 192.168.23.3 24
[R3-GigabitEthernet0/0/0]pim sm

[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]ip address 192.168.34.3 24
[R3-GigabitEthernet0/0/1]pim sm

[R3]ospf 1
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 192.168.23.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0]network 192.168.34.0 0.0.0.255

4)R3配置

[R4]multicast routing-enable 
[R4]interface GigabitEthernet 0/0/1
[R4-GigabitEthernet0/0/1]ip address 192.168.34.4 24
[R4-GigabitEthernet0/0/1]pim sm

[R4]interface GigabitEthernet 0/0/2
[R4-GigabitEthernet0/0/2]ip address 192.168.24.4 24
[R4-GigabitEthernet0/0/2]pim sm

[R4]interface g0/0/0
[R4-GigabitEthernet0/0/0]ip address 192.168.4.254 24
[R4-GigabitEthernet0/0/0]pim sm
[R4-GigabitEthernet0/0/0]igmp enable 
[R4-GigabitEthernet0/0/0]igmp version 3

[R4]ospf 1 
[R4-ospf-1]area 0
[R4-ospf-1-area-0.0.0.0]network 192.168.24.0 0.0.0.255
[R4-ospf-1-area-0.0.0.0]network 192.168.34.0 0.0.0.255
[R4-ospf-1-area-0.0.0.0]network 192.168.4.0 0.0.0.255 

<R4>display igmp group verbose
Interface group report information of VPN-Instance: public net 
 Limited entry of this VPN-Instance: -
 GigabitEthernet0/0/0(192.168.4.254): 
  Total entry on this interface: 1
  Limited entry on this interface: -
  Total 1 IGMP Group reported
   Group: 224.1.1.1
     Uptime: 00:08:28
     Expires: off
     Last reporter: 192.168.4.1
     Last-member-query-counter: 0
     Last-member-query-timer-expiry: off
     Group mode: include
     Version1-host-present-timer-expiry: off
     Version2-host-present-timer-expiry: off
     Source list:
       Source: 172.16.1.1
          Uptime: 00:08:28
          Expires: 00:01:24
          Last-member-query-counter: 0
          Last-member-query-timer-expiry: off
© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容