Information Technology Reference
In-Depth Information
Example 10-49 Relevant Configurations on ASBR1
ip cef
mpls label protocol ldp
!
interface Loopback0
ip address 192.168.100.5 255.255.255.255
!
interface Ethernet0/0
ip address 192.168.35.5 255.255.255.0
tag-switching ip
!
interface Ethernet1/0
ip address 192.168.56.5 255.255.255.0
!
router ospf 5
log-adjacency-changes
redistribute bgp 100 subnets route-map bgp2ospf
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_200 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 bgp2ospf permit 10
match ip address prefix-list Rec_200
!
route-map To_asbr2 permit 10
match ip address prefix-list Adv_200
set mpls-label
!
route-map Fr_200 permit 10
match ip address prefix-list Rec_200
match mpls-label
Search WWH ::




Custom Search