Information Technology Reference
In-Depth Information
Example 10-50 shows the relevant configurations on ASBR2. The configurations are
similar to those of ASBR1. However, there is an additional BGP session with RR2
(192.168.100.7) to exchange IPv4 prefixes and labels. The BGP next hop is reset to ASBR2.
Also, no redistribution is configured from BGP to OSPF.
Example 10-50 Relevant Configurations on ASBR2
ip cef
mpls label protocol ldp
!
interface Loopback0
ip address 192.168.100.6 255.255.255.255
!
interface Ethernet0/0
ip address 192.168.67.6 255.255.255.0
tag-switching ip
!
interface Ethernet1/0
ip address 192.168.56.6 255.255.255.0
!
router ospf 6
log-adjacency-changes
passive-interface Ethernet1/0
network 192.168.0.0 0.0.255.255 area 0
!
router bgp 200
no synchronization
bgp router-id 192.168.100.6
bgp log-neighbor-changes
network 192.168.100.4 mask 255.255.255.255
network 192.168.100.7 mask 255.255.255.255
neighbor 192.168.56.5 remote-as 100
neighbor 192.168.56.5 route-map Fr_asbr1 in
neighbor 192.168.56.5 route-map To_asbr1 out
neighbor 192.168.56.5 send-label
neighbor 192.168.100.7 remote-as 200
neighbor 192.168.100.7 update-source Loopback0
neighbor 192.168.100.7 next-hop-self
neighbor 192.168.100.7 send-label
no auto-summary
!
ip prefix-list Adv_100 seq 5 permit 192.168.100.7/32
ip prefix-list Adv_100 seq 10 permit 192.168.100.4/32
!
ip prefix-list Rec_100 seq 5 permit 192.168.100.2/32
ip prefix-list Rec_100 seq 10 permit 192.168.100.3/32
!
route-map To_asbr1 permit 10
match ip address prefix-list Adv_100
set mpls-label
Search WWH ::




Custom Search