because the next-hop address is not accessible. Router Memphis does a lookup in
its IP routing table to determine how to reach 10.1.13.2:
Next Hop
Destination
10.2.2.1
10.1.13.0/24
The next hop is reachable through router Jackson, and the traffic can be forwarded.
The following commands configure the routers as shown in Figure 28 on page 108:
To configure router Jackson:
host1(config)#
router bgp 604
host1(config-router)#
neighbor 10.1.13.2 remote-as 25
host1(config-router)#
neighbor 10.2.2.2 remote-as 604
host1(config-router)#
network 192.168.22.0 mask 255.255.254.0
To configure router Memphis:
host2(config)#
router bgp 604
host2(config-router)#
neighbor 10.2.2.1 remote-as 604
host2(config-router)#
network 172.24.160.0 mask 255.255.224.0
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.
Selecting the Best Path
■
109
Chapter 1: Configuring BGP Routing
Summary of Contents for BGP
Page 6: ...vi ...
Page 8: ...viii JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1 ...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 234: ...198 Monitoring BGP JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 542: ...506 Monitoring BGP MPLS VPNs JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 544: ...508 Layer 2 Services Over MPLS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 610: ...574 Virtual Private LAN Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 624: ...588 VPLS References JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 680: ...644 Virtual Private Wire Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 724: ...688 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 725: ...Part 6 Index Index on page 691 Index 689 ...
Page 726: ...690 Index JUNOSe 11 1 x BGP and MPLS Configuration Guide ...