You are on page 1of 2

hostname Router

!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip vrf blue
rd 65000:2
route-target export 65000:2
route-target import 65000:2
route-target import 65000:1
!
ip vrf red
rd 65000:1
route-target export 65000:1
route-target import 65000:2
!
ip vrf vlue
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip vrf forwarding red
ip address 10.0.0.1 255.255.255.0
duplex full
!
interface FastEthernet1/0
ip vrf forwarding blue
ip address 20.0.0.1 255.255.255.0
duplex full
!
interface FastEthernet2/0
no ip address
shutdown
duplex full
!
router ospf 1 vrf red
router-id 4.4.4.4
redistribute bgp 65000 subnets
network 10.0.0.0 0.0.0.255 area 0
!
router ospf 2 vrf blue
router-id 3.3.3.3
redistribute bgp 65000 subnets
network 20.0.0.0 0.0.0.255 area 0
!
router bgp 65000
bgp router-id 45.45.45.45
bgp log-neighbor-changes
!
address-family ipv4 vrf blue
redistribute connected
redistribute ospf 2
exit-address-family
!
address-family ipv4 vrf red
redistribute connected
redistribute ospf 1
exit-address-family
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!

You might also like