From: dusth@comcast.net
Date: Thu Sep 01 2005 - 19:59:31 GMT-3
Hi Edwards,
Yes, you are right. However, I do not know when to use b/t <advertise-map exist-map> and the <bgp inject-map exist-map>.
These two commands offer same result besides advertise-map populates to specific neighbor vs. bgp inject-map populate into BGP routing table or using bgp inject-map with route-map apply to neighbor to limit only certain segment(s) pass to the neighbor.
Any advise when to use the other other than depend on the question in the test??
Thanks,
Dustin
-------------- Original message --------------
> Dustin,
>
> The advertise-map simply provides "tweaked logic" on which routes to
> advertise. Such as when a non-exist-map is true, do NOT advertise the
> exist-map. Obviously, when the non-exist-map is false, the exist-map is
> then advertised.
>
>
> Inject-map however has a more specific function of allowing you to
> inject "more specific" prefixes into the BGP table with the following
> usage guidelines from CCO.
>
>
> "Inject-map
>
> Usage Guidelines
> The bgp inject-map command is used to configure conditional route
> injection. Conditional Route Injection allows you to originate a more
> specific prefix into a BGP routing table without a corresponding match.
> Two route maps (exist-map and inject-map) are configured in global
> configuration mode and then specified with the bgp inject-map command in
> address family or router configuration mode.
>
> The exist-map specifies the prefix that the BGP speaker will track. This
> route map must contain a match ip address prefix-list command statement
> to specify the aggregate prefix and a match ip route-source prefix-list
> command statement to specify the route source.
>
> The inject-map defines the prefixes that will be created and installed
> into the routing table. Injected prefixes are installed in the local BGP
> RIB. A valid parent route must exist; Only prefixes that are equal to or
> more specific than the aggregate route (existing prefix) can be
> injected.
>
> The copy-attributes keyword is used to optionally configure the injected
> prefix to inherit the same attributes as the aggregate route. If this
> keyword is not entered, the injected prefix will use the default
> attributes for locally originated routes. "
>
> HTH,
>
> andy
> -----Original Message-----
> From: dusth@comcast.net [mailto:dusth@comcast.net]
> Sent: Thursday, September 01, 2005 3:06 PM
> To: ccielab@groupstudy.com
> Subject: bgp inject-map vs. neighbor advertise-map
>
>
> Hi group,
> I need some of your BGP knowledge shed me in the light on the similarity
> and differences and when to use which option b/t these two commands > inject-map vs. neighbor advertise-map>.
> Besides, has extra option to advertise
> segment(s) to peer if the condition is not exist or
> exist vs. has only option to
> advertise segments(s) to peer only if the condition exist, whatelse or
> when I should use over the other.
>
> Thanks in advance.
> Dustin
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:13 GMT-3