Time to do some GNS3 Switch Automation via Ansible on my Ubuntu Workstation VM! This is the Topology I threw together to begin with, the 3rd octect changes with Workstation NAT / DHCP on vmnet8, I still haven't figured it out but I'd rather spend time labbing. The Ubuntu "Ansible Control Node" and "AutoVM1" to … Continue reading Ansible and GNS3 – Configuring an “Ansible Inventory File” on my Ubuntu “Ansible Control Node” to setup a GNS3 / Ansible home lab!
In this article, I am going to show how to configure SSH in a server to remotely connect to the client. First I will navigate to the .ssh directory. It is the directory where information about remotely connected devices is kept. For the client device, I will make a customized file and edit it. I … Continue reading SSH Configuration in CentOS
Being as I have been tanking through just touching network devices with Python, I wanted to take a step back, and look at the components within the script that call out each others to function properly and how to start thinking about writing scripts freestyle that suits your needs and begin thinking diving deeper into … Continue reading Python3 Network Programming – Review of a Netmiko Python Script, Python Terminology, and how different pieces reference each other in a script!
Now that I have secured SSH in my previous post on this lab, I will continue forward using Netmiko that utilizes SSH for connections, so I will get right to it here. First to prep your NetAuto Host for Netmiko (this requires Internet Connection) The NetAuto host in GNS3 does not come with Netmiko modules … Continue reading Python3 Network Programming – Installing Python3-pip / Netmiko Module, writing Netmiko script, and executing it on the multi-switch lab / working through troubleshooting!
It is time to ditch the SSH and move onto Netmiko that would actually be used in most production networks, which involves a bit more than "enable ssh" if you have not turned it on before / turned off telnet, but I will demo it here of course via Automation! I am still continuing on … Continue reading Python3 Network Programming – Enabling SSHv2 and Disabling Telnet using Automation, and how to secure your network by enabling SSHv2 and disabling Telnet (very carefully)!
This graphic that I created to help myself understand CEF Hardware Packet Switching is also very similar to the Management Plane vs Control Plane vs Data (Forwarding) plane. Management Protocols run at the Management Plane (hence the name Mgmt Plane) is where Management Protocols such as SSH / Telnet / SNMP / HTTP / HTTPS … Continue reading TSHOOT – Management Plane vs Control Plane vs Data Plane, MPP (Management Plane Protection) review for exam day!
The point of this post is to discuss how to secure Switch management in the network, by not only using SSH (as it encrypts traffic!), but also how to disable Telnet sessions AND even create our old friend an Access-Class map to act as our Management ACL! I will get right to it, by first … Continue reading Telnet vs SSH – How to secure your Switch Management (Transport) protocols, explained and labbed!