Information Technology Reference
In-Depth Information
Example 4-50 BGP Configuration on R1
neighbor 192.168.14.4 route-map Set-lpref in
!
route-map Set-lpref permit 10
set local-preference 120
Example 4-51 BGP Configuration on R2
router bgp 2
network 172.15.0.0
neighbor 192.168.12.1 remote-as 2
neighbor 192.168.23.3 remote-as 2
neighbor 192.168.25.5 remote-as 300
neighbor 192.168.25.5 local-as 100 no-prepend
neighbor 192.168.25.5 weight 100
The BGP RIB is shown in Examples 4-52, 4-53, and 4-54 for R1, R2, and R7, respectively.
Example 4-52 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
*> 172.16.0.0 192.168.14.4 120 0 100 200 400 i
* i 192.168.25.5 100 0 300 400 i
Example 4-53 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
* i172.15.0.0 192.168.12.1 0 100 0 i
*> 0.0.0.0 0 32768 i
* i172.16.0.0 192.168.14.4 120 0 100 200 400 i
*> 192.168.25.5 100 300 400 i
* i 192.168.36.6 100 0 300 400 i
Search WWH ::




Custom Search