您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 036高级交换组播路由协议PIM-SM稀疏模式
思科组播配置配置步骤:1.为R1,R3,R4增加回环端口2.配置单播路由ospf全网互通3.将路由器上的每个端口开启组播路由,回环端口也需要做此配置4.将端口加入组播,并开启组播路由5.配置两个路由器,参加BSR,RP候补BSR通告全网RP是谁,RP组播稀疏模式的汇聚点,发送者要传数据包给接受者,需要经过汇聚点命令解析:(conf)#ipmulticast-routing开启组播路由功能(conf)#intf0/0(conf-if)#ippimsparse-mode将端口模式改为稀疏模式Intloopback1Ipigmpjoin-group225.1.1.1将端口加入组播ippimbsr-candidateloopback132150将端口加入BSR候补,加密长度,优先级为150ippimrp-candidateloopback1priority50将端口加入RP候补,优先级为150BSR优先级越大越优先RP优先级越小越优先配置命令:R1:conftintloopback1ipadd10.1.1.1255.255.255.0noshuintf0/0ipadd12.1.1.1255.255.255.0noshuexitrouterospf1router-id1.1.1.1intloopback1ipospf1area0intf0/0ipospf1area0exitipmulticast-routingintf0/0ippimsparse-modeexitR2:conftintf0/0ipadd12.1.1.2255.255.255.0noshuintf0/1ipadd23.1.1.2255.255.255.0noshuintf1/0ipadd24.1.1.2255.255.255.0noshuexitrouterospf1router-id2.2.2.2intf0/0ipospf1area0intf0/1ipospf1area0intf1/0ipospf1area0exitipmulticast-routingintf0/0ippimsparse-modeintf0/1ippimsparse-modeintf1/0ippimsparse-modeexitippimbsr-candidatef0/032100ippimrp-candidatef0/0priority100endR3:conftintf0/1ipadd23.1.1.3255.255.255.0noshuintf0/0ipadd34.1.1.3255.255.255.0noshuintloopback1ipadd192.168.1.1255.255.255.0noshuexitrouterospf1router-id3.3.3.3intf0/0ipospf1area0intf0/1ipospf1area0intloopback1ipospf1area0exitipmulticast-routingintf0/0ippimsparse-modeintf0/1ippimsparse-modeintloopback1ippimsparse-modeexitippimbsr-candidateloopback132150ippimrp-candidateloopback1priority50endR4:conftintf0/0ipadd24.1.1.4255.255.255.0noshuintf0/1ipadd34.1.1.4255.255.255.0noshuintloopback1ipadd172.16.1.1255.255.255.0noshuexitrouterospf1router-id4.4.4.4intf0/0ipospf1area0intf0/1ipospf1area0intloopback1ipospf1area0exitipmulticast-routingintf0/0ippimsparse-modeintf0/1ippimsparse-modeexitintlo1ippimsparse-modeipigmpjoin-group255.1.1.1End效果如图查看bsr-candidatebar候补查看rp-candidaterp候补用Showippimbsr-routerShowippimrpmapping查看结果如下解析:R1-R4发送数据包要经过RP,但是R4-R1的最短路径不是走RP所以路由器会自动切换最短路由,从f/0端口走R2到达R1在RP上输入一条命令,使接受者到发送者的路径中不自动选路,就是说R1---R4与R4--R1的路径相同华为配置
本文标题:036高级交换组播路由协议PIM-SM稀疏模式
链接地址:https://www.777doc.com/doc-3117496 .html