Information Technology Reference
In-Depth Information
For the purposes of this case study, the last octet of an IP address indicates the router
number. Basic BGP configurations for R1 and R2 are shown in Examples 4-40 and 4-41,
respectively.
Example 4-40 BGP Configuration on R1
router bgp 100
no synchronization
bgp log-neighbor-changes
network 172.15.0.0
neighbor 192.168.12.2 remote-as 100
neighbor 192.168.14.4 remote-as 200
no auto-summary
Example 4-41 BGP Configuration on R2
router bgp 100
no synchronization
bgp log-neighbor-changes
network 172.15.0.0
neighbor 192.168.12.1 remote-as 100
neighbor 192.168.23.3 remote-as 2
neighbor 192.168.25.5 remote-as 300
no auto-summary
Examples 4-42 and 4-43 show the BGP RIB.
Example 4-42 BGP RIB on R1
R1#show ip bgp
BGP table version is 3, local router ID is 192.168.14.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i172.15.0.0 192.168.12.2 0 100 0 i
*> 0.0.0.0 0 32768 i
* i172.16.0.0 192.168.25.5 100 0 300 400 i
*> 192.168.14.4 0 200 400 i
Example 4-43 BGP RIB on R2
R2#show ip bgp
BGP table version is 3, local router ID is 192.168.25.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure
Search WWH ::




Custom Search