If you issue the
neighbor default-originate
command, BGP sends the default route
to that neighbor regardless of whether the default route exists in the IP forwarding
table.
In Figure 15 on page 56, router NY originates the default route 0.0.0.0/0 to router
Albany only. Router Chicago does not receive the default route.
Figure 15: Advertising a Default Route
To configure router NY:
host1(config)#
router bgp 200
host1(config-router)#
network 192.168.42.0 mask 255.255.254.0
host1(config-router)#
neighbor 10.3.3.1 remote-as 300
host1(config-router)#
neighbor 192.168.10.2 remote-as 100
host1(config-router)#
neighbor 192.168.10.2 default-originate
You can also specify a route map to modify the attributes of the default route. If the
default route does not match the route map, then the default route is not advertised.
Redistributing Default Routes
By default, the
redistribute
command does not permit a default route to be
redistributed into BGP. You can use the
default-information originate
command to
override this behavior and permit the redistribution of default routes into BGP.
default-information originate
■
Use to enable the redistribution of default routes into BGP.
■
Use the
route-map
keyword to specify outbound route maps to apply to the
default route. The route map can modify the attributes of the default route.
■
This command takes effect immediately. However, if the contents of the route
map specified with this command change, the new route map may or may not
take effect immediately. If the
disable-dynamic-redistribute
command has
been configured, you must issue the
clear ip bgp redistribution
command to
apply the changed route map.
■
Outbound policy configured for the neighbor (using the
neighbor route-map
out
command) is applied to default routes that are advertised because of the
default-information originate
command.
56
■
Advertising Routes
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...