Real Madrid boss Carlo Ancelotti says the goal is to match president Florentino Perez's four-year term.