The German chancellor says Nato leaders will aim to ensure peace in Europe for generations to come.