RE: BGP Default-information originate

From: Roger Oliver (divineone@divine-wind.net)
Date: Fri Aug 29 2008 - 04:03:00 ART


Hello Mark!

Here is Cisco Documentation: (And I mocked it up for you I hope this
helps you see the command better)

neighbor {ip-address | peer-group-name} default-originate [route-map
map-name]
Example:
Router(config-router-af)# neighbor 192.168.3.2 default-originate
Permits a BGP speakerbthe local routerbto send the default route
0.0.0.0 to a peer for use as a default route.
URL:
http://www.cisco.com/en/US/docs/ios/iproute/configuration/guide/irp_bgp_basic_net_ps6350_TSD_Products_Configuration_Guide_Chapter.html

From my lab just built for you =)

R1#
router bgp 100
bgp router-id 1.1.1.1
neigh 10.1.12.2 remote-as 200
neigh 10.1.12.2 default-originate
netw 11.0.0.0
netw 1.0.0.0

R2#
router bgp 200
bgp router-id 2.2.2.2
network 2.0.0.0
neigh 10.1.12.1 remote-as 100

R2(config-router)#do sh ip bgp
BGP table version is 5, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 10.1.12.1 0 0 100 i
*> 1.0.0.0 10.1.12.1 0 0 100 i
*> 2.0.0.0 0.0.0.0 0 32768 i
*> 11.0.0.0 10.1.12.1 0 0 100 i
R2(config-router)

R2#
R2(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS
level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static
route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.1.12.1 to network 0.0.0.0

B 1.0.0.0/8 [20/0] via 10.1.12.1, 00:01:09
C 2.0.0.0/8 is directly connected, Loopback0
     10.0.0.0/24 is subnetted, 2 subnets
C 10.1.12.0 is directly connected, Serial3/0.21
C 10.1.23.0 is directly connected, Ethernet0/0
B 11.0.0.0/8 [20/0] via 10.1.12.1, 00:01:09
B* 0.0.0.0/0 [20/0] via 10.1.12.1, 00:01:09
R2(config-router)#

HTH

> -------- Original Message --------
> Subject: BGP Default-information originate
> From: "Mark Stephanus Chandra" <mark.chandra@gmail.com>
> Date: Thu, August 28, 2008 11:21 pm
> To: "'Cisco certification'" <ccielab@groupstudy.com>
>
>
> Guys,
>
>
>
> Need more Help.
>
>
>
> Questioning about command default-information originate in BGP
>
> I have search all my e-book, bgp book, no good explanation about
> default-information originate in bgp configuration.
>
>
>
> For exmaple if I have command like this :
>
>
>
> Router bgp 200
>
> default-information originate
>
>
>
> When I insert this command into my BGP process, it doesn't effect anything.
> My neighbor don't receive any default.
>
>
>
> So I am thingking maybe it's like ospf default-information originate, when
> your router doesn't have a default route, it's not gonna advertise a default
> route to it's neighbor.
>
>
>
> So I guess I insert a static default-route but nothing happens either.
>
>
>
> Could anyone give me explanation when this command take effect
>
>
>
> Thanks Guys, really appreciate your help
>
>
>
>
>
> Regards
>
>
>
> Mark Stephanus Chandra
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:33 ART