•
New policy values are applied to all routes that are sent (outbound policy) or received
(inbound policy) after you issue the command.
•
To apply the new policy to routes that are already present in the BGP routing table,
you must use the
clear ip bgp
command to perform a soft clear or hard clear of the
current BGP session.
•
Behavior is different for outbound policies configured for peer groups for which you
have enabled Adj-RIBs-Out. If you change the outbound policy for such a peer group
and want to fill the Adj-RIBs-Out table for that peer group with the 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-router)#
neighbor allowas-in
•
Use the
no
version to prevent the acceptance of these routes, resulting in the BGP
speaker’s discarding the routes.
•
See neighbor allowas-in.
Controlling Route Importation
You can control how many routes a PE router can add to a particular VRF’s forwarding
table by specifying a maximum limit and a warning threshold. When the router attempts
to add a route, it compares the limit you configure against a route count it maintains for
routes already in the VRF’s forwarding table.
With a warning threshold configured, the following behavior takes place when the PE
router attempts to add a route:
•
When adding the route causes the route count to exceed the warning threshold for the
first time, the router adds the route and generates a warning-threshold-exceeded log
entry.
•
As long as the route count stays above the warning threshold, adding more routes does
not generate more warning-threshold-exceeded log entries.
•
If the route count fluctuates below and above the warning threshold due to route
deletions and additions, an interval of 5 minutes since the last
warning-threshold-exceeded log entry must pass before another
warning-threshold-exceeded log entry can be generated. This behavior prevents the
system log from being flooded with log entries.
With a limit configured, the following behavior takes place when the PE router attempts
to add a route:
•
When adding the route causes the route count to exceed the limit for the first time, the
router rejects the route and generates a limit-exceeded log entry.
•
As long as the route count stays at the limit, further attempts to add routes fail, but
do not generate any more limit-exceeded log entries.
Copyright © 2010, Juniper Networks, Inc.
452
JunosE 11.2.x BGP and MPLS Configuration Guide
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...