Cisco ISE v3 Lessons - Automating Switch Configurations w Python Netmiko

  Рет қаралды 4,334

Chris Avants

Chris Avants

Күн бұрын

Пікірлер
@TheBeach5563
@TheBeach5563 Жыл бұрын
Thanks so much for sharing Chris. I just found this today. I work at a large refinery and do mostly switches and Wireless APs. I wopuld say we have around 100 switches mostly 3560s but I have about16 new 9200 switches I will be installing. We use Solarwinds for monitoring and some configuration. I'm really trying to find a way to make my life easier with configurations, troubleshooting. I really think brushing up on automation tools that can help would be cool I will be checking out more of your videos.
@chrisavants
@chrisavants Жыл бұрын
It's absolutely worth learning some basic automation. It's amazing how far someone new can go in a week or two with Python, and there are a lot of libraries and examples out there for us. Check out our course Python for Network Engineers, it will help you get started and actually give you skills to start automating:) Thanks for the kind words!
@ReezMotovlog
@ReezMotovlog Жыл бұрын
Hi thank you so much for the tutorial ! But I have a question, instead of SSH how do you connect using serial port? Like configuring a switch from scratch which doesn't have a username and password, and doesn't have an management IP address. TQ!
@chrisavants
@chrisavants Жыл бұрын
Reezy, you would need a USB to Serial adapter for that, or USB to micro USB console cable (depending on the model / type of switch). The adapters are cheap, about $10 $20, but getting drivers to work on Windows can be fun at times. Good luck!
@pppam
@pppam 3 жыл бұрын
Very useful. Thanks. But what about a script that connects to a switch, seeks what ports have only MAB enabled and then populates these interfaces with dot1x config as well. This would be very useful!
@chrisavants
@chrisavants 3 жыл бұрын
That’s what we are doing here. This can find any variable then write whichever command.
@rashhadmiah9959
@rashhadmiah9959 3 жыл бұрын
tried to run this but I keep getting these errors Traceback (most recent call last): File "C:/Users/rashhad.miah/Desktop/security/vuln_check.py", line 27, in output = net_connect.send_command(commands_list) File "C:\Users ashhad.miah\Desktop\Auto\venv\lib\site-packages etmiko\utilities.py", line 430, in wrapper_decorator return func(self, *args, **kwargs) File "C:\Users ashhad.miah\Desktop\Auto\venv\lib\site-packages etmiko\base_connection.py", line 1479, in send_command command_string = self.normalize_cmd(command_string) File "C:\Users ashhad.miah\Desktop\Auto\venv\lib\site-packages etmiko\base_connection.py", line 1638, in normalize_cmd command = command.rstrip() AttributeError: 'list' object has no attribute 'rstrip' is there something im doing wrong? (im a newbie to network automation)
@chrisavants
@chrisavants 3 жыл бұрын
Hmm, looks like an issue with the netmiko library, but also could be the nesting of something. Is this from my GitHub script? I'll check it
@chrisavants
@chrisavants 3 жыл бұрын
I modified the script a little and retested it, worked great. Let me know if you need more help
@chrisavants
@chrisavants 3 жыл бұрын
No the devices and commands.ios are plane text files in Linux. Create by using nano device, add IPs one at a time, then save. Same for commands with any command you want to write to the devicd
Network Automation For Network Engineers - Netmiko
24:45
Silesio Carvalho
Рет қаралды 969
Let's Build a Netmiko Script
11:20
Cisco U. by Learning & Certifications
Рет қаралды 3,7 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Python and Jinja2 Cisco Network Automation
54:21
David Bombal
Рет қаралды 33 М.
SSH Configuration with Netmiko
13:45
Kevin Wallace Training, LLC
Рет қаралды 31 М.
What is Cisco Identity Services Engine (ISE)?
17:14
LookingPoint, Inc.
Рет қаралды 74 М.
Automation Using Python | SSH to Cisco Device
21:37
My IT Workshop
Рет қаралды 36 М.
Python For Network Engineers - 1hr crash course
59:15
Networks Learning
Рет қаралды 20 М.
get started with Ansible Network Automation (FREE cisco router lab)
15:02
Netflix Removed React?
20:36
Theo - t3․gg
Рет қаралды 39 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН