Information Technology Reference
In-Depth Information
Example 10-25 BGP Configurations on RR1 (Continued)
neighbor 192.168.100.7 send-community extended
no auto-summary
exit-address-family
To establish eBGP connectivity between the two RRs, both RRs must have IPv4 reachabil-
ity. Additionally, PE devices must have reachability across the AS border to build an end-
to-end LSP. On ASBR1, the loopback addresses of PE1 and RR1 (reachable via local IGP,
OSPF) are installed into the BGP RIB to be advertised to ASBR2.
Example 10-26 shows the OSPF and BGP configurations on ASBR1. The loopback addresses
of PE1 (192.168.100.2) and RR1 (192.168.100.3) are advertised by BGP via the network
command (they can also be redistributed from OSPF to BGP with proper filtering). These
two addresses are advertised to ASBR2 (192.168.56.6) with eBGP labels.
Example 10-26 OSPF and BGP Configurations on ASBR1
router ospf 5
log-adjacency-changes
redistribute bgp 100 subnets
passive-interface Ethernet1/0
network 192.168.0.0 0.0.255.255 area 0
!
router bgp 100
no synchronization
bgp router-id 192.168.100.5
bgp log-neighbor-changes
network 192.168.100.2 mask 255.255.255.255
network 192.168.100.3 mask 255.255.255.255
neighbor 192.168.56.6 remote-as 200
neighbor 192.168.56.6 route-map Fr_asbr2 in
neighbor 192.168.56.6 route-map To_asbr2 out
neighbor 192.168.56.6 send-label
no auto-summary
!
ip prefix-list Adv_200 seq 5 permit 192.168.100.2/32
ip prefix-list Adv_200 seq 10 permit 192.168.100.3/32
!
ip prefix-list Rec_200 seq 5 permit 192.168.100.7/32
ip prefix-list Rec_200 seq 10 permit 192.168.100.4/32
!
route-map To_asbr2 permit 10
match ip address prefix-list Adv_200
set mpls-label
!
route-map Fr_asbr2 permit 10
match ip address prefix-list Rec_200
match mpls-label
Search WWH ::




Custom Search