- About the Author
- Introduction
- Part I: Git for Network Configurations
- 1. Why Network Engineers Need Version Control
- 2. Setting Up Git on Your Workstation or Jump Host
- 3. Your First Config Repository
- 4. Reading Config History
- 5. Rolling Back a Bad Change
- 6. Baselines and Golden Configs with Tags
- Part II: Branching and Teamwork
- 7. Branches for Change Windows
- 8. Merging Approved Changes
- 9. Conflicts: Two Engineers, One ACL
- 10. Sharing the Config Repository
- 11. Rescue Kit: Stash, Rebase, Reflog
- Part III: GitLab for Network Teams
- 12. A GitLab Project for Your Network
- 13. Change Requests with Issues and Merge Requests
- 14. Protecting Production
- 15. CI for Network Configs: Lint and Validate
- 16. Automated Backups and Deployment
- Part IV: Capstone Project
- 17. Capstone Project: Bringing a New Branch Site Online
- Appendixes
- A. Git Command Cheat Sheet for Network Engineers
- B. Troubleshooting Git and GitLab Errors
- C. Answers to Review Questions
- D. The ACME Lab and Final Configurations
- E. Glossary
Git and GitLab for Network Engineers
Version-Control Your Configs, Review Every Change, and Build Your First NetDevOps Pipeline
Stop guessing what changed on your network. This hands-on guide shows network engineers how to version-control every config with Git, review every change in GitLab, and build a NetDevOps pipeline that checks and deploys changes for you, using real Cisco configs and 200 tested terminal figures.
Minimum price
$19.00
$29.00
You pay
Author earns
About
About the Book
Most network outages start with a change, and most teams can’t say exactly what changed, who changed it, or why. Configs live in shared folders named final_v2_REAL.txt, rollbacks depend on someone’s memory, and auditors get a spreadsheet instead of evidence.
This book shows network engineers how to fix that with Git and GitLab. You’ll put every device configuration under version control, review every change as a merge request, and build a pipeline that checks, deploys, and watches your network for you.
You’ll work on one realistic network, ACME Corp, from the very first commit to a full NetDevOps pipeline. Every command is shown with its real terminal output, in 200 figures taken from tested sessions, and every chapter ends with a hands-on “Break It, Fix It” lab.
What you’ll learn:
- Track every config change, and find who changed what in seconds
- Roll back a bad change safely, and mark known-good baselines with tags
- Prepare changes on branches, merge them, and resolve conflicts between engineers
- Run change reviews as GitLab merge requests, with approvals and protected branches
- Catch mistakes automatically with a CI pipeline and a Python policy check
- Back up, deploy, and detect configuration drift with Ansible driven by GitLab
- Bring a new branch site online end to end in a full capstone project
Who this book is for: network engineers, administrators, and NOC staff with CCNA-level networking knowledge. No prior Git, programming, or DevOps experience is needed. Every new term is explained in plain language, and every chapter includes real-world examples from network operations.
Download the free sample to read the Introduction and the first three chapters.
Author
About the Author
K G Pramod (CCIE® #49662, Data Center) is a network architect and technical author with over two decades of experience in data center networking, enterprise infrastructure, private cloud, AI and GPU networking, network automation, and high-performance computing.
He has worked across the complete network lifecycle, from architecture and design to implementation, production operations, and complex troubleshooting, with deep expertise in Cisco ACI, VXLAN EVPN, BGP, MPLS, and large-scale data center fabrics.
He is the creator of VEX-NX, a network emulation and lab platform that makes advanced networking accessible through hands-on experimentation. His philosophy: “Don’t just learn the commands. Understand the technology, build it, break it, troubleshoot it, and master it.”
LinkedIn: linkedin.com/in/kgpramod Website: vex-nx.com · Documentation: docs.vex-nx.com
Contents
Table of Contents
Get the free sample chapters
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.