R1 Config
vrf definition one
rd 1:1
route-target export 1:1
route-target import 1:1
address-family ipv4
mdt default 232.0.0.1
mdt data 232.1.1.0 0.0.0.255
ip multicast-routing
ip multicast-routing vrf one
interface Loopback0
ip address 10.10.10.10 255.255.255.255
ip pim sparse-mode
interface FastEthernet1/0
ip address 192.168.12.1 255.255.255.0
ip pim sparse-mode
mpls ip
interface FastEthernet1/1
vrf forwarding one
ip address 192.168.14.1 255.255.255.0
ip pim sparse-mode
router ospf 1
network 10.10.10.10 0.0.0.0 area 0
network 192.168.12.1 0.0.0.0 area 0
router bgp 13
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 30.30.30.30 remote-as 13
neighbor 30.30.30.30 update-source Loopback0
neighbor 60.60.60.60 remote-as 13
address-family vpnv4
neighbor 30.30.30.30 activate
neighbor 30.30.30.30 send-community extended
neighbor 60.60.60.60 activate
neighbor 60.60.60.60 send-community extended
address-family ipv4 mdt
neighbor 30.30.30.30 activate
neighbor 30.30.30.30 send-community extended
neighbor 60.60.60.60 activate
neighbor 60.60.60.60 send-community extended
address-family ipv4 vrf one
redistribute connected
redistribute static
ip pim ssm default
ip route vrf one 40.40.40.40 255.255.255.255 192.168.14.4
ip route vrf one 192.168.49.0 255.255.255.0 192.168.14.4
R3 Config
vrf definition one
rd 1:1
route-target export 1:1
route-target import 1:1
address-family ipv4
mdt default 232.0.0.1
mdt data 232.3.3.0 0.0.0.255
ip multicast-routing
ip multicast-routing vrf one
interface Loopback0
ip address 30.30.30.30 255.255.255.255
ip pim sparse-mode
interface FastEthernet1/0
ip address 192.168.23.3 255.255.255.0
ip pim sparse-mode
mpls ip
interface FastEthernet1/1
vrf forwarding one
ip address 192.168.35.3 255.255.255.0
ip pim sparse-mode
router ospf 1
network 30.30.30.30 0.0.0.0 area 0
network 192.168.23.3 0.0.0.0 area 0
router bgp 13
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.10.10.10 remote-as 13
neighbor 10.10.10.10 update-source Loopback0
neighbor 60.60.60.60 remote-as 13
address-family vpnv4
neighbor 10.10.10.10 activate
neighbor 10.10.10.10 send-community extended
neighbor 60.60.60.60 activate
neighbor 60.60.60.60 send-community extended
address-family ipv4 mdt
neighbor 10.10.10.10 activate
neighbor 10.10.10.10 send-community extended
neighbor 60.60.60.60 activate
neighbor 60.60.60.60 send-community extended
address-family ipv4 vrf one
no synchronization
redistribute connected
redistribute static
ip pim ssm default
ip route vrf one 192.168.105.0 255.255.255.0 192.168.35.5
R6 Config
vrf definition one
rd 1:1
route-target export 1:1
route-target import 1:1
address-family ipv4
mdt default 232.0.0.1
mdt data 232.6.6.0 0.0.0.255
ip multicast-routing
ip multicast-routing vrf one
interface Loopback0
ip address 60.60.60.60 255.255.255.255
ip pim sparse-mode
interface FastEthernet1/0
ip address 192.168.26.6 255.255.255.0
ip pim sparse-mode
mpls ip
interface FastEthernet1/1
vrf forwarding one
ip address 192.168.67.6 255.255.255.0
ip pim sparse-mode
router ospf 1
network 60.60.60.60 0.0.0.0 area 0
network 192.168.26.6 0.0.0.0 area 0
router bgp 13
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor rr peer-group
neighbor rr remote-as 13
neighbor rr update-source Loopback0
neighbor 10.10.10.10 peer-group rr
neighbor 30.30.30.30 peer-group rr
address-family vpnv4
neighbor rr send-community extended
neighbor rr next-hop-self
neighbor 10.10.10.10 activate
neighbor 30.30.30.30 activate
address-family ipv4 mdt
neighbor 10.10.10.10 activate
neighbor 30.30.30.30 activate
address-family ipv4 vrf one
no synchronization
redistribute connected
ip pim ssm default
P Router
R2 Config
interface Loopback0
ip address 20.20.20.20 255.255.255.255
ip pim sparse-mode
interface FastEthernet1/0
ip address 192.168.12.2 255.255.255.0
ip pim sparse-mode
mpls ip
interface FastEthernet1/1
ip address 192.168.23.2 255.255.255.0
ip pim sparse-mode
mpls ip
interface FastEthernet2/0
ip address 192.168.26.2 255.255.255.0
ip pim sparse-mode
mpls ip
router ospf 1
network 20.20.20.20 0.0.0.0 area 0
network 192.168.12.2 0.0.0.0 area 0
network 192.168.23.2 0.0.0.0 area 0
network 192.168.26.2 0.0.0.0 area 0
ip pim bsr-candidate Loopback0 0
ip pim rp-candidate Loopback0
ip pim ssm default
CE Routers
R4 Config
ip multicast-routing
interface Loopback0
ip address 40.40.40.40 255.255.255.255
ip pim sparse-mode!
interface FastEthernet1/0
ip address 192.168.14.4 255.255.255.0
ip pim sparse-mode
interface FastEthernet1/1
ip address 192.168.49.4 255.255.255.0
ip pim sparse-mode
ip pim bsr-candidate Loopback0 0
ip pim rp-candidate Loopback0
ip route 0.0.0.0 0.0.0.0 192.168.14.1
R5 Config
ip multicast-routing
interface FastEthernet1/0
ip address 192.168.35.5 255.255.255.0
ip pim sparse-mode
interface FastEthernet1/1
ip address 192.168.105.5 255.255.255.0
ip pim sparse-mode
ip route 0.0.0.0 0.0.0.0 192.168.35.3
R7 Config
ip multicast-routing
interface FastEthernet1/0
ip address 192.168.67.7 255.255.255.0
ip pim sparse-mode
ip route 0.0.0.0 0.0.0.0 192.168.67.6
C Router
R9 Config
ip multicast-routing
interface FastEthernet0/0
ip address 192.168.49.9 255.255.255.0
ip pim sparse-mode
ip route 0.0.0.0 0.0.0.0 192.168.49.4
R10 Config
ip multicast-routing
interface FastEthernet0/0
ip address 192.168.105.10 255.255.255.0
ip pim sparse-mode
ip route 0.0.0.0 0.0.0.0 192.168.105.5
Verification
R9#show ip pim rp map
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 40.40.40.40 (?), v2
Info source: 40.40.40.40 (?), via bootstrap, priority 0, holdtime 150
Uptime: 00:09:16, expires: 00:02:10
R1# show bgp ipv4 mdt all
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1 (default for vrf one)
*> 10.10.10.10/32 0.0.0.0 0 ?
*>i30.30.30.30/32 30.30.30.30 0 100 0 ?
*>i60.60.60.60/32 60.60.60.60 0 100 0 ?
R7(config)#interface fast1/0
R7(config-if)#ip igmp join-group 239.0.0.2
R10(config)#interface fast0/0
R10(config-if)#ip igmp join-group 239.0.0.1
R9#ping 239.0.0.1 repeat 10000
Reply to request 0 from 192.168.105.10, 136 ms
Reply to request 1 from 192.168.105.10, 168 ms
R9#ping 239.0.0.2 repeat 1000
Reply to request 19 from 192.168.67.7, 420 ms
Reply to request 20 from 192.168.67.7, 224 ms
R2#show ip mroute
(10.10.10.10, 232.0.0.1), 00:13:05/00:03:11, flags: sT
Incoming interface: FastEthernet1/0, RPF nbr 192.168.12.1
Outgoing interface list:
FastEthernet2/0, Forward/Sparse, 00:13:05/00:03:11
FastEthernet1/1, Forward/Sparse, 00:13:05/00:03:10
(60.60.60.60, 232.0.0.1), 00:13:07/00:03:08, flags: sT
Incoming interface: FastEthernet2/0, RPF nbr 192.168.26.6
Outgoing interface list:
FastEthernet1/0, Forward/Sparse, 00:13:07/00:03:08
FastEthernet1/1, Forward/Sparse, 00:13:07/00:03:08
(30.30.30.30, 232.0.0.1), 00:13:26/00:02:55, flags: sT
Incoming interface: FastEthernet1/1, RPF nbr 192.168.23.3
Outgoing interface list:
FastEthernet1/0, Forward/Sparse, 00:13:26/00:02:52
FastEthernet2/0, Forward/Sparse, 00:13:26/00:02:55
(10.10.10.10, 232.1.1.1), 00:00:31/00:02:58, flags: sT
Incoming interface: FastEthernet1/0, RPF nbr 192.168.12.1
Outgoing interface list:
FastEthernet2/0, Forward/Sparse, 00:00:31/00:02:58
(10.10.10.10, 232.1.1.0), 00:01:35/00:02:53, flags: sT
Incoming interface: FastEthernet1/0, RPF nbr 192.168.12.1
Outgoing interface list:
FastEthernet1/1, Forward/Sparse, 00:01:35/00:02:53
(*, 224.0.1.40), 00:15:49/00:02:19, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse, 00:15:46/00:02:19
R1#show ip int bri
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
FastEthernet1/0 192.168.12.1 YES NVRAM up up
FastEthernet1/1 192.168.14.1 YES NVRAM up up
Loopback0 10.10.10.10 YES NVRAM up up
Tunnel0 192.168.12.1 YES unset up up
Tunnel1 192.168.14.1 YES unset up up
Tunnel2 10.10.10.10 YES unset up up
R1#show ip mroute vrf one
(*, 239.0.0.1), 00:03:40/00:02:46, RP 40.40.40.40, flags: S
Incoming interface: FastEthernet1/1, RPF nbr 192.168.14.4
Outgoing interface list:
Tunnel2, Forward/Sparse, 00:03:40/00:02:46
(192.168.49.9, 239.0.0.1), 00:03:07/00:00:22, flags: T
Incoming interface: FastEthernet1/1, RPF nbr 192.168.14.4
Outgoing interface list:
Tunnel2, Forward/Sparse, 00:03:07/00:03:18
(*, 239.0.0.2), 00:02:01/00:03:28, RP 40.40.40.40, flags: S
Incoming interface: FastEthernet1/1, RPF nbr 192.168.14.4
Outgoing interface list:
Tunnel2, Forward/Sparse, 00:02:01/00:03:28
(192.168.49.9, 239.0.0.2), 00:01:58/00:01:31, flags: T
Incoming interface: FastEthernet1/1, RPF nbr 192.168.14.4
Outgoing interface list:
Tunnel2, Forward/Sparse, 00:01:58/00:03:28
(*, 224.0.1.40), 00:17:29/00:02:36, RP 0.0.0.0, flags: DPL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list: Null
R3#show ip mroute
(10.10.10.10, 232.0.0.1), 00:43:14/stopped, flags: sTIZ
Incoming interface: FastEthernet1/0, RPF nbr 192.168.23.2
Outgoing interface list:
MVRF one, Forward/Sparse, 00:43:14/00:01:45
(60.60.60.60, 232.0.0.1), 00:43:16/stopped, flags: sTIZ
Incoming interface: FastEthernet1/0, RPF nbr 192.168.23.2
Outgoing interface list:
MVRF one, Forward/Sparse, 00:43:16/00:01:43
(30.30.30.30, 232.0.0.1), 00:43:34/00:03:17, flags: sT
Incoming interface: Loopback0, RPF nbr 0.0.0.0
Outgoing interface list:
FastEthernet1/0, Forward/Sparse, 00:43:34/00:03:17
(10.10.10.10, 232.1.1.0), 00:00:56/00:02:03, flags: sTIZ
Incoming interface: FastEthernet1/0, RPF nbr 192.168.23.2
Outgoing interface list:
MVRF one, Forward/Sparse, 00:00:56/00:02:03
(*, 224.0.1.40), 00:45:38/00:02:25, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse, 00:45:34/00:02:25
R3#show ip mroute vrf one
(*, 239.0.0.1), 00:03:52/00:02:35, RP 40.40.40.40, flags: S
Incoming interface: Tunnel1, RPF nbr 10.10.10.10
Outgoing interface list:
FastEthernet1/1, Forward/Sparse, 00:03:52/00:02:35
(192.168.49.9, 239.0.0.1), 00:03:19/00:00:10, flags: TY
Incoming interface: Tunnel1, RPF nbr 10.10.10.10, MDT:[10.10.10.10,232.1.1.0]/00:01:50
Outgoing interface list:
FastEthernet1/1, Forward/Sparse, 00:03:19/00:03:07
(*, 239.0.0.2), 00:02:05/stopped, RP 40.40.40.40, flags: SP
Incoming interface: Tunnel1, RPF nbr 10.10.10.10
Outgoing interface list: Null
(192.168.49.9, 239.0.0.2), 00:02:05/00:01:47, flags: PT
Incoming interface: Tunnel1, RPF nbr 10.10.10.10, MDT:[10.10.10.10,232.1.1.1]/00:01:50
Outgoing interface list: Null
(*, 224.0.1.40), 00:17:02/00:02:59, RP 0.0.0.0, flags: DPL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list: Null
No comments:
Post a Comment