From: Edwards, Andrew M (andrew.m.edwards@boeing.com)
Date: Thu Sep 01 2005 - 19:50:12 GMT-3
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 <bgp
inject-map vs. neighbor advertise-map>.
Besides, <neighbor advertise map> has extra option to advertise
segment(s) to peer if the condition is not exist <non-exist-map> or
exist <exist-map> vs.<bgp inject-map exist-map> 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
This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:13 GMT-3