Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual page 145

Junose software for e series routing platforms
Table of Contents

Advertisement

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:
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:
To configure router Memphis:
To configure router Topeka:
Additional configuration is required for routers Biloxi, Memphis, and Jackson; the
details depend on the IGP running in AS 604.
neighbor remote-as
Destination
10.1.13.0/24
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
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
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
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
10.2.2.1
Selecting the Best Path
Chapter 1: Configuring BGP Routing
109

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents