Network Automation Made Easy
Ivo Pinto [CCIE No. 57162]
Cisco Press
Network Automation Made Easy
Ivo Pinto
Copyright 2022 Cisco Systems, Inc.
Cisco Press logo is a trademark of Cisco Systems, Inc.
Published by:
Cisco Press
All rights reserved. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, request forms, and the appropriate contacts within the Pearson Education Global Rights & Permissions Department, please visit www.pearson.com/permissions.
No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein.
ScoutAutomatedPrintCode
Library of Congress Control Number: 2021915881
ISBN-13: 978-0-13-750673-6
ISBN-10: 0-13-750673-2
Warning and Disclaimer
This book is designed to provide information about network automation, it covers the current landscape, practical applications, tools, and techniques. Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied.
The information is provided on an as is basis. The authors, Cisco Press, and Cisco Systems, Inc. shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the discs or programs that may accompany it.
The opinions expressed in this book belong to the author and are not necessarily those of Cisco Systems, Inc.
Feedback Information
At Cisco Press, our goal is to create in-depth technical books of the highest quality and value. Each book is crafted with care and precision, undergoing rigorous development that involves the unique expertise of members from the professional technical community.
Readers feedback is a natural continuation of this process. If you have any comments regarding how we could improve the quality of this book or otherwise alter it to better suit your needs, you can contact us through email at . Please make sure to include the book title and ISBN in your message.
We greatly appreciate your assistance.
Editor-in-Chief
Mark Taub
Alliances Manager, Cisco Press
Arezou Gol
Director, ITP Product Management
Brett Bartow
Managing Editor
Sandra Schroeder
Development Editor
Ellie C. Bru
Project Editor
Mandie Frank
Copy Editor
Kitty Wilson
Technical Editors
Asier Arlegui Lacunza; Celia Ortega Gomez
Editorial Assistant
Cindy Teeters
Designer
Chuti Prasertsith
Composition
codeMantra
Indexer
Proofreader
Trademark Acknowledgments
All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Cisco Press or Cisco Systems, Inc. cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.
About the Author
Ivo Pinto, CCIE No. 57162 (R&S, Security, and Data Center), CISSP, is a Solutions Architect with many years of experience in the fields of multicloud, automation, and enterprise and data center networking. Ivo has worked at Cisco in different roles and different geographies, and he has led the architecture creation and deployment of many automated global-scale solutions for Fortune 50 companies that are in production today. In his latest role, he is responsible for multicloud innovation at the Customer Experience CTO office. Ivo is the founder of IT OnTrack (www.itontrack.com), a provider of services to young professionals who are looking to further their careers in IT. Ivo has authored Cisco white papers and multiple Cisco exam questions.
Follow Ivo on LinkedIn @ivopinto01.
About the Technical Reviewers
Asier Arlegui Lacunza, CCIE No. 5921, has been with Cisco since 1998 and currently works as a Principal Architect in the Cisco Customer Experience organization. In the past 20+ years of his career at Cisco, he has worked as a technical architect on a wide range of enterprise (data center, campus, and enterprise WAN) and service provider (access and core networking) technology projects, with a focus on network automation. He holds a master's degree in telecommunications engineering from Public University of Navarra, Spain.
Celia Ortega Gomez joined Cisco in the Network Consulting Engineer Associate Program in 2017. She has been working as a consulting engineer, focusing on network automation, routing and switching, and visibility technologies in the Cisco Customer Experience organization for EMEAR customers. She holds several industry certifications and is now working as the Manager for South PMO Office and High Touch services.
Dedications
I would like to dedicate this book to my family, who has supported me on every step of this long journey. To my loving mother, thank you for believing that one day I would write a book. To my wonderful wife, thank you for the tireless encouragement throughout the process. And last but not least, to my two cats, Oscar and Tofu, who kept me company during the countless all-nighters I pulled to finish the book.
Acknowledgments
Special thanks to the technical reviewers, Asier Arlegui and Celia Ortega Gomez, who contributed to a substantial increase in quality not only with their corrections but also suggestions to the content of this book. Also, special thanks to Pedro Marques, Pedro Trigueira, and Miguel Santos for their guidance and advice throughout the process. I would like to thank my former and my current leadership at Cisco, Stefaan de Haan, Mark Perry, Carlos Pignataro, Adele Trombeta, and Steve Pickavance, for supporting me during the lengthy process of writing a book.
This book wouldn't have been possible without the support of many people on the Cisco Press team. Brett Bartow, Director, Pearson IT professional Group, was instrumental in sponsoring the book and driving it to execution. Eleanor Bru, Development Editor, has done an amazing job in the technical review cycle, and it has been an absolute pleasure working with you. Also, many thanks to the numerous Cisco Press unknown soldiers working behind the scenes to make this book happen.
Contents at a Glance
Command Syntax Conventions
The conventions used to present command syntax in this book are the same conventions used in Ciscos Command Reference. The Command Reference describes these conventions as follows:
Boldface indicates commands and keywords that are entered literally as shown. In actual configuration examples and output (not general command syntax), boldface indicates commands that are manually input by the user (such as a