results of the new policy, you must use the clear ip bgp peer-group command
to perform a hard clear or outbound soft clear of the peer group. You cannot
merely perform a hard clear or outbound soft clear for individual peer group
members because that causes BGP to resend only the contents of the Adj-RIBs-Out
table.
■ Example
host1(config)#rneighbor 192.168.5.34 route-map nyc1 in
■ Use the no version to remove the route map.
■ See neighbor route-map.
route-map
■ Use to define the conditions for redistributing routes from one routing protocol
into another, and for filtering or modifying updates sent to or received from
peers.
■ Each route-map command has a list of match and set commands associated
with it.
■ The match commands specify the match criteria—the conditions under which
redistribution is allowed for the current route map.
■ The set commands specify the set actions—the redistribution actions to perform
if the criteria enforced by the match commands are set.
■ Use route maps when you wish to have detailed control over how routes are
redistributed between routing processes.
■ The destination routing protocol is the one you specify with the router command.
■ The source routing protocol is the one you specify with the redistribute command.
■ A clause with multiple values matches a route having any of the values; that is,
the multiple values are logical ORed.
■ 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 unless it is overridden for a specific peer.
■ Example
host1(config)#route-map nyc1 permit 10
■ Use the no version to delete the route map.
■ See route-map.
set as-path prepend
■ Use to modify an AS path for BGP routes by prepending one or more AS numbers
or a list of AS numbers to the path list.
■ The only global BGP metric available to influence the best-path selection is the
AS-path length. By varying the length of the AS path, a BGP speaker can influence
the best-path selection by a peer farther away.
■ Example
76 ■ Configuring BGP Routing Policy
JUNOSe 11.1.x BGP and MPLS Configuration Guide