Information Technology Reference
In-Depth Information
Example 4-46 BGP Configuration on R3
router bgp 2
neighbor 192.168.23.2 remote-as 2
neighbor 192.168.36.6 remote-as 300
neighbor 192.168.36.6 route-map Path-300 out
!
route-map Path-300 permit 10
set as-path prepend 2 2
The new BGP RIB on R1, R2, and R7 is shown in Examples 4-47, 4-48, and 4-49,
respectively.
Example 4-47 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
* 172.15.0.0 192.168.12.2 0 0 2 i
*> 0.0.0.0 0 32768 i
* 172.16.0.0 192.168.12.2 0 2 300 400 i
*> 192.168.14.4 0 200 400 i
Example 4-48 BGP RIB on R2
R2#show ip bgp
BGP table version is 5, local router ID is 192.168.25.2
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
* 172.15.0.0 192.168.12.1 0 0 100 i
*> 0.0.0.0 0 32768 i
*> 172.16.0.0 192.168.25.5 100 300 400 i
* 192.168.12.1 0 100 200 400 i
* i 192.168.36.6 100 0 300 400 i
Example 4-49 BGP RIB on R7
R7#show ip bgp
BGP table version is 4, local router ID is 192.168.57.7
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure
Search WWH ::




Custom Search