From: Richard Davidson (rich@myhomemail.net)
Date: Thu Oct 17 2002 - 21:01:47 GMT-3
I have had the worst time with this bgp bestpath med missing-as-worst command. It never seems to work right. As you can see I have the command in the bgp config, but the bgp routing table does not make all of the zero metrics 2^32 metrics. I got it to work using and inbound route map with the metric to zero but no other time. Does this command just not work right in general. Does any one know any links or pages in books that will help explain this?
Rich
****
#srb bgp
router bgp 1
bgp always-compare-med
bgp bestpath med missing-as-worst
bgp bestpath compare-routerid
network 20.20.20.0 mask 255.255.255.0
network 150.150.150.0 mask 255.255.255.0
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
neighbor 150.150.150.2 remote-as 2
neighbor 193.16.0.1 remote-as 2
*********
A#sib
BGP table version is 26, local router ID is 192.168.4.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
*> 0.0.0.0 193.16.0.1 30 0 2 ?
* 150.150.150.2 4294967294 0 2 ?
*> 6.6.6.0/24 193.16.0.1 0 0 2 i
* 150.150.150.2 4294967294 0 2 i
*> 20.20.20.0/24 0.0.0.0 0 32768 i
*> 150.150.150.0/24 0.0.0.0 0 32768 i
*> 172.16.0.0/30 150.150.150.2 0 0 2 i
* 193.16.0.1 0 0 2 i
*> 172.16.0.16/30 193.16.0.1 0 0 2 ?
* 150.150.150.2 4294967294 0 2 ?
*> 192.168.1.0 0.0.0.0 0 32768 i
*> 192.168.2.0 0.0.0.0 0 32768 i
*> 192.168.4.0 0.0.0.0 0 32768 i
*> 193.16.0.0/30 193.16.0.1 0 0 2 ?
* 150.150.150.2 4294967294 0 2 ?
*> 193.16.1.0 193.16.0.1 30 0 2 ?
* 150.150.150.2 4294967294 0 2 ?
A#
This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:50 GMT-3