R3:
ip vrf CSC_×××
rd 13:3
route-target export 24:4
route-target export 13:3
route-target import 24:4
route-target import 13:3
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip router isis
!
interface Serial1/0.301 point-to-point
ip address 13.0.0.3 255.255.255.0
ip router isis
mpls bgp forwarding
mpls ip
frame-relay interface-dlci 301
!
interface Serial1/0.305 point-to-point
ip vrf forwarding CSC_×××
ip address 35.0.0.3 255.255.255.0
mpls bgp forwarding
frame-relay interface-dlci 305
!
router isis
net 49.3333.3333.3333.00
is-type level-1
!
router bgp 13
bgp router-id 3.3.3.3
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 13
neighbor 1.1.1.1 update-source Loopback0
!
address-family ***v4
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 send-community extended
exit-address-family
!
address-family ipv4 vrf CSC_×××
no synchronization
neighbor 35.0.0.5 remote-as 5678
neighbor 35.0.0.5 activate
neighbor 35.0.0.5 as-override
neighbor 35.0.0.5 send-label
exit-address-family
!
R4:
ip vrf CSC_×××
rd 24:4
route-target export 13:3
route-target export 24:4
route-target import 13:3
route-target import 24:4
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
ip router isis
interface Serial1/0
no ip address
encapsulation frame-relay
!
interface Serial1/0.402 point-to-point
ip address 24.0.0.4 255.255.255.0
ip router isis
mpls bgp forwarding
mpls ip
frame-relay interface-dlci 402
!
interface Serial1/0.406 point-to-point
ip vrf forwarding CSC_×××
ip address 46.0.0.4 255.255.255.0
mpls bgp forwarding
frame-relay interface-dlci 406
!
router isis
net 49.4444.4444.4444.00
is-type level-2-only
!
router bgp 24
bgp router-id 4.4.4.4
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 24
neighbor 2.2.2.2 update-source Loopback0
!
address-family ***v4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community extended
exit-address-family
!
address-family ipv4 vrf CSC_×××
no synchronization
neighbor 46.0.0.6 remote-as 5678
neighbor 46.0.0.6 activate
neighbor 46.0.0.6 as-override
neighbor 46.0.0.6 send-label
exit-address-family
!
R5:
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface Serial1/0
no ip address
encapsulation frame-relay
!
interface Serial1/0.503 point-to-point
ip address 35.0.0.5 255.255.255.0
mpls bgp forwarding
frame-relay interface-dlci 503
!
interface Serial1/1
ip address 57.0.0.5 255.255.255.0
mpls ip
!
router ospf 100
log-adjacency-changes
redistribute bgp 5678 subnets
passive-interface Loopback0
network 5.5.5.5 0.0.0.0 area 0
network 57.0.0.5 0.0.0.0 area 0
!
router bgp 5678
bgp router-id 5.5.5.5
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 35.0.0.3 remote-as 13
!
address-family ipv4
no synchronization
redistribute ospf 100
neighbor 35.0.0.3 activate
neighbor 35.0.0.3 send-label
no auto-summary
exit-address-family
!
R6:
interface Loopback0
ip address 6.6.6.6 255.255.255.255
!
interface Serial1/0.604 point-to-point
ip address 46.0.0.6 255.255.255.0
mpls bgp forwarding
frame-relay interface-dlci 604
!
interface Serial1/1
ip address 68.0.0.6 255.255.255.0
mpls ip
!
router ospf 100
router-id 6.6.6.6
log-adjacency-changes
redistribute bgp 5678 subnets
passive-interface Loopback0
network 6.6.6.6 0.0.0.0 area 0
network 68.0.0.6 0.0.0.0 area 0
!
router bgp 5678
bgp router-id 6.6.6.6
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 46.0.0.4 remote-as 24
!
address-family ipv4
no synchronization
redistribute ospf 100
neighbor 46.0.0.4 activate
neighbor 46.0.0.4 send-label
no auto-summary
exit-address-family
!
转载于:https://blog.51cto.com/golehuang/823541