From: Brian McGahan (brian@cyscoexpert.com)
Date: Thu Oct 17 2002 - 21:54:04 GMT-3
Richard,
        The command is working correctly.  The key point to keep in mind
is 'missing' MED.  A MED of NULL and a MED of 0 are not the same.  In
the case presented here, all MEDs that were missing received a value of
2^32, and everything else remained the same.
        For more detail:
http://www.cisco.com/en/US/tech/tk648/tk365/technologies_tech_note09186a
0080094431.shtml
HTH
Brian McGahan, CCIE #8593
Director of Design and Implementation
brian@cyscoexpert.com
CyscoExpert Corporation
Internetwork Consulting & Training
Voice: 847.674.3392
Fax: 847.674.2625
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Richard Davidson
> Sent: Thursday, October 17, 2002 7:02 PM
> To: groupstudy
> Subject: bgp bestpath med missing-as-worst :-(
> 
> 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