初始化配置:
=== R1==============
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
ip igmp join-group 224.1.1.9
ip igmp join-group 224.1.1.1
ip igmp join-group 224.1.1.2
ip igmp join-group 224.1.1.3
ip igmp join-group 224.1.1.4
ip igmp join-group 224.1.1.5
ip igmp join-group 224.1.1.6
ip igmp join-group 224.1.1.7
ip igmp join-group 224.1.1.8
duplex full
!
ip route 0.0.0.0 0.0.0.0 12.1.1.2
!
=== R2==============
!
interface Loopback0
ip address 1.1.1.2 255.255.255.255
ip pim sparse-dense-mode
!
interface FastEthernet0/0
ip address 12.1.1.2 255.255.255.0
ip pim bsr-border
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet1/0
ip address 23.1.1.2 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet2/0
ip address 26.1.1.2 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
router ospf 110
router-id 1.1.1.2
log-adjacency-changes
redistribute connected metric-type 1 subnets
network 1.1.1.2 0.0.0.0 area 0
network 23.1.1.2 0.0.0.0 area 0
network 26.1.1.2 0.0.0.0 area 0
!
=== R3==============
!
interface Loopback0
ip address 1.1.1.3 255.255.255.255
ip pim sparse-dense-mode
!
interface FastEthernet0/0
ip address 34.1.1.3 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet1/0
ip address 23.1.1.3 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet2/0
ip address 36.1.1.3 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
router ospf 110
router-id 1.1.1.3
log-adjacency-changes
network 1.1.1.3 0.0.0.0 area 0
network 23.1.1.3 0.0.0.0 area 0
network 34.1.1.3 0.0.0.0 area 0
network 36.1.1.3 0.0.0.0 area 0
!
=== R4==============
!
interface Loopback0
ip address 1.1.1.4 255.255.255.255
ip pim sparse-dense-mode
!
interface FastEthernet0/0
ip address 34.1.1.4 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet1/0
ip address 45.1.1.4 255.255.255.0
ip pim bsr-border
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet2/0
ip address 46.1.1.4 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
router ospf 110
router-id 1.1.1.4
log-adjacency-changes
redistribute connected metric-type 1 subnets
network 1.1.1.4 0.0.0.0 area 0
network 34.1.1.4 0.0.0.0 area 0
network 46.1.1.4 0.0.0.0 area 0
!
=== R5==============
!
interface Loopback0
ip address 1.1.1.5 255.255.255.255
!
interface FastEthernet0/0
ip address 45.1.1.5 255.255.255.0
duplex full
!
ip route 0.0.0.0 0.0.0.0 45.1.1.4
!
=== R6==============
!
interface Loopback0
ip address 1.1.1.6 255.255.255.255
ip pim sparse-dense-mode
!
interface FastEthernet0/0
ip address 36.1.1.6 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet1/0
ip address 46.1.1.6 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
interface FastEthernet2/0
ip address 26.1.1.6 255.255.255.0
ip pim sparse-dense-mode
duplex full
!
router ospf 110
router-id 1.1.1.6
log-adjacency-changes
network 1.1.1.6 0.0.0.0 area 0
network 26.1.1.6 0.0.0.0 area 0
network 36.1.1.6 0.0.0.0 area 0
network 46.1.1.6 0.0.0.0 area 0
!
[1] [2] [3] 下一页