R5(PE-ASBR):
mpls label range 500 599
mpls label protocol ldp
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.56.5 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
ip address 192.168.45.5 255.255.255.0
duplex auto
speed auto
!
router ospf 200
router-id 5.5.5.5
log-adjacency-changes
redistribute bgp 200 subnets
network 5.5.5.5 0.0.0.0 area 0
network 192.168.56.0 0.0.0.255 area 0
!
router bgp 200
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.45.4 remote-as 100
!
address-family ipv4
neighbor 192.168.45.4 activate
no auto-summary
no synchronization
network 6.6.6.6 mask 255.255.255.255
network 7.7.7.7 mask 255.255.255.255
exit-address-family
!
mpls ldp router-id Loopback0 |