Network Automation is becoming increasingly important for managing and maintaining large-scale networks efficiently. If you're working with Cisco Switch Nexus 9000 NX-OS, you might be familiar with the Embedded Event Manager (EEM) and the importance of capturing logs when specific events occur on your interfaces.
Click on the logo to see the demo!
In this project, we'll be exploring the powerful CLI library in Cisco Switch Nexus 9000 NX-OS and leveraging it to build a troubleshooting assistant that can automate the process of capturing logs and storing them in the bootflash. By the end of this project, you'll have a better understanding of how to use EEM, CLI libraries, and automation to streamline your network operations and troubleshoot issues faster.
-
Click to Machine Logo to check the video!!!
-
How can we know the status changed? Syslog
-
Where run the command? Onbox Nexus 9000
-
How to send the command to nexus 9000? Using Cli library of Python
-
Where we are going to save the information? Bootflash
-
How to xtract the information allocated in the Nexus Using SCP
- Library to interact: Cli, scp
Topics | Description | Title | Notes |
---|---|---|---|
INSTALL PYTHON AND DEPENDENCIES | Install Python 3.10.2. | INSTALL PYTHON AND DEPENDENCIES | In this first step you install your Python. |
INSTALL ANYCONNECT VPN CLIENT | Install VPN Client via CLI | INSTALL ANYCONNECT VPN CLIENT | In this second step you are going to install your vpn anyconnect client. |
INSTALL GIT | Install GIT via CLI | INSTALL GIT | In this step you install git in your environment. |
SCRIPT ASSISTANT | Script Assistant onbox in Nexus 9000 | SCRIPT ASSISTANT ONBOX | In this step you are going to create the code to capture information if exist an event. |
SCRIPT TO EXTRACT FOLDER | Script files using scp in Python | EXTRACT NEXUS 9000 FILES | In this step you are going to dowload the files captured previously via Python. |
BUILDING-A-TROUBLESHOOTING-ASSISTANT.mp4
- Devnet Sandbox to test owner Inventory
- JSON to test format