eBGP configuration
Router#show ip bgp
BGP table version is 1, local router ID is 172.16.102.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Router#router bgp 20
^
% Invalid input detected at '^' marker.
Router#neighbor 172.16.102.2 remote-as 10
^
% Invalid input detected at '^' marker.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#show ip bgp
^
% Invalid input detected at '^' marker.
Router(config)##router bgp 20
^
% Invalid input detected at '^' marker.
Router(config)#router bgp 20
Router(config-router)#neighbor 172.16.102.2 remote-as 10
Router(config-router)#
% Cannot configure the local system as neighbor
Router(config-router)#neighbor 172.16.1.1 remote-as 10
Router(config-router)#
Router(config-router)#exit
Router(config)#show ip bgp
^
% Invalid input detected at '^' marker.
Router(config)#do show ip bgp
BGP table version is 1, local router ID is 172.16.102.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Router(config)#
Router>en
Router#conf t
Router(config)#router bgp 20
Router(config-router)#neighbor 172.16.1.1 remote-as 120
Router(config-router)#network 172.16.0.0 mask 255.255.255.0
Router(config-router)#exit
Router(config)#do show ip bgp
BGP table version is 1, local router ID is 192.168.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Router(config)#