To configure router Topeka:
host3(config)#
router bgp 25
host3(config-router)#
neighbor 10.1.13.1 remote-as 604
host3(config-router)#
network 172.31.64.0 mask 255.255.192.0
Additional configuration is required for routers Biloxi, Memphis, and Jackson; the details
depend on the IGP running in AS 604.
neighbor remote-as
•
Use to add an entry to the BGP neighbor table.
•
Specifying a neighbor with an AS number that matches the AS number specified in the
router bgp command identifies the neighbor as internal to the local AS. Otherwise, the
neighbor is treated as an external neighbor.
•
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.
•
This command takes effect immediately.
•
Use the
no
version to remove an entry from the table.
•
See neighbor remote-as.
Next-Hop-Self
In some circumstances, using a third-party next hop causes routing problems. These
configurations typically involve nonbroadcast multiaccess (NBMA) media. To better
understand this situation, first consider a broadcast multiaccess (BMA) media network,
as shown in Figure 29 on page 107.
Figure 29: Next-Hop Behavior for Broadcast Multiaccess Media
Routers Toledo, Madrid, and Barcelona are all on the same Ethernet network, which has
a prefix of 10.19.7.0/24. When router Toledo advertises prefix 192.168.22.0/23 to router
Madrid, it sets the next-hop attribute to 10.19.7.5. Before router Madrid advertises this
prefix to router Barcelona, it sees that its own IP address, 10.19.7.7, is on the same subnet
as the next hop for the advertised prefix. If router Barcelona can reach router Madrid,
then it should be able to reach router Toledo. Router Madrid therefore advertises
192.168.22.0/23 to router Barcelona with a next-hop attribute of 10.19.7.5.
Now consider Figure 30 on page 108, which shows the same routers on a Frame
Relay—NBMA—network.
107
Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing
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...