commands supported by existing outbound policies are supported. The additional clauses
are useful when you want to match only on a specific route with a specific set of attributes.
Only the
permit
keyword is acted on in a match clause. The
deny
keyword is ignored.
Only exact matching of a prefix referenced by exist maps or non-exist maps is supported.
Consequently a range specified by the
ge
or
le
keyword in the prefix list referenced by
these route maps is ignored.
Clauses in a route map that include
set
commands or the
match-set summary prefix-tree
command are ignored. To change the attributes of conditionally advertised routes, you
must use outbound routing policy.
If the contents of a referenced route map are changed, the new route map takes effect
automatically.
neighbor advertise-map
•
Use to specify a peer or peer group within the current address family to which routes
specified by a route map are advertised conditionally, depending on whether a second
route map is matched by some other routes in the BGP routing table.
•
If you specify a BGP peer group by using the
peerGroupName
argument, all the members
of the peer group inherit the characteristic configured with this command. This
characteristic cannot be overridden for individual members of the peer group.
•
This command takes effect immediately.
•
Example
host1(config-router-af)#
neighbor 192.168.2.2 advertise-map advertiseroutes exist-map
matchroute sequence 10
•
Use the
no
version to remove the conditions set for advertising to the peer or peer group
the routes specified by the route map. Use the
default
version to remove the explicit
configuration from the peer or peer group and reestablish inheritance of the feature
configuration.
•
See neighbor advertise-map.
Advertising a Route Only When Another Route is Present
You can use the
exist-map
keyword with the
neighbor advertise-map
command to
advertise a route only when the routing table contains some other particular route.
In the network shown in Figure 18 on page 66, router 2 (R2) has established BGP sessions
with both router 1 (R1) and router 3 (R3). The plan is for router 2 to send router 1 an
advertisement for the route to prefix 10.10.20.0/24 only if router 2 has received a route
to prefix 172.24.19.0/24 from router 3.
Alternatively, if the route to prefix 172.24.20.0 has been installed in the BGP routing table
on router 2, then router 2 advertises to router 1 the route to prefix 10.10.30.0. In this case,
the route does not have to be learned from router 3.
65
Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...