RE: neighbor default-originate

From: Jim Brown (Jim.Brown@xxxxxxxxxxxxx)
Date: Fri Oct 12 2001 - 14:12:02 GMT-3


   
Wayne,

I have used this command successfully. I know this works. I pretty sure I
used it under 12.07 and 12.1.1.

It works exactly as expected, not tricks, traps, or gotchas.

It just advertises a default route to that peer/neighbor only. I can see a
possible test question now.... A router with multiple external peers and
they want you to advertise a default route to a particular AS, but make sure
it isn't in the routing tables of the other ASs.

You could use the null0 method and filter outbound, or just use the neighbor
default-originate command the required AS.

This is why I think auto grading of exams will never work unless they give
you so much configuration detail they tell you all the information except
the exact command to use.

Cisco would be certifying a bunch of cut-and-paste experts at this point.

-----Original Message-----
From: Wayne Lewis [mailto:lewisway@hcc.hawaii.edu]
Sent: Friday, October 12, 2001 10:56 AM
To: cciegroupstudy
Subject: BGP: neighbor default-originate

        Has anyone had luck getting the 'neighbor default-originate' command
to
work in BGP? Below in double quotes is what CCO says. I tried this on
different pairs of routers exactly as below with no luck (one pair of
routers use versions 12.2(5) and 12.0(5)T1 and the other pair use 12.0(5)T
and 12.0(9)).
        I was only able to get the 0.0.0.0 to propagate using 'ip route
0.0.0.0
0.0.0.0 null0' coupled with 'network 0.0.0.0'.

"To allow a BGP speaker (the local router) to send the default route 0.0.0.0
to a neighbor for use as a default route, use the neighbor default-originate
router configuration command.

This command does not require the presence of 0.0.0.0 in the local router.

In the following example, the local router injects route 0.0.0.0 to the
neighbor 160.89.2.3 unconditionally:

router bgp 109
 network 160.89.0.0
 neighbor 160.89.2.3 remote-as 200
 neighbor 160.89.2.3 default-originate"

        Thanks,

          Wayne



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 22:33:18 GMT-3