RE: [j-nsp] BGP advertise-inactive

From: Stephen Gill (gillsr@yahoo.com)
Date: Tue Oct 02 2001 - 15:39:57 EDT


The route still needs to be the "best" BGP route. Inactive refers to
the "best" BGP routes, but those that are overshadowed by a better
protocol.

-- steve

-----Original Message-----
From: Przemyslaw Karwasiecki [mailto:karwas@ifxcorp.com]
Sent: Tuesday, October 02, 2001 2:31 PM
To: Stephen Gill; juniper@groupstudy.com; juniper-nsp@puck.nether.net
Subject: RE: [j-nsp] BGP advertise-inactive

Thanks for answer.

I have following issue:

JunOS is receiving the same route from iBGP and from OSPF:

karwas@USMIANAPJM20X1A> show route xx.xx.7.0/24
inet.0: 104510 destinations, 104510 routes (103866 active, 0 holddown,
1363 hidden)
+ = Active Route, - = Last Active, * = Both

xxx.xx.7.0/24 *[OSPF/150] 06:55:55, metric 20, tag 0
> via at-3/1/1.1048
                    [BGP/170] 5d 17:43:49, MED 0, localpref 100, from
xxx.xx.0.48
                      AS path: I
> via at-3/1/1.1048
karwas@USMIANAPJM20X1A>

In default configuration BGP route is not "active", so it is not
advertised to eBGP peers.

I need to advertise such routes (overlapped by OSPF) to eBGP peers,
but on the other hand I dont want to advertise to tose peers other
BGP learned routes which lost BGP selection criteria, like for instance
routes with low LOCAL_PREF.

I wasn't sure if "routes NOT selected by JUNOS as active routes"
has a following meaning:

"routes not selected from BGP protocol routing table (Loc-RIB RFC 1771)
 to be insered into Master Forwarding Table (JUNOS DOC)"

or

"routes not selected from BGP Adj-RIB-In (RFC 1771) during BGP
 best route selection process"

Przemek
-----Original Message-----
From: Stephen Gill [mailto:gillsr@yahoo.com]
Sent: Tuesday, October 02, 2001 3:16 PM
To: 'Przemyslaw Karwasiecki'; juniper@groupstudy.com;
juniper-nsp@puck.nether.net
Subject: RE: [j-nsp] BGP advertise-inactive

Short Answer:
It exports all routes learned by BGP (even inactive ones).

Long Answer:
http://www.juniper.net/techpubs/software/junos43/swconfig43-routing/html
/bgp-config40.html#1015169

... snip snip ...
By default, BGP stores the route information it receives from update
messages in the JUNOS routing table, and the routing table exports only
active routes into BGP, which BGP then advertises to its peers. To have
the routing table export to BGP all routes learned by BGP even if the
JUNOS software did not select them to be active routes, include the
advertise-inactive statement:

 advertise-inactive;
 

You can advertise nonactive routes for all BGP groups (at the [edit
protocols bgp] hierarchy level), for all peers in a group (at the [edit
protocols bgp group group-name] level), or for an individual peer (at
the [edit protocols bgp group group-name neighbor address] level).

... snip snip ...

-- steve

-----Original Message-----
From: Przemyslaw Karwasiecki [mailto:karwas@ifxcorp.com]
Sent: Tuesday, October 02, 2001 2:09 PM
To: juniper@groupstudy.com; juniper-nsp@puck.nether.net
Subject: [j-nsp] BGP advertise-inactive

Hello,

Simple questions:

Does BGP ``advertise-inactive'' cause JunOS to
1) advertise best BGP routes which hasn't been injected into
   Master Forwarding Table table because of better routes
   from other protocols, or
2) advertise all BGP routes from all Adj-RIB-In(s)?

Thank you,

Przemek

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:37 EDT