R1、R2、R3、R4配置Loopback地址,配置0SPF,Loopback地址与直连接口宣告到OSPF网络。
1.R1配置PIM-SM
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]pim sm
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]pim sm
[R1]interface GigabitEthernet 0/0/2
[R1-GigabitEthernet0/0/2]pim sm
[R1]interface LoopBack 0
[R1-LoopBack0]pim sm
[R1]pim
[R1-pim]c-rp LoopBack 0
2.R2配置PIM-SM
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]pim sm
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]pim sm
[R2]interface LoopBack 0
[R2-LoopBack0]pim sm
[R2]pim
[R2-pim]c-rp LoopBack 0
3.R3配置PIM-SM
[R3]multicast routing-enable
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]pim sm
[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]pim sm
[R3]interface LoopBack 0
[R3-LoopBack0]pim sm
[R3]pim
[R3-pim]c-bsr LoopBack 0
4.R4配置PIM-SM
[R4]interface GigabitEthernet 0/0/0
[R4-GigabitEthernet0/0/0]pim sm
[R4]interface GigabitEthernet 0/0/2
[R4-GigabitEthernet0/0/2]pim sm
[R4]interface GigabitEthernet 0/0/1
[R4-GigabitEthernet0/0/1]pim sm
[R4-GigabitEthernet0/0/1]igmp enable
[R4]interface LoopBack 0
[R4-LoopBack0]pim sm
[R4]pim
[R4-pim]c-rp LoopBack 0
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容