Cisco

Everything related to Cisco !!!!!

How to run a temp webserver

This is to test Firewalls , Loadbalancer etc… quick and easy for labbing This was taking from :   https://linuxconfig.org/running-a-simple-http-web-server-with-one-terminal-command-and-python Configure simple web server in Linux 13 January 2022 by Luke Reynolds The purpose of this tutorial is to host a simple web…
Read more

Palo Alto Basics

PALO-ALTO-CLI-CHEATSHEET   CLI Jump Start The following table provides quick start information for configuring the features of Palo Alto Networks devices from the CLI. Where applicable for firewalls with multiple virtual systems (vsys), the table also shows the location to…
Read more

CiscoConfParse Methods

This is the methods available for CiscoConfParse : find_all_children(linespec, exactmatch=False, ignore_ws=False) Returns the parents matching the linespec, and all their children. This method is different than find_children(), because find_all_children() finds children of children. find_children() only finds immediate children. Parameters linespecstr Text regular expression for the line to…
Read more

CiscoConfParse

CiscoConfParse is a library for Cisco device.   :  pip install ciscoconfparse Example : from ciscoconfparse import ciscoconfparse Cisco_obj = CiscoConfParse(“show_run.txt”) print(Cisco_obj)  <—- this will return all the information about that object If using Netmiko to pull information from any device into a…
Read more