From: Harbir Kohli (harbirk@xxxxxxxxxxxx)
Date: Sat Aug 12 2000 - 23:14:51 GMT-3
Hello Group,
I am seeing the following which seems
**********RTA********
router bgp 3
redistribute ospf 1
neighbor 172.16.20.1 remote-as 1
no auto-summary
***********
RTA#sh ip ro
...
O E2 192.68.5.0/24 [110/20] via 172.16.1.2, 00:32:21, Serial0
O E2 192.68.10.0/24 [110/20] via 172.16.1.2, 00:32:22, Serial0
B 192.68.11.0/24 [20/0] via 172.16.20.1, 00:02:11
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 172.16.2.254/32 is directly connected, Loopback0
C 172.16.220.0/24 is directly connected, Ethernet0
C 172.16.20.0/24 is directly connected, Serial1
C 172.16.1.0/24 is directly connected, Serial0
O 172.16.65.0/24 [110/74] via 172.16.1.2, 00:39:37, Serial0
************
RTC#sh ip bgp
BGP table version is 7, local router ID is 192.68.11.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 172.16.1.0/24 172.16.20.2 0 0 3 ?
*> 172.16.2.254/32 172.16.20.2 0 0 3 ?
*> 172.16.20.0/24 172.16.20.2 0 0 3 ?
*> 172.16.65.0/24 172.16.20.2 74 0 3 ?
*> 172.16.220.0/24 172.16.20.2 0 0 3 ?
*> 192.68.11.0 0.0.0.0 0 32768 i
************
Questions
Q1 I am only doing redistribute OSPF so why do see the 172.16.x.y
networks in BGP ?
Q2 Why are these rotues not being redistributed 192.68.5.0 and
192.68.10.0
Q3 If I change the redistribute statement
***OLD
router bgp 3
redistribute ospf 1
neighbor 172.16.20.1 remote-as 1
no auto-summary
******NEW
router bgp 3
redistribute ospf 1 match external 1 external 2
neighbor 172.16.20.1 remote-as 1
no auto-summary
*******Result
RTC#sh ip bgp
BGP table version is 15, local router ID is 192.68.11.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.68.5.0 172.16.20.2 20 0 3 ?
*> 192.68.10.0 172.16.20.2 20 0 3 ?
*> 192.68.11.0 0.0.0.0 0 32768 i
Question : why do the 176.16.x.y networks vanish ?
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:24 GMT-3