Latest / CyberSecurity Summary / Programming and Automating Cisco Networks: A guide to network programmability and automation in the data center, campus, and WAN
Transcript
- 0:00Speaker 1: Hey everyone, and welcome back. Ready to dive into something
- 0:03Speaker 1: pretty huge in the tech world.
- 0:05Speaker 2: Absolutely, we're talking all about network programmability today.
- 0:07Speaker 1: Yeah, and to really get into it, we're going deep
- 0:10Speaker 1: on this awesome book Programming and Automating Cisco Networks. This
- 0:14Speaker 1: stuff is changing how networks are built, like from the
- 0:17Speaker 1: ground up.
- 0:18Speaker 2: It's a total game changer, not just a tech buzzword.
- 0:21Speaker 2: This is like a fundamental shift, you know, how we
- 0:24Speaker 2: think about network, designing them, managing them, the whole nine
- 0:27Speaker 2: yards exactly.
- 0:29Speaker 1: And no matter where you're at, whether you're a coding
- 0:31Speaker 1: guru or well, let's just say you've been typing commands
- 0:34Speaker 1: since before I was born.
- 0:35Speaker 2: Hopefully not that long ago.
- 0:36Speaker 1: Hum, but you get the idea. This deep dive is
- 0:40Speaker 1: for you. We're giving you the tools the knowledge to
- 0:42Speaker 1: navigate this whole network programmability thing.
- 0:45Speaker 2: And what's really cool is that it is accessible whether
- 0:48Speaker 2: you're just starting out or you've been in the field
- 0:51Speaker 2: for years.
- 0:51Speaker 1: Okay, so let's get into it. Why is now the
- 0:54Speaker 1: time for this change? What's the big push behind all
- 0:57Speaker 1: this network programmability stuff.
- 0:59Speaker 2: It's a perfect storm. Really. You've got cloud computing blowing
- 1:02Speaker 2: up data everywhere and businesses. They need to move faster
- 1:07Speaker 2: than ever. The old way like manually configuring every little thing, yeah,
- 1:11Speaker 2: just doesn't cut it.
- 1:12Speaker 1: Yeah. The book makes that super clear with that story
- 1:14Speaker 1: about the company, right, the one that missed out on
- 1:16Speaker 1: a huge EE opportunity because their network just couldn't adapt
- 1:19Speaker 1: fast enough.
- 1:20Speaker 2: Exactly. It's a wake up call in today's world. Your network,
- 1:24Speaker 2: it can either hold you back or launch you forward.
- 1:27Speaker 2: Network programmability, it's about making sure it's the second.
- 1:30Speaker 1: One makes sense. So how does it actually do that
- 1:33Speaker 1: make networks faster, more adaptable? What's the secret? Sauce?
- 1:37Speaker 2: Software. We're using software to automate all those tedious tasks,
- 1:41Speaker 2: to organize resources, even create systems that can fix themselves.
- 1:46Speaker 2: Remember all those times you spent troubleshooting until two am?
- 1:49Speaker 1: Don't remind me, right?
- 1:51Speaker 2: Network programmability can automate a lot of that, free you
- 1:54Speaker 2: up for more, shall we say, strategic thinking?
- 1:57Speaker 1: Okay, now you're talking my language. Less time fighting with
- 1:59Speaker 1: command line, more time for you know, actual thinking. So
- 2:03Speaker 1: automation versus programmability. The book kind of touches on this,
- 2:06Speaker 1: but I think it would help to dig a little deeper.
- 2:08Speaker 2: Totally think of it like this automation is like those microwaves,
- 2:12Speaker 2: you know, the popcorn button. Preset instructions works for specific things,
- 2:17Speaker 2: but not very flexible programmability. That's like having a full
- 2:21Speaker 2: on chef's kitchen. Yeah right, you call the shots, customize everything.
- 2:25Speaker 1: So basic microwave versus like five star restaurant level control exactly.
- 2:31Speaker 2: With programmability, you're not stuck with preset options. You've got
- 2:34Speaker 2: the power to fine tune everything.
- 2:36Speaker 1: That's amazing. So how does coding actually fit into all
- 2:38Speaker 1: of this? I'll admit it can seem kind of intimidating,
- 2:41Speaker 1: especially in networking.
- 2:42Speaker 2: I get it, but it's not as scary as it sounds.
- 2:44Speaker 2: A lot of the ideas are similar to what you
- 2:46Speaker 2: already do as a network engineer. Think about changing an
- 2:49Speaker 2: NTP server. Do it once, no big deal, but now
- 2:52Speaker 2: imagine doing that across say hundreds of devices.
- 2:56Speaker 1: Ugh. I think my fingers are starting to cramp up
- 2:58Speaker 1: just thinking about all that typing exactly.
- 3:00Speaker 2: That's where coding comes in. Write a script, automate that
- 3:02Speaker 2: whole process faster, fewer errors.
- 3:05Speaker 1: And the book really seems to like Python for this
- 3:07Speaker 1: right programming and automating Cisco networks. They're big fans for.
- 3:11Speaker 2: A good reason. Python is super versatile, relatively easy to learn,
- 3:14Speaker 2: and it's used everywhere in network programmability. What's really cool
- 3:19Speaker 2: is it's even used in stuff like open stack for
- 3:21Speaker 2: managing those cloud environments. So the skills you learn they translate.
- 3:25Speaker 1: Okay, so Python it is. And this isn't just some
- 3:28Speaker 1: like niche skill, right. It sounds like this is valuable
- 3:31Speaker 1: across it absolutely so for our listeners who are like
- 3:34Speaker 1: ready to jump into the coding pool. What are some
- 3:36Speaker 1: tools that can make it less you know, intimidating? Oh?
- 3:41Speaker 2: For sure. The book highlights a few. One that stands
- 3:44Speaker 2: out is pipe charm. It's like having a coding buddy
- 3:47Speaker 2: helps you write your code, test it, fix any bugs, autocomplete,
- 3:51Speaker 2: syntax highlighting. Think of it like spell check but for code.
- 3:54Speaker 1: Okay, so less chance of messing everything up. I can
- 3:56Speaker 1: get behind that. What about get and get hub? The
- 3:59Speaker 1: book mentions though too.
- 4:00Speaker 2: Those are essential, especially if you're working with a team.
- 4:03Speaker 2: Imagine working on a script, you make some changes, then bam,
- 4:06Speaker 2: you realize you need to go back to an earlier version.
- 4:08Speaker 1: Oh I've been there. Stringtel plus z is my best friend.
- 4:12Speaker 2: Right, But with get you can track every single change
- 4:15Speaker 2: you've made, go back to any previous version, life saver
- 4:19Speaker 2: and GitHub. That's where we saw your code, work with
- 4:22Speaker 2: other people on projects, that kind of thing.
- 4:24Speaker 1: So it's like a time machine and a collaboration hub
- 4:26Speaker 1: all in one.
- 4:27Speaker 2: You got it.
- 4:28Speaker 1: Okay, So we've got the why behind network programmability. We've
- 4:32Speaker 1: talked about automation versus programmability. We've even dipped our toes
- 4:36Speaker 1: into the coding world with Python, pie Charm, the whole shebang.
- 4:40Speaker 1: What I'm really curious about is Cisco. They're, you know,
- 4:43Speaker 1: the hardware giant. How are they embracing this whole software
- 4:46Speaker 1: driven thing? What are they doing to keep up?
- 4:48Speaker 2: That's the question, right And the book dives into this
- 4:51Speaker 2: with the Nexus nine thousand series, prime example of Cisco
- 4:55Speaker 2: bridging that gap between hardware and software.
- 4:57Speaker 1: Okay, so spill the tea on the Nexus nine thousand.
- 5:00Speaker 1: What makes them so special for network programmability.
- 5:03Speaker 2: It's all in the architecture really. See, in the past,
- 5:06Speaker 2: network devices were like those black boxes, right, tough to
- 5:10Speaker 2: work with, hard to automate. The next is nine thousand.
- 5:13Speaker 2: It changes all that. It runs on Linux.
- 5:15Speaker 1: Wait, hold up, Linux on a network switch that's like,
- 5:19Speaker 1: I don't know, teaching my dog to do my taxes
- 5:22Speaker 1: or something. It just sounds wrong, huh.
- 5:24Speaker 2: I know, right. It seems weird at first, but it's
- 5:27Speaker 2: huge because now you can use all those familiar Linux
- 5:31Speaker 2: tools languages like Python to work directly with the switch.
- 5:34Speaker 2: No more clunky workarounds.
- 5:36Speaker 1: So we're talking about really merging networking and software development,
- 5:39Speaker 1: like they're actually on speaking terms now exactly.
- 5:42Speaker 2: And it gets even cooler. The Nexus nine thousand supports
- 5:45Speaker 2: containers too, call it guest shell.
- 5:47Speaker 1: Guest shell sounds kind of friendly for something so technical.
- 5:50Speaker 2: Right, but it's powerful stuff. Imagine running apps directly on
- 5:53Speaker 2: the switch itself, no need for a separate server. It's
- 5:56Speaker 2: all right there.
- 5:56Speaker 1: Okay, that's got to be a game changer for performance.
- 5:59Speaker 1: But what kind of apps are we talking about here?
- 6:01Speaker 2: I think network monitoring, security analysis, even custom stuff you
- 6:05Speaker 2: name it. Running these directly on the switch, it means
- 6:08Speaker 2: things happen faster, smoother, more efficiently.
- 6:10Speaker 1: So it's like having a mini data center built right
- 6:13Speaker 1: into the switch itself.
- 6:14Speaker 2: You've got it and the cherry on top. Cisco's got
- 6:16Speaker 2: this thing called the devnet sandbox. It's a virtual environment
- 6:19Speaker 2: where you can actually test all this out.
- 6:21Speaker 1: Oh nice, so our listeners they can actually get hands
- 6:23Speaker 1: on without the risk of blowing up their entire companies network.
- 6:27Speaker 2: Exactly, safe space to experiment, learn the ropes, really get
- 6:31Speaker 2: a feel for what network programmability can do.
- 6:33Speaker 1: Love it. But we've been talking a lot about like
- 6:36Speaker 1: data centers, these high end switches. What about everyone else?
- 6:40Speaker 1: Does this apply to, say, campus networks ones?
- 6:45Speaker 2: Absolutely? In fact, you could argue that it's even more
- 6:47Speaker 2: impactful in those environments. Yeah, campus networks they can be massive, right,
- 6:51Speaker 2: hundreds even thousands of devices. That's where Cisco's apic EM
- 6:55Speaker 2: comes in.
- 6:55Speaker 1: Apic EM as in Application Policy, Infrastructure, Controller and Prize Module.
- 7:01Speaker 2: You got it.
- 7:01Speaker 1: Okay, that's a mouthful.
- 7:03Speaker 2: I hear you. But the name's a mouthful, The functionality's
- 7:06Speaker 2: even better, trust me. Remember that example in the book
- 7:09Speaker 2: about configuring QoS quality of service on a really large network, Yeah.
- 7:15Speaker 1: The one where doing it manually would take like a
- 7:17Speaker 1: whole team of engineers a week.
- 7:19Speaker 2: Exactly, with a bic EM, you can automate that entire thing,
- 7:23Speaker 2: set your QoS policies across the whole network just a
- 7:26Speaker 2: few clicks, Boom done.
- 7:27Speaker 1: I bet that saves a ton of headaches too. So
- 7:29Speaker 1: how does it work? What's the magic behind epic em.
- 7:32Speaker 2: It's all about centralized control. Epic EM. It's like the
- 7:35Speaker 2: brain of your network. It sees everything, all your device is,
- 7:38Speaker 2: all your settings all in one place.
- 7:40Speaker 1: So no more logging into each device one by one
- 7:43Speaker 1: like it's the Stone Age or something exactly.
- 7:45Speaker 2: And get this. Apic em is built on open APIs
- 7:49Speaker 2: just like the NEXTUS nine thousand. It plays well with others,
- 7:52Speaker 2: third party tools, systems, you name it.
- 7:54Speaker 1: Okay, so we're talking about a flexible system here, not
- 7:57Speaker 1: just locked into Cisco Land. But what about the wham.
- 8:00Speaker 1: We've covered data centers, campus networks, but the land seems
- 8:03Speaker 1: like could be even trickier with the old school ways.
- 8:06Speaker 2: You're not wrong. Wands can be a real pain, especially
- 8:10Speaker 2: now with cloud apps everywhere. Everyone needs their connection to
- 8:13Speaker 2: be rock solid. That's where Cisco's intelligent one comes in.
- 8:17Speaker 1: I won for sure, I wan another acronym. Is starting
- 8:21Speaker 1: to think these Cisco folks just love them. But what
- 8:23Speaker 1: makes it so intelligent? Fill me in?
- 8:26Speaker 2: Okay, imagine this. You're driving right and you've got different
- 8:30Speaker 2: routes to your destination. Do you always take the exact
- 8:33Speaker 2: same one.
- 8:34Speaker 1: Not if I can help it. Traffic accidents got to
- 8:38Speaker 1: mix it up sometimes exactly.
- 8:39Speaker 2: Sometimes you want the fastest routes, sometimes the most scenic.
- 8:42Speaker 2: Sometimes you just want to avoid the tolls. Right, depends
- 8:44Speaker 2: on your priorities.
- 8:45Speaker 1: Okay, so is I like the GPS for your network
- 8:48Speaker 1: traffic or what.
- 8:49Speaker 2: You got it? It's always checking out all the available
- 8:51Speaker 2: WAN links in PLS, Internet, you name it, and it
- 8:54Speaker 2: routes traffic based on what's needed. Maybe an app needs
- 8:57Speaker 2: top speed, maybe you need to keep cast down. I
- 9:01Speaker 2: one figures it out.
- 9:02Speaker 1: So let me get this straight. I WAN can prioritize
- 9:04Speaker 1: traffic for say, like a big video conference, make sure
- 9:07Speaker 1: that goes smoothly, even if someone's downloading a massive file
- 9:10Speaker 1: at the same time.
- 9:11Speaker 2: Precisely, it's about making the most of what you got,
- 9:14Speaker 2: making sure everyone have the best possible experience, even when
- 9:18Speaker 2: things get crazy.
- 9:19Speaker 1: Okay, that's pretty slick. So we've got apic M automating
- 9:23Speaker 1: the campus, i WAN acting like a traffic cop for
- 9:25Speaker 1: the one. What I'm seeing is this isn't just about
- 9:28Speaker 1: making our lives easier as network engineers. It's about letting
- 9:31Speaker 1: businesses actually do more be more responsive in this whole digital.
- 9:36Speaker 2: World one hundred percent. And it's bigger than just Cisco too.
- 9:39Speaker 2: There's this whole world of open source tools, technologies, all
- 9:43Speaker 2: built on these same principles.
- 9:44Speaker 1: Oh yeah, that's right. We've been Cisco heavy so far,
- 9:47Speaker 1: but we can't ignore the open source world for sure.
- 9:50Speaker 2: And this is where things get really interesting. Open standards,
- 9:53Speaker 2: open source tools. They're making network programmability accessible to everyone,
- 9:57Speaker 2: not just the big players.
- 9:58Speaker 1: So you're telling me, and if you're not a Cisco shop,
- 10:01Speaker 1: you can still get in on this.
- 10:03Speaker 2: Absolutely. We've talked a lot about what Cisco's doing, which
- 10:05Speaker 2: is huge, but network programmability it's bigger than any one company.
- 10:09Speaker 2: It's a movement.
- 10:10Speaker 1: I love it. So let's talk open source. Then. What
- 10:14Speaker 1: are some of the big names the tools our listeners
- 10:17Speaker 1: should know about.
- 10:18Speaker 2: Okay, so we're ditching the big brand names from a minute,
- 10:21Speaker 2: heading into the open source world. What's out there? Give
- 10:24Speaker 2: us the highlights.
- 10:25Speaker 1: One name you'll hear everywhere is Yang And no it's
- 10:28Speaker 1: not some hip new band.
- 10:29Speaker 2: Oh that would be pretty cool, right.
- 10:32Speaker 1: But Yang it stands for yet another next generation and
- 10:35Speaker 1: it's all about creating one language for network devices to speak.
- 10:40Speaker 2: Yet another next generation. Someone was having fun with that one. Yeah,
- 10:44Speaker 2: but okay, why is a common language so important. We're
- 10:46Speaker 2: talking about networks here, not the un Think about it.
- 10:49Speaker 1: You've got all these different companies, right, Cisco, Juniper, whoever.
- 10:52Speaker 1: Each one's got their own way of doing things, configuring devices,
- 10:55Speaker 1: managing them. It's like a tower of Babbel Yang. It's
- 10:58Speaker 1: like the universal translator.
- 10:59Speaker 2: So I could use the same tools, same scripts to
- 11:01Speaker 2: manage like a Cisco switch and a Juniper Rider. No problem,
- 11:05Speaker 2: you got it.
- 11:06Speaker 1: It's about breaking down those walls, making it easier to
- 11:09Speaker 1: manage a network that's got a little bit of everything. Okay,
- 11:12Speaker 1: that makes sense. Let's headache for everyone. But Yang's just
- 11:15Speaker 1: part of the picture, right Right.
- 11:16Speaker 2: You've also got net conf, which is how we actually
- 11:19Speaker 2: talk to those devices using the Yang model.
- 11:21Speaker 1: So Yang's like the blueprint net con and f's the
- 11:24Speaker 1: construction crew making it happen.
- 11:26Speaker 2: Perfect analogy, nailed it.
- 11:28Speaker 1: Okay, what about actual tools? Anything open source that uses
- 11:32Speaker 1: this stuff?
- 11:33Speaker 2: Oh yeah, tons. One example is CONFD, developed by this
- 11:37Speaker 2: company tailhaf Systems before Cisco scooped them up.
- 11:41Speaker 1: Wait, Cisco bought a company making open source stuff interesting?
- 11:44Speaker 2: It is shows you how important this whole movement is becoming.
- 11:47Speaker 2: Even the big guys are paying attention for sure.
- 11:50Speaker 1: So back to CONFD. What is it? What's the deal?
- 11:53Speaker 2: It's a platform let you build your own network management apps,
- 11:57Speaker 2: custom made for what you need. Provides all the p
- 12:00Speaker 2: you just put them together like.
- 12:01Speaker 1: A Lego set for a network engineers.
- 12:03Speaker 2: Basically, you get to be creative.
- 12:05Speaker 1: I like it.
- 12:06Speaker 2: Now.
- 12:06Speaker 1: You mentioned another one earlier, Open Daylight. What's that all about?
- 12:10Speaker 2: Oh, that's a big one. Open Daylight. It's a whole
- 12:12Speaker 2: operating system for your network, open source, totally modular.
- 12:16Speaker 1: So if con off D's like the Lego set, open
- 12:18Speaker 1: Daylight is more like, I don't know, building a whole house.
- 12:20Speaker 2: From scratch exactly. It's a huge community effort, lots of
- 12:24Speaker 2: people working on it, adding new features, making it better
- 12:26Speaker 2: all the time.
- 12:27Speaker 1: That's awesome, real community spirit right there.
- 12:30Speaker 2: Okay, last one I got asked about ansable. It's everywhere
- 12:34Speaker 2: in the automation world. Does it have a place in
- 12:37Speaker 2: network programmability?
- 12:38Speaker 1: To one hundred percent? Ansable is amazing for automating all
- 12:42Speaker 1: sorts of it stuff, including networks, and it's.
- 12:45Speaker 2: Known for being pretty user friendly. Right even if you're
- 12:48Speaker 2: not a coding list totally.
- 12:49Speaker 1: You write your automation tasks in this really simple language,
- 12:52Speaker 1: easy to read, easy to understand.
- 12:54Speaker 2: That's great for people just starting out, definitely less intimidating.
- 12:57Speaker 2: So just to recap, we've got conf d for CUSS,
- 13:00Speaker 2: some tools Open Daylight for building network operating systems from
- 13:03Speaker 2: the ground up, and answable for like everyday automation task
- 13:07Speaker 2: is made.
- 13:07Speaker 1: Easy exactly, And I think that's a really important point.
- 13:10Speaker 1: Network programmability. It's not a one size fits all thing.
- 13:13Speaker 1: You've got choices. The key is figuring out what works
- 13:16Speaker 1: best for you for your network. Couldn't agree more. It's
- 13:19Speaker 1: easy to get overwhelmed by all the options, but like
- 13:21Speaker 1: you said, it's about finding the right tool for the
- 13:24Speaker 1: job it is.
- 13:25Speaker 2: Think of it like I don't know, learning a new language.
- 13:27Speaker 2: You don't need to know every word, every grammar rule. Yeah,
- 13:30Speaker 2: you just got to start talk and start using it.
- 13:32Speaker 1: I love that analogy, And on that note, I think
- 13:34Speaker 1: it's time to wrap up this deep dive. We've covered
- 13:37Speaker 1: a ton the why, the how, the tools, the whole
- 13:41Speaker 1: nine yards. But before we go, any final thoughts for
- 13:44Speaker 1: our listeners, just this.
- 13:46Speaker 2: Network programmability it's not going away. This isn't just a trend.
- 13:50Speaker 2: It's the future, plain and simple.
- 13:52Speaker 1: So whether you're all in on the code or just
- 13:54Speaker 1: dipping your toes in, now's the time to get on board.
- 13:56Speaker 2: Absolutely, the network's changing and we get to be right
- 14:00Speaker 2: there shaping it, making it better.
- 14:02Speaker 1: How cool is that could have said it better myself.
- 14:05Speaker 1: That's a wrap on this deep dive into network programmability.
- 14:08Speaker 1: We've got more exciting stuff coming up, so stay tuned
- 14:11Speaker 1: until then, Happy networking everyone,