Pls note that auto-rp multicast filtering should be applied on the boundary of the AS. But it is not being applied in this lab. I use static rp here.
topology:
lab setup:
1. Configure AS1, AS2 & AS3. Make sure the ipv4 unicast connectivity is ok.
2. Configure AS prepend over the BGP sessions between AS1 & AS2. Make sure ipv4 unicast traffic is transit via AS3.
3. Enable multicast on AS1 & AS2. RP are R5 & R15.
4. Disable multicast on AS3.
5. Enable msdp between R5 & R15.
6. Enable msdp cache-sa-state on R5 & R15.
Check the ipv4 connectivity between R1 (AS1) & R11 (AS2):
Both forward & return path are routed via AS3.
R1#ping 192.168.1.11 source 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.11, timeout is 2 seconds:
Packet sent with a source address of 192.168.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 92/104/112 ms
R1#
R1#traceroute 192.168.1.11 source 192.168.0.1
Type escape sequence to abort.
Tracing the route to 192.168.1.11
1 1.0.0.2 8 msec
1.0.0.14 20 msec
1.0.0.2 12 msec
2 1.0.0.18 16 msec
1.0.0.6 8 msec
1.0.0.18 16 msec
3 1.0.0.10 32 msec
1.0.0.22 20 msec
1.0.0.10 12 msec
4 1.0.0.26 52 msec 12 msec 36 msec
5 1.0.0.50 28 msec 32 msec 40 msec
6 1.2.2.14 [AS 3] 64 msec 32 msec 16 msec
7 1.2.2.18 [AS 3] 68 msec 48 msec 44 msec
8 1.2.2.30 [AS 3] 60 msec 64 msec 72 msec
9 1.2.2.34 [AS 3] 56 msec 68 msec 56 msec
10 1.1.1.41 [AS 2] 88 msec 104 msec 88 msec
11 1.1.1.25 [AS 2] 84 msec 124 msec 48 msec
12 1.1.1.21 [AS 2] 80 msec 120 msec 80 msec
13 1.1.1.17 [AS 2] 80 msec 60 msec 92 msec
14 1.1.1.13 [AS 2] 108 msec * 92 msec
R1#
R11#ping 192.168.0.1 source 192.168.1.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.1.11
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/111/148 ms
R11#
R11#traceroute 192.168.0.1 source 192.168.1.11
Type escape sequence to abort.
Tracing the route to 192.168.0.1
1 1.1.1.2 12 msec
1.1.1.14 12 msec
1.1.1.2 12 msec
2 1.1.1.18 16 msec
1.1.1.6 12 msec
1.1.1.18 16 msec
3 1.1.1.10 24 msec
1.1.1.22 20 msec
1.1.1.10 24 msec
4 1.1.1.26 20 msec 44 msec 40 msec
5 1.1.1.42 32 msec 24 msec 24 msec
6 1.2.2.33 [AS 3] 52 msec 24 msec 64 msec
7 1.2.2.29 [AS 3] 24 msec 88 msec 56 msec
8 1.2.2.17 [AS 3] 56 msec 60 msec 44 msec
9 1.2.2.13 [AS 3] 56 msec 48 msec 48 msec
10 1.0.0.49 [AS 1] 72 msec 56 msec 108 msec
11 1.0.0.25 [AS 1] 84 msec 76 msec 52 msec
12 1.0.0.21 [AS 1] 108 msec 80 msec 72 msec
13 1.0.0.17 [AS 1] 104 msec 100 msec 92 msec
14 1.0.0.13 [AS 1] 88 msec * 108 msec
R11#
Confirm mutlicast is working fine within AS1 & AS2:
R8 - igmp join 225.0.0.1
R1 - ping 225.0.0.1
R1#ping 225.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 225.0.0.1, timeout is 2 seconds:
Reply to request 0 from 192.168.0.8, 236 ms
Reply to request 0 from 192.168.0.8, 304 ms
Reply to request 0 from 192.168.0.8, 236 ms
R1#
R18 - igmp join 226.0.0.1
R11 - ping 226.0.0.1
R11#ping 226.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 226.0.0.1, timeout is 2 seconds:
Reply to request 0 from 192.168.1.18, 44 ms
R11#
Check the msdp session on R5 & R15:
R5#show ip msdp summary
MSDP Peer Status Summary
Peer Address AS State Uptime/ Reset SA Peer Name
Downtime Count Count
192.168.1.15 2 Up 00:11:11 0 3 ?
R5#
R5#show ip msdp sa-cache
MSDP Source-Active Cache - 3 entries
(1.1.1.1, 226.0.0.1), RP 192.168.1.15, BGP/AS 2, 00:01:22/00:05:32, Peer 192.168.1.15
(1.1.1.13, 226.0.0.1), RP 192.168.1.15, BGP/AS 2, 00:01:22/00:05:32, Peer 192.168.1.15
(192.168.1.11, 226.0.0.1), RP 192.168.1.15, BGP/AS 2, 00:02:01/00:05:32, Peer 192.168.1.15
R5#
R15#show ip msdp summary
MSDP Peer Status Summary
Peer Address AS State Uptime/ Reset SA Peer Name
Downtime Count Count
192.168.0.5 1 Up 00:12:05 0 3 ?
R15#
R15#show ip msdp sa-cache
MSDP Source-Active Cache - 3 entries
(1.0.0.1, 225.0.0.1), RP 192.168.0.5, BGP/AS 1, 00:06:48/00:05:45, Peer 192.168.0.5
(1.0.0.13, 225.0.0.1), RP 192.168.0.5, BGP/AS 1, 00:06:48/00:05:45, Peer 192.168.0.5
(192.168.0.1, 225.0.0.1), RP 192.168.0.5, BGP/AS 1, 00:06:48/00:05:45, Peer 192.168.0.5
R15#
Now configure igmp join group 225.0.0.1 & 226.0.0.1 on both R8 & R18:
R8#show run int lo0 | in igmp
ip igmp join-group 226.0.0.1
ip igmp join-group 225.0.0.1
R8#
R18#show run int lo0 | in igmp
ip igmp join-group 226.0.0.1
ip igmp join-group 225.0.0.1
R18#
Ping multicast group 225.0.0.1 from R1 - only R8 receive the multicast packet & reply it:
R1#ping 225.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 225.0.0.1, timeout is 2 seconds:
Reply to request 0 from 192.168.0.8, 28 ms
Reply to request 0 from 192.168.0.8, 68 ms
Reply to request 0 from 192.168.0.8, 48 ms
R1#
Ping multicast group 226.0.0.1 from R11 - only R18 receive the multicast packet & reply it:
R11#ping 226.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 226.0.0.1, timeout is 2 seconds:
Reply to request 0 from 192.168.1.18, 56 ms
Reply to request 0 from 192.168.1.18, 56 ms
R11#
Check the mroute status of 225.0.0.1 on R18 - RP is R15:
R18#show ip mroute 225.0.0.1 | b 225.0.0.1
(*, 225.0.0.1), 00:08:32/00:02:38, RP 192.168.1.15, flags: SJCL
Incoming interface: Serial3/0, RPF nbr 1.1.1.29
Outgoing interface list:
Loopback0, Forward/Sparse, 00:08:32/00:02:38
R18#
Check the mroute status of 225.0.0.1 on R15 - RPF neighbor is 1.1.1.22:
R15#show ip mroute 225.0.0.1 | b 225.0.0.1
(*, 225.0.0.1), 00:09:26/00:02:58, RP 192.168.1.15, flags: S
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Serial3/2, Forward/Sparse, 00:09:26/00:02:58
(1.0.0.13, 225.0.0.1), 00:01:57/00:01:02, flags: M
Incoming interface: Serial3/1, RPF nbr 1.1.1.22
Outgoing interface list:
Serial3/2, Forward/Sparse, 00:01:57/00:02:58
(1.0.0.1, 225.0.0.1), 00:01:57/00:01:02, flags: M
Incoming interface: Serial3/1, RPF nbr 1.1.1.22
Outgoing interface list:
Serial3/2, Forward/Sparse, 00:01:57/00:02:58
R15#
mtrace 1.0.0.13 & 1.0.0.1 from R15 - stuck at R17 (1.1.1.26):
R15#mtrace 1.0.0.13
Type escape sequence to abort.
Mtrace from 1.0.0.13 to 1.1.1.21 via RPF
From source (?) to destination (?)
Querying full reverse path...
0 1.1.1.21
-1 1.1.1.21 PIM/MBGP [1.0.0.0/24]
-2 1.1.1.22 PIM/MBGP [1.0.0.0/24]
-3 1.1.1.26 PIM/MBGP [1.0.0.0/24]
-4 1.0.0.13
R15#
R15#mtrace 1.0.0.1
Type escape sequence to abort.
Mtrace from 1.0.0.1 to 1.1.1.21 via RPF
From source (?) to destination (?)
Querying full reverse path...
0 1.1.1.21
-1 1.1.1.21 PIM/MBGP [1.0.0.0/24]
-2 1.1.1.22 PIM/MBGP [1.0.0.0/24]
-3 1.1.1.26 PIM/MBGP [1.0.0.0/24]
-4 1.0.0.1
R15#
R17#show ip int brief | in 1.1.1.26
Serial3/0 1.1.1.26 YES NVRAM up up
Tunnel0 1.1.1.26 YES unset up up
R17#
Check the rpf neighbor of 1.0.0.13 & 1.0.0.1 on R17 - null (0.0.0.0):
R17#show ip rpf 1.0.0.13
RPF information for ? (1.0.0.13)
RPF interface: Serial3/1
RPF neighbor: ? (0.0.0.0)
RPF route/mask: 1.0.0.0/24
RPF type: unicast (bgp 2)
Doing distance-preferred lookups across tables
RPF topology: ipv4 multicast base, originated from ipv4 unicast base
R17#
R17#show ip rpf 1.0.0.1
RPF information for ? (1.0.0.1)
RPF interface: Serial3/1
RPF neighbor: ? (0.0.0.0)
RPF route/mask: 1.0.0.0/24
RPF type: unicast (bgp 2)
Doing distance-preferred lookups across tables
RPF topology: ipv4 multicast base, originated from ipv4 unicast base
R17#
It is because ip multicast traffic is routed via ipv4 unicast path, which is transit via AS3. However, multicast is not supported in AS3.
Enable ipv4 multicast support on the BGP session between AS1 & AS2. Configure local preference 400 at both ends (still cannot solve the problem):
R9:
R9#show run | b router bgp
router bgp 1
bgp log-neighbor-changes
neighbor 1.0.0.42 remote-as 2
neighbor 192.168.0.5 remote-as 1
neighbor 192.168.0.5 update-source Loopback0
!
address-family ipv4
no synchronization
neighbor 1.0.0.42 activate
neighbor 1.0.0.42 route-map asprepend out
neighbor 192.168.0.5 activate
neighbor 192.168.0.5 next-hop-self
no auto-summary
exit-address-family
!
address-family ipv4 multicast
neighbor 1.0.0.42 activate
neighbor 1.0.0.42 route-map setlp in
no auto-summary
exit-address-family
!
R10:
R10#show run | b router bgp
router bgp 1
bgp log-neighbor-changes
neighbor 1.0.0.46 remote-as 2
neighbor 192.168.0.5 remote-as 1
neighbor 192.168.0.5 update-source Loopback0
!
address-family ipv4
no synchronization
neighbor 1.0.0.46 activate
neighbor 1.0.0.46 route-map asprepend out
neighbor 192.168.0.5 activate
neighbor 192.168.0.5 next-hop-self
no auto-summary
exit-address-family
!
address-family ipv4 multicast
neighbor 1.0.0.46 activate
neighbor 1.0.0.46 route-map setlp in
no auto-summary
exit-address-family
!
R12:
R12#show run | b router bgp
router bgp 2
bgp log-neighbor-changes
neighbor 1.0.0.41 remote-as 1
neighbor 192.168.1.15 remote-as 2
neighbor 192.168.1.15 update-source Loopback0
!
address-family ipv4
no synchronization
neighbor 1.0.0.41 activate
neighbor 1.0.0.41 route-map asprepend out
neighbor 192.168.1.15 activate
neighbor 192.168.1.15 next-hop-self
no auto-summary
exit-address-family
!
address-family ipv4 multicast
neighbor 1.0.0.41 activate
neighbor 1.0.0.41 route-map setlp in
no auto-summary
exit-address-family
!
R13:
R13#show run | b router bgp
router bgp 2
bgp log-neighbor-changes
neighbor 1.0.0.45 remote-as 1
neighbor 192.168.1.15 remote-as 2
neighbor 192.168.1.15 update-source Loopback0
!
address-family ipv4
no synchronization
neighbor 1.0.0.45 activate
neighbor 1.0.0.45 route-map asprepend out
neighbor 192.168.1.15 activate
neighbor 192.168.1.15 next-hop-self
no auto-summary
exit-address-family
!
address-family ipv4 multicast
neighbor 1.0.0.45 activate
neighbor 1.0.0.45 route-map setlp in
no auto-summary
exit-address-family
!
R1 - ping 225.0.0.1 again - only the first packet can be delieved to R18:
R1#ping 225.0.0.1 repeat 5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 225.0.0.1, timeout is 2 seconds:
Reply to request 0 from 192.168.0.8, 28 ms
Reply to request 0 from 192.168.1.18, 372 ms
Reply to request 0 from 192.168.1.18, 300 ms
Reply to request 0 from 192.168.1.18, 300 ms
Reply to request 0 from 192.168.0.8, 140 ms
Reply to request 0 from 192.168.0.8, 28 ms
Reply to request 1 from 192.168.0.8, 40 ms
Reply to request 1 from 192.168.0.8, 68 ms
Reply to request 1 from 192.168.0.8, 64 ms
Reply to request 1 from 192.168.0.8, 56 ms
Reply to request 1 from 192.168.0.8, 40 ms
Reply to request 2 from 192.168.0.8, 40 ms
Reply to request 2 from 192.168.0.8, 72 ms
Reply to request 2 from 192.168.0.8, 72 ms
Reply to request 3 from 192.168.0.8, 16 ms
Reply to request 3 from 192.168.0.8, 64 ms
Reply to request 3 from 192.168.0.8, 16 ms
Reply to request 4 from 192.168.0.8, 32 ms
Reply to request 4 from 192.168.0.8, 60 ms
Reply to request 4 from 192.168.0.8, 36 ms
R1#
There are 2 issues to make the mbgp failed to work here:
1. Similar to the BGP advertisement in ipv4 unicast, we have to explicitly announce the mbgp via network command in address-family ipv4 multicast. & redistribution or static route to intf null0 is needed.
2. Address-family ipv4 multicast is configured on R9, R10, R12 & R13 only. For the other routers in AS1 & AS2, multicast path is still setup by ipv4 unicast route. The path is routed via AS3, which multicast is not supported.
From the result of the ping test, we can see 3 reply from R18. For the first multicast packet (225.0.0.1), it is encapsulated & delivered from R5 to R15 by MSDP. The packet is then forwarded to R18. After R18 switched to shortest path tree STP, it no longer receives multicast packet as the SPT is routed via AS3.
Ping 225.0.0.1 from R1 again & check the debug messages on R15:
MSDP Detail debugging is on
R15#
*Dec 13 20:09:42.238: MSDP(0): Received 120-byte TCP segment from 192.168.0.5
*Dec 13 20:09:42.242: MSDP(0): Append 120 bytes to 0-byte msg 176 from 192.168.0.5, qs 1
*Dec 13 20:09:42.246: MSDP(0): WAVL Insert SA Source 1.0.0.1 Group 225.0.0.1 RP 192.168.0.5 Successful
*Dec 13 20:09:42.250: MSDP(0): Forward decapsulated SA data for (1.0.0.1, 225.0.0.1) on Serial3/2
*Dec 13 20:09:42.374: MSDP(0): Received 120-byte TCP segment from 192.168.0.5
*Dec 13 20:09:42.378: MSDP(0): Append 120 bytes to 0-byte msg 177 from 192.168.0.5, qs 1
*Dec 13 20:09:42.382: MSDP(0): WAVL Insert SA Source 1.0.0.13 Group 225.0.0.1 RP 192.168.0.5 Successful
*Dec 13 20:09:42.386: MSDP(0): Forward decapsulated SA data for (1.0.0.13, 225.0.0.1) on Serial3/2
*Dec 13 20:09:42.438: MSDP(0): Received 120-byte TCP segment from 192.168.0.5
*Dec 13 20:09:42.442: MSDP(0): Append 120 bytes to 0-byte msg 178 from 192.168.0.5, qs 1
*Dec 13 20:09:42.446: MSDP(0): WAVL Insert SA Source 192.168.0.1 Group 225.0.0.1 RP 192.168.0.5 Successful
*Dec 13 20:09:42.450: MSDP(0): Forward decapsulated SA data for (192.168.0.1, 225.0.0.1) on Serial3/2
R15#
R15#no debug all
All possible debugging has been turned off
R15#
R15#show int desc | in 3/2
Se3/2 up up BI~R15-s3_2~T1~R18-s3_0 ~
R15#
Reference:
Interdomain multicast routing - practical juniper networks & cisco systems solution
page 213
It can be confusing that the show ip mroute command shows the PIM Join state instead of the contents of the ip mroute table. There is no way to show the contents of the mroute table, but it can be infereed from the configuration file and the output of show ip rpf.
Check the mbgp announcement on R9:
R9#show bgp ipv4 multicast nei 1.0.0.42 advertised-routes
Total number of prefixes 0
R9#
Fix the bgp announcement issue on R9:
R9#show run | b address-family ipv4 multicast
address-family ipv4 multicast
network 1.0.0.0 mask 255.255.255.0
network 192.168.0.0
neighbor 1.0.0.42 activate
neighbor 1.0.0.42 route-map setlp in
no auto-summary
exit-address-family
!
R9#show run | in ip route
ip route 1.0.0.0 255.255.255.0 Null0
ip route 192.168.0.0 255.255.255.0 Null0
R9#
Check the mbgp announcement again on R9:
R9#show bgp ipv4 multicast nei 1.0.0.42 adv
BGP table version is 11, local router ID is 192.168.0.9
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.0.0.0/24 0.0.0.0 0 32768 i
*> 192.168.0.0 0.0.0.0 0 32768 i
Total number of prefixes 2
R9#
Check the mbgp route received on R12 - note the local preference & the AS path attribute:
R12#show bgp ipv4 multicast neighbor 1.0.0.41 route
BGP table version is 11, local router ID is 192.168.1.12
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.0.0.0/24 1.0.0.41 0 400 0 1 i
*> 192.168.0.0 1.0.0.41 0 400 0 1 i
Total number of prefixes 2
R12#
To fix the problem:
Enable bgp address-family ipv4 multicast on all routers in AS1 & AS2. & Announce the necessary routes into address-family ipv4 multicast explicitly on R5 & R15 (both are RR server).
After configuration done, ping 225.0.0.1 from R1:
R1#ping 225.0.0.1 repeat 5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 225.0.0.1, timeout is 2 seconds:
Reply to request 0 from 192.168.0.8, 40 ms
Reply to request 0 from 192.168.1.18, 216 ms
Reply to request 0 from 192.168.1.18, 216 ms
Reply to request 0 from 192.168.1.18, 208 ms
Reply to request 0 from 192.168.0.8, 68 ms
Reply to request 0 from 192.168.0.8, 44 ms
Reply to request 1 from 192.168.0.8, 28 ms
Reply to request 1 from 192.168.1.18, 112 ms
Reply to request 1 from 192.168.1.18, 108 ms
Reply to request 1 from 192.168.1.18, 88 ms
Reply to request 1 from 192.168.0.8, 32 ms
Reply to request 1 from 192.168.0.8, 28 ms
Reply to request 2 from 192.168.0.8, 24 ms
Reply to request 2 from 192.168.1.18, 132 ms
Reply to request 2 from 192.168.1.18, 132 ms
Reply to request 2 from 192.168.1.18, 52 ms
Reply to request 2 from 192.168.0.8, 52 ms
Reply to request 2 from 192.168.0.8, 48 ms
Reply to request 3 from 192.168.0.8, 4 ms
Reply to request 3 from 192.168.1.18, 144 ms
Reply to request 3 from 192.168.1.18, 140 ms
Reply to request 3 from 192.168.0.8, 96 ms
Reply to request 3 from 192.168.0.8, 64 ms
Reply to request 3 from 192.168.1.18, 64 ms
Reply to request 4 from 192.168.0.8, 52 ms
Reply to request 4 from 192.168.1.18, 120 ms
Reply to request 4 from 192.168.1.18, 120 ms
Reply to request 4 from 192.168.1.18, 72 ms
Reply to request 4 from 192.168.0.8, 72 ms
Reply to request 4 from 192.168.0.8, 52 ms
R1#
mroute status from R18:
R18#show ip mroute 225.0.0.1 | b 225
(*, 225.0.0.1), 05:43:29/stopped, RP 192.168.1.15, flags: SJCL
Incoming interface: Serial3/0, RPF nbr 1.1.1.29
Outgoing interface list:
Loopback0, Forward/Sparse, 05:43:29/00:02:31
(1.0.0.1, 225.0.0.1), 00:00:43/00:02:16, flags: LJT
Incoming interface: Serial3/0, RPF nbr 1.1.1.29, Mbgp
Outgoing interface list:
Loopback0, Forward/Sparse, 00:00:43/00:02:31
(192.168.0.1, 225.0.0.1), 00:00:43/00:02:16, flags: LJT
Incoming interface: Serial3/0, RPF nbr 1.1.1.29, Mbgp
Outgoing interface list:
Loopback0, Forward/Sparse, 00:00:43/00:02:31
(1.0.0.13, 225.0.0.1), 00:00:43/00:02:16, flags: LJT
Incoming interface: Serial3/0, RPF nbr 1.1.1.29, Mbgp
Outgoing interface list:
Loopback0, Forward/Sparse, 00:00:43/00:02:31
R18#
mtrace 1.0.0.1 from R18:
R18#mtrace 1.0.0.1
Type escape sequence to abort.
Mtrace from 1.0.0.1 to 1.1.1.30 via RPF
From source (?) to destination (?)
Querying full reverse path...
0 1.1.1.30
-1 1.1.1.30 PIM [1.0.0.0/24]
-2 1.1.1.29 PIM [1.0.0.0/24]
-3 1.1.1.22 PIM [1.0.0.0/24]
-4 1.1.1.9 PIM [1.0.0.0/24]
-5 1.0.0.45 [AS 1] None [1.0.0.0/30]
-6 1.0.0.37 [AS 1] None [1.0.0.0/30]
-7 1.0.0.29 [AS 1] None [1.0.0.0/30]
-8 1.0.0.17 [AS 1] None [1.0.0.0/30]
-9 1.0.0.13 [AS 1] PIM [1.0.0.1/32]
-10 1.0.0.1
R18#
traceroute 1.0.0.1 from R18 (ipv4 unicast - path is still routed via AS3):
R18#traceroute 1.0.0.1
Type escape sequence to abort.
Tracing the route to 1.0.0.1
1 1.1.1.29 20 msec 40 msec 4 msec
2 1.1.1.22 20 msec 12 msec 12 msec
3 1.1.1.26 88 msec 12 msec 20 msec
4 1.1.1.42 72 msec 52 msec 20 msec
5 1.2.2.33 [AS 3] 44 msec 60 msec 48 msec
6 1.2.2.29 [AS 3] 48 msec 56 msec 68 msec
7 1.2.2.17 [AS 3] 48 msec 84 msec 44 msec
8 1.2.2.13 [AS 3] 116 msec 80 msec 92 msec
9 1.0.0.49 [AS 1] 48 msec 100 msec 60 msec
10 1.0.0.25 [AS 1] 84 msec 80 msec 96 msec
11 1.0.0.9 [AS 1] 128 msec 116 msec 80 msec
12 1.0.0.5 [AS 1] 116 msec 88 msec 124 msec
13 1.0.0.1 [AS 1] 156 msec * 108 msec
R18#
bgp ipv4 multicast table on R18:
R18#show bgp ipv4 multicast
BGP table version is 17, local router ID is 192.168.1.18
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i1.0.0.0/24 1.0.0.45 0 400 0 1 i
*>i1.1.1.0/24 192.168.1.15 0 100 0 i
*>i192.168.0.0 1.0.0.45 0 400 0 1 i
*>i192.168.1.0 192.168.1.15 0 100 0 i
R18#
bgp ipv4 unicast table on R18:
R18#show bgp ipv4 unicast
BGP table version is 43, local router ID is 192.168.1.18
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i1.0.0.0/24 192.168.1.17 0 100 0 3 1 i
*>i1.1.1.0/24 192.168.1.15 0 100 0 i
*>i1.2.2.0/24 192.168.1.17 0 100 0 3 i
*>i192.168.0.0 192.168.1.17 0 100 0 3 1 i
*>i192.168.1.0 192.168.1.15 0 100 0 i
*>i192.168.2.0 192.168.1.17 0 100 0 3 i
R18#
Configuration on R5
R5#show run
Building configuration...
Current configuration : 4148 bytes
!
! Last configuration change at 23:34:32 UTC Tue Dec 13 2011
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
ip multicast-routing
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 192.168.0.5 255.255.255.255
ip pim sparse-mode
ip ospf cost 255
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet2/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet2/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial3/0
description BI~R5-s3_0~T1~R4-s3_1 ~
ip address 1.0.0.18 255.255.255.252
ip pim sparse-mode
ip ospf cost 2
serial restart-delay 0
!
interface Serial3/1
description BI~R5-s3_1~T1~R6-s3_1 ~
ip address 1.0.0.21 255.255.255.252
ip pim sparse-mode
ip ospf cost 2
serial restart-delay 0
!
interface Serial3/2
description BI~R5-s3_2~T1~R8-s3_1 ~
ip address 1.0.0.29 255.255.255.252
ip pim sparse-mode
ip ospf cost 2
serial restart-delay 0
!
interface Serial3/3
no ip address
ip pim sparse-mode
ip ospf cost 2
shutdown
serial restart-delay 0
!
interface Serial3/4
no ip address
ip pim sparse-mode
ip ospf cost 2
shutdown
serial restart-delay 0
!
interface Serial3/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/7
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/7
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 1
bgp log-neighbor-changes
neighbor ibgp peer-group
neighbor ibgp remote-as 1
neighbor ibgp update-source Loopback0
neighbor 192.168.0.1 peer-group ibgp
neighbor 192.168.0.2 peer-group ibgp
neighbor 192.168.0.3 peer-group ibgp
neighbor 192.168.0.4 peer-group ibgp
neighbor 192.168.0.6 peer-group ibgp
neighbor 192.168.0.7 peer-group ibgp
neighbor 192.168.0.8 peer-group ibgp
neighbor 192.168.0.9 peer-group ibgp
neighbor 192.168.0.10 peer-group ibgp
!
address-family ipv4
no synchronization
network 1.0.0.0 mask 255.255.255.0
network 192.168.0.0
neighbor ibgp route-reflector-client
neighbor 192.168.0.1 activate
neighbor 192.168.0.2 activate
neighbor 192.168.0.3 activate
neighbor 192.168.0.4 activate
neighbor 192.168.0.6 activate
neighbor 192.168.0.7 activate
neighbor 192.168.0.8 activate
neighbor 192.168.0.9 activate
neighbor 192.168.0.10 activate
no auto-summary
exit-address-family
!
address-family ipv4 multicast
network 1.0.0.0 mask 255.255.255.0
network 192.168.0.0
neighbor ibgp route-reflector-client
neighbor 192.168.0.1 activate
neighbor 192.168.0.2 activate
neighbor 192.168.0.3 activate
neighbor 192.168.0.4 activate
neighbor 192.168.0.6 activate
neighbor 192.168.0.7 activate
neighbor 192.168.0.8 activate
沒有留言:
張貼留言