From: Curtis Lindsay (clindsay_98@xxxxxxxxx)
Date: Mon Feb 26 2001 - 12:34:19 GMT-3
You need the the subnet command in your
redistribution.
redistribute bgp 2 subnets metric 20 route-map RINGS
Curtis
--- Dan Skiptunas <dskiptunas@jannon.com> wrote:
> To All,
> I have a problem with the BGP routes not being
> redistributed into OSPF or
> it's looking like that, attached is the config to
> the router . Can someone
> have a look and see where I have made a mistake.
>
>
> Current configuration:
> !
> version 11.2
> no service password-encryption
> no service udp-small-servers
> no service tcp-small-servers
> !
> hostname rtr6
> !
> enable password cisco
> !
> ip tcp synwait-time 5
> no ip domain-lookup
> !
> interface Loopback0
> ip address 137.20.169.1 255.255.255.0
> !
> interface Tunnel0
> no ip address
> tunnel source 137.20.161.1
> tunnel destination 137.20.161.2
> !
> interface Ethernet0
> ip address 137.20.193.2 255.255.240.0
> no ip redirects
> ip ospf priority 200
> standby 1 timers 5 10
> standby 1 priority 100
> standby 1 preempt
> standby 1 authentication cisco
> standby 1 ip 137.20.193.3
> standby 1 track Ethernet0
> bridge-group 1
> !
> interface Serial0
> ip address 137.20.161.1 255.255.255.0
> no fair-queue
> bridge-group 1
> !
> interface Serial1
> no ip address
> shutdown
> !
> router ospf 60
> redistribute connected subnets route-map CONN
> redistribute bgp 2 metric 20 route-map RINGS
> network 137.20.192.0 0.0.15.255 area 0
> network 137.20.169.0 0.0.0.255 area 0
> !
> router bgp 2
> redistribute ospf 60 route-map ospf2bgp
> neighbor 137.20.161.2 remote-as 1
> neighbor 137.20.161.2 ebgp-multihop 255
> neighbor 137.20.161.2 update-source Loopback0
> neighbor 137.20.161.2 default-originate
> neighbor 200.200.200.1 remote-as 2
> neighbor 200.200.200.1 ebgp-multihop 255
> neighbor 200.200.200.1 update-source Loopback0
> no auto-summary
> !
> ip classless
> access-list 1 permit 137.20.161.0 0.0.0.255
> access-list 2 permit 172.168.70.0 0.0.0.255
> access-list 2 permit 137.20.33.0 0.0.0.255
> access-list 2 permit 160.0.0.0 0.255.255.255
> access-list 6 permit 137.20.233.0 0.0.0.255
> access-list 6 permit 137.20.237.0 0.0.0.255
> access-list 10 permit any
> route-map CONN permit 10
> match ip address 1
> !
> route-map RINGS deny 10
> match ip address 6
> !
> route-map RINGS permit 20
> !
> route-map ospf2bgp permit 20
> match route-type internal
> !
> route-map ospf2bgp deny 25
> match ip address 2
> !
> route-map ospf2bgp permit 30
> match route-type external
> !
> route-map ospf2bgp permit 40
> match ip address 10
> !
> bridge 1 protocol ieee
> !
> line con 0
> line aux 0
> line vty 0 4
> no login
> !
> end
>
> rtr6#
>
>
>
>
>
>
>
>
>
>
>
>
>
> Dan Skiptunas
> Network Engineer
> NEC-BNS
> Office :203-461-9200 ex.421
> Pager : 888.672.8636
>
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:02 GMT-3