•
The command is disabled by default.
•
Example
host2(config-router)#
bgp advertise-best-external-to-internal
•
Use the
no
version to restore the default condition, wherein BGP selects one best route
for each destination from the complete set of routes; if the best route was received
from an internal peer, no route to the destination is advertised to the internal peers.
•
See bgp advertise-best-external-to-internal.
Redistributing Routes into BGP
BGP can learn about routes from sources other than BGP updates from peers. Routes
known to other protocols can be
redistributed
into BGP. Similarly, routes manually
configured on a router—static routes—can be redistributed into BGP. After the routes are
redistributed, BGP advertises the routes. When you redistribute routes, BGP sets the
origin attribute for the route to Incomplete. See “Understanding the Origin Attribute” on
page 114 for more information about origins.
The following commands configure three static routes on router Boston and configure
router Boston to redistribute the static routes and routes from OSPF into BGP for the
network structure shown in Figure 14 on page 53:
host2(config)#
ip route 172.30.0.0 255.255.0.0 192.168.10.12
host2(config)#
ip route 172.16.8.0 255.255.248.0 10.211.5.7
host2(config)#
ip route 192.168.4.0 255.255.254.0 10.14.147.2
host2(config)#
router bgp 29
host2(config-router)#
neighbor 10.1.1.2 remote-as 92
host2(config-router)#
redistribute static
host2(config-router)#
redistribute ospf
Figure 14: Redistributing Routes into BGP
clear bgp ipv6 redistribution
clear ip bgp redistribution
•
Use to reapply policy to routes that have been redistributed into BGP.
•
This command takes effect immediately.
53
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...