Single-Homed EBGP
931
R1(config-router)#
neighbor 192.168.1.1 remote-as 1
R1(config-router)#
network 10.0.1.0 mask 255.255.255.0
R2#
config t
R2(config)#
router bgp 200
R2(config-router)#
neighbor 192.168.2.1 remote-as 1
R2(config-router)#
network 10.0.2.0 mask 255.255.255.0
That’s it! Pretty simple. Now let’s verify our configuration.
Verifying EBGP
We’ll use the following commands to verify our little EBGP network.
■
show ip bgp summary
■
show ip bgp
■
show ip bgp neighbors
The show ip bgp summary Command
The
show
ip bgp summary
command gives you an overview of the BGP status. Each
configured neighbor is listed in the output of the command. The output will display the
IP address and AS number of the neighbor, along with the status of the session. You can
use this information to verify that BGP sessions are up and established, or to verify the IP
address and AS number of the configured BGP neighbor.
ISP#
Do'stlaringiz bilan baham: