1、PIM Dense Mode简介
2、实验拓扑
3、基础配置
R1配置
interface Serial0/1
ip address 12.1.1.1 255.255.255.0
interface Serial0/2
ip address 14.1.1.1 255.255.255.0
interface FastEthernet1/0
ip address 13.1.1.1 255.255.255.0
router ospf 110
router-id 1.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 13.1.1.0 0.0.0.255 area 0
network 14.1.1.0 0.0.0.255 area 0
R2配置
interface Serial0/0
ip address 25.1.1.2 255.255.255.0
interface Serial0/1
ip address 12.1.1.2 255.255.255.0
router ospf 110
router-id 2.2.2.2
network 12.1.1.0 0.0.0.255 area 0
default-information originate always
R3配置
interface FastEthernet1/0
ip address 13.1.1.3 255.255.255.0
router ospf 110
router-id 3.3.3.3
network 13.1.1.0 0.0.0.255 area 0
R4配置
interface Serial0/0
ip address 46.1.1.4 255.255.255.0
interface Serial0/2
ip address 14.1.1.4 255.255.255.0
router ospf 110
router-id 4.4.4.4
network 14.1.1.0 0.0.0.255 area 0
R5配置
interface Serial0/0
ip address 25.1.1.5 255.255.255.0
R6配置
interface Serial0/0
ip address 46.1.1.6 255.255.255.0
no ip routing
ip default-gateway 46.1.1.4
4、配置PIM Dense Mode
R1配置
ip multicast-routing
interface Serial0/1
ip pim dense-mode
interface Serial0/2
ip pim dense-mode
interface FastEthernet1/0
ip pim dense-mode
R2配置
ip multicast-routing
interface Serial0/0
ip pim dense-mode
interface Serial0/1
ip pim dense-mode
R3配置
ip multicast-routing
interface FastEthernet1/0
ip pim dense-mode
R4配置
ip multicast-routing
interface Serial0/0
ip pim dense-mode
interface Serial0/2
ip pim dense-mode
R6配置
interface Serial0/0
ip igmp join-group 224.1.1.1
5、测试
此时说明PING Dense Mode已配置成功
R1配置
interface FastEthernet1/0
ip pim dr-priority 2
本文转自开源殿堂 51CTO博客,原文链接:http://blog.51cto.com/kaiyuandiantang/1724320,如需转载请自行联系原作者