I believe there can be two cases using default-originate and route-map
respectively to inject 0.0.0.0 to bgp neighbor.
(1)default-originate
router bgp 200
neighbor 200.100.1.2 remote-as 400
neighbor 200.100.1.2 default-originate
(2)route-map
router bgp 200
redistribute static route-map default-map
neighbor 200.100.1.2 remote-as 400
!
route-map default-map permit 10
match ip address 1
!
access-list 1 permit 0.0.0.0
Reviewing the Cisco command manual, the combination of default-originate and route-map has different meaning.
Cheers.
On Thu, 4 Jan 2001 12:26:25 -0500
Insik_Park@infonet.com wrote:
> Hello all,
>
> I am trying to inject default route 0.0.0.0 to eBGP neighbor using
> default-originate and route map, but it doesn't seem to work. Below is the
> configuration. Am I missing something? If I use default-originate without
> route-map, then it successfully injects default network to eBGP neighbor.
>
> !
> router bgp 200
> neighbor 200.100.1.2 remote-as 400
> neighbor 200.100.1.2 default-originate route-map default-map
> !
> route-map default-map permit 10
> match ip address 1
> !
> access-list 1 permit 0.0.0.0
> !
> ip route 0.0.0.0 0.0.0.0 195.190.1.1
>
> ------------------
> !
> router bgp 400
> neighbor 200.100.1.1 remote-as 200
>
>
>
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:24 EDT