- Network Automation (19)
- Network Services (8)
- SDN (10)
recent posts
- NAT
- Proxy ARP
- DNS and HTTP GET with IP SLA
- Cisco IRB (Integrated Routing and Bridging)
- GLBP Weighting
- DNS Server on Cisco IOS
- DHCP Proxy over PPP
- ARP authorized
- QoS in Cisco SD-WAN
- Application-based traffic steering And AAR
- Creating Extranets and Access to Shared Services
- Enforcing Security Perimeters with Service Insertion
- Cisco SD-WAN TLOC Extension
- Cisco SD-WAN Security Features
- Traffic Engineering at Sites with Multiple Routers
- Isolating Guest Users from the Corporate VPN
- Cisco SD-WAN Hub-and-Spoke Topology
- Cisco SD-WAN Onboarding
- AI-Powered Network Assistant
- Ansible Playbook
- Ansible Gathering Facts
- AI-Powered Interface Health Checker with pyATS and OpenAI
- pyATS
- Nornir
- Scrapli
- Netmiko
- Network Services Orchestrator
- Backup Router configuration with REST API
- Network Device Automation with Jinja2 Template
- NX-API
Category: Network Automation
-
If we want to automate a network with many devices we have normally 4 files a python code, host files, config file and data file. In this example I want to automate BGP configuration of routers. So I prepare these 4 files. The first file is Host file which contains the IP of the devices,…
-
For cisco Switches there is another API framework called NX-API which we can manage them with. I am using a test device in cisco sandbox. at first we need to enable the nx-api feature on the device. Unlike postman, here we have only one URL which is /ins and also we use only POST. If…
-
I want to get the interface Gig2 with RESTCONF using Curl. -v is verbose so we can see the logs.-k is for certificate -H is for header and with +json we define the format of the data. Restconf is also enabled on the router. Using postman we can do the same thing easy. We just…
-
In this example I want to connect to a router in cisco sandbox and get the interface gig1 data. If we want to use the Python we should install ncclient library at first with pip install ncclient. on the router netconf ans ssh in enabled. I would also use xmltodict library in order to be…
-
YANG (Yet Another Next Generation) is a data modeling language used to describe the structure and configuration of network devices. A data model is a well understood and agreed upon method to describe something. Data models may describe some aspect of a network device, or a network service. Network servies like Interface, vlan,OSPF.. and Network…