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 HopDestination
10.2.2.110.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