After looking at the correct page, p. 328, I see nothing in those configs or
your configs to set the metric, or MED, so it is defaulting to zero. My
guess is that the "show ip bgp" output that shows the metric set to 20 for
some of those routes is wrong.
Regardless, unless you have specifically configured the advertising router
to set the MED to something other than the default, you will see zeroes.
Someone else should verify this, since I just looked quickly and may not be
considering all the details.
HTH,
John
> hi
>
> I have set up a lab as per the "Internet Routing Architectures - Second
> Edition sample network on Pg 313 and I have encountered a problem with
> iBGP. IT does not seem to want to record the metrics from the iBGP in
> the BGP tables. His network is using Ethernet interfaces and I am using
> Frame Relay PVCs but it shouldn't matter, should it?
>
> My configs
>
> RTA IOS 12.0(7)
>
> router ospf 10
> passive-interface Serial0.102
> network 172.16.1.1 0.0.0.0 area 0
> network 172.16.2.254 0.0.0.0 area 0
> network 172.16.20.2 0.0.0.0 area 0
> !
> router bgp 3
> no synchronization
> network 172.16.1.0 mask 255.255.255.0
> network 172.16.20.0 mask 255.255.255.0
> network 172.16.220.0 mask 255.255.255.0
> neighbor 172.16.1.2 remote-as 3
> neighbor 172.16.1.2 update-source Loopback2
> neighbor 172.16.20.1 remote-as 1
> neighbor 172.16.20.1 filter-list 10 out
> no auto-summary
>
> RTF 11.1(24) (sorry, it's the best image I can fit on this old 2503)
>
> router ospf 10
> network 172.16.1.2 0.0.0.0 area 0
> !
> router bgp 3
> no synchronization
> network 172.16.65.0 mask 255.255.255.0
> network 172.16.10.0 mask 255.255.255.0
> network 172.16.1.0 mask 255.255.255.0
> neighbor 172.16.2.254 remote-as 3
> neighbor 172.16.2.254 next-hop-self
> neighbor 192.68.5.2 remote-as 2
> neighbor 192.68.5.2 filter-list 10 out
> no auto-summary
>
> The BGP tables and a close up look on a distant network are shown below
>
> RTA(3810)#sh ip bgp
> BGP table version is 38, local router ID is 192.168.110.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
> * i172.16.1.0/24 172.16.1.2 0 100 0 i
> *> 0.0.0.0 0 32768 i
> *>i172.16.10.0/24 172.16.1.2 0 100 0 i
> *> 172.16.20.0/24 0.0.0.0 0 32768 i
> *>i172.16.65.0/24 172.16.1.2 0 100 0 i
> *> 172.16.220.0/24 0.0.0.0 0 32768 i
> *>i192.68.10.0 172.16.1.2 0 100 0 2 i
> * 172.16.20.1 0 1 2 i
> *> 192.68.11.0 172.16.20.1 0 0 1 i
> RTA(3810)#
> RTA(3810)#sh ip bgp 172.16.65.0
> BGP routing table entry for 172.16.65.0/24, version 37
> Paths: (1 available, best #1, table Default-IP-Routing-Table)
> Flag: 0x208
> Advertised to non peer-group peers:
> 172.16.20.1
> Local
> 172.16.1.2 from 172.16.1.2 (192.168.150.1)
> Origin IGP, metric 0, localpref 100, valid, internal, best
> RTA(3810)#
>
>
>
> RTF(2503)#sh ip bgp
> BGP table version is 73, local router ID is 192.168.150.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 0.0.0.0 0 32768 i
> * i 172.16.2.254 0 100 0 i
> *> 172.16.10.0/24 0.0.0.0 0 32768 i
> *>i172.16.20.0/24 172.16.2.254 0 100 0 i
> *> 172.16.65.0/24 0.0.0.0 0 32768 i
> *>i172.16.220.0/24 172.16.2.254 0 100 0 i
> *> 192.68.10.0 192.68.5.2 0 0 2 i
> * 192.68.11.0 192.68.5.2 0 2 1 i
> *>i 172.16.20.1 0 100 0 1 i
>
> RTF(2503)#sh ip bgp 172.16.220.0
> BGP routing table entry for 172.16.220.0/24, version 72
> Paths: (1 available, best #1, advertised over EBGP)
> Local
> 172.16.2.254 (metric 1539) from 172.16.2.254 (192.168.110.1)
> Origin IGP, metric 0, localpref 100, valid, internal, best
> RTF(2503)#
>
>
> All the internal metrics are zero. In the IRA book it clearly has
> passed the metrics. What's happening. I can't find anything on the
> cisco site
>
>
> Thanks
> Ian
>
>
> _________________________________
> FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]