From: jonatale@xxxxxxxxxxxxx
Date: Sun Mar 17 2002 - 19:45:36 GMT-3
any resolution on this?
-- i thought it worked [before]
Paul Loh wrote:
> Question: When redistributing OSPF to BGP, even if I
> specify a metric of 888 in the command "redistribute
> ospf 1 metric 888 route-map OspfToBgp", how come the
> metric is not reflected in the BGP table?
>
> !
> router ospf 1
> redistribute connected metric 15 subnets route-map
> Connected
> redistribute bgp 2 metric 10 subnets route-map
> BgpToOspf
> network 137.20.64.6 0.0.0.0 area 0
> network 137.20.224.6 0.0.0.0 area 0
> network 137.20.60.1 0.0.0.0 area 0
> !
> router bgp 2
> redistribute ospf 1 metric 888 route-map OspfToBgp
> network 137.20.86.0 mask 255.255.255.0
> neighbor 137.20.25.1 remote-as 2
> neighbor 137.20.25.1 update-source Loopback0
> neighbor 137.20.25.1 next-hop-self
> neighbor 137.20.86.1 remote-as 1
> neighbor 137.20.86.1 default-originate
> no auto-summary
>
> r6#sb
> BGP table version is 15, local router ID is
> 137.20.60.1
> Status codes: s suppressed, * valid, > best, i -
> internal
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf
> Weight Path
> *>i0.0.0.0 137.20.25.1 0 100
> 0 i
> * i137.20.10.0/24 137.20.25.1 0 100
> 0 i
> *> 137.20.64.5
> 32768 ?
> *> 137.20.20.0/24 137.20.64.5
> 32768 ?
> *> 137.20.25.0/24 137.20.64.5
> 32768 ?
> *> 137.20.40.16/28 137.20.64.5
> 32768 ?
> *> 137.20.86.0/24 0.0.0.0 0
> 32768 i
> *> 137.20.100.32/27 137.20.64.5
> 32768 ?
> *> 137.20.200.16/28 137.20.64.5
> 32768 ?
> *> 137.20.240.1/32 137.20.64.5
> 32768 ?
> *>i172.168.70.0/24 137.20.25.1 170 100
> 0 3 i
> *> 172.168.80.0/24 137.20.86.1 0
> 0 1 i
> *> 200.200.100.1/32 137.20.64.5
> 32768 ?
> *> 200.200.200.1/32 137.20.64.5
> 32768 ?
> r6#
>
> Any help is appreciated. Thanks in advance.
>
> Paul
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:11 GMT-3