4 votes
Accepted

Auto Sensing in Modern Switching Equipment

This (autonegotiation) is explained in various sections of the IEEE 802.3 specifications. Auto-MDIX is mostly a function of gigabit interfaces being able to TX and RX on all four pairs. I don't ...
user avatar
  • 29.7k
4 votes
Accepted

Vendor Agnostic Network Automation

Is there a universal solution for this or do i have to modify the source code every time i integrate a new device? Basically what i am trying to achieve is changing some basic device and switch ...
user avatar
  • 94k
3 votes
Accepted

EEM Script Using Variables

For automating the shutdown and no shutdown of multiple interfaces in a sequential range, you would be best not to use entirely EEM but rather a combination of EEM and TCL scripting (EEM to monitor ...
user avatar
  • 4,661
3 votes

Rest API to export configuration from an ACI

I don't know if it's really what you're looking for, but for science you can export APIC configuration in JSON or XML format via REST. First of all you need to obtain authentication token by running ...
user avatar
3 votes

Ansible doesn't return valid information

Lineinfile is a weird choice here. It’s a module used to add lines to a configuration file (for example) and make sure a line is there, it’s not meant for things like logging, which you seem to be ...
user avatar
  • 15.7k
3 votes
Accepted

Configuring Cisco ASA DAP policies from CLI! (Automating bulk task)

From ASA 8.x Dynamic Access Policies (DAP) Deployment Guide : Note: The dap.xml file, which contains the DAP policies selection attributes, is stored in the ASA's flash. Although you can export the ...
user avatar
  • 2,628
3 votes

Automation out of the box?

Does anybody know if there is anyway to get a switch (cisco) to maybe pull its config from a attached laptop(acting as a server) is there any initial communication from the switch on boot ? Use ...
user avatar
3 votes

Juniper ztp trigger system requests

Not via ZTP, but I've just put together a couple of Ansible modules for you to handle both of these tasks here: https://github.com/dfex/dfex-ansible-modules They're pretty self-explanatory - ...
user avatar
2 votes
Accepted

Python Script to change ip-helper IP on Cisco devices?

Welcome to SE! As a network engineer I too have recently started programming in Python to better support my own internal automation efforts. In the interest of avoiding a lot of manual work handling ...
user avatar
2 votes

how to discover devices in a large heterogenous network with huawei, cisco, alcatel and more different devices without using snmp?

It depends on what layer you want to/can discover devices. At the link layer, LLDP comes to mind but it requires you to directly interface with the device and only gives just a few items. In a layer ...
user avatar
  • 71.5k
2 votes

What exactly is "network automation"?

If that's the case then since Ubiquiti has Unifi Controller is that already a network automation? Essentially, yes. You could also consider it a form of Software Defined Networking (SDN). If yes ...
user avatar
  • 62.9k
2 votes

How do I automate ssh sessions with a Router Ericsson IPOS?

I'm not sure what i can do. If there are any other ways i can run that script and receive the I/O without manually typing in the command, with or without using ssh or rsa key pairs, im all ears. ...
user avatar
2 votes
Accepted

Backup configuration from SonicWall using ssh or scp

Sonicwall export files are compiled , thus is not possible to edit them offline and reupload to a different appliace. There is a way to fetch config files , I never tried, but on stackoverflow there ...
user avatar
  • 401
1 vote

EEM Script Using Variables

Thanks for your input Jesse! After some trial and error, this is what I ended up using. Works like a charm! event manager applet TUNNEL-FIX authorization bypass event syslog pattern ".Tunnel([0-9]...
user avatar
1 vote

Vendor Agnostic Network Automation

You can use the TTP module to parse specific commands. It is a very useful method, especially for complex outputs. You can create your own templates. I've included an example image below. Example:
user avatar
1 vote

Automation out of the box?

Look at zero-touch provisioning on Cisco Catalyst 9300 running IOS-XE.
user avatar
  • 2,396
1 vote

What exactly is "network automation"?

Network automation is word we are frequently hearing nowadays, and companies are even looking forward to automating their network infrastructure operation. For example, big organizations like banks ...
user avatar
1 vote

Configuring Cisco ASA DAP policies from CLI! (Automating bulk task)

One way to find that (when you can't find documentation to point you in the right direction) is to add one via ASDM, and then go to the CLI so you can issue a show run to find where your changes show ...
user avatar
  • 4,661
1 vote
Accepted

Installing a redundant system in parallel routing

Due to the current network layout and the state of the other communication partners, both systems must have the same IP address. You cannot use the same IP address twice in a given network at the ...
user avatar
  • 71.5k
1 vote

Initial configuration of router using script

Chapter: Using AutoInstall and Setup <-- click me
user avatar
1 vote

Alternative to Cisco APIC-EM for small lab

Catalyst SmartInstall for Zero Touch Switch Deployment SmartInstall can enable plug-and-play configuration and image management for zero-touch deployment on new and existing Cisco Catalyst LAN ...
user avatar
1 vote
Accepted

Alternative to Cisco APIC-EM for small lab

You have an ISR and a DHCP server, but you need a TFTP server, then you can just use SmartInstall for Zero Touch Switch Deployment: Abstract SmartInstall provides a suite of capabilities that help ...
user avatar
  • 94k
1 vote

Routing traffic to a load-balanced, autoscaling NAT layer on AWS

If you are unable to use NAT Gateway because it isn't supported by Cloud Formation yet, try a combination of custom Cloud Formation resource types and AWS lambda functions--which then use the ...
user avatar
1 vote

Juniper ztp trigger system requests

As far a i know your not able to do that with ztp. But why not let Ansible login and use raw commands ? or create a bash script with the expect command and let Ansible run that ? i know both ...
user avatar
  • 126
1 vote

Automate configuration backup (every minute) in Cisco IOS

if you are allowed connect to device using python libraries such as netmiko, paramiko, you can simply send the command required and use schedule library to trigger the commands set every minute. ...
user avatar
1 vote

Automate configuration backup (every minute) in Cisco IOS

You can use a perl script, such as this one. Usage: perl cisco_backup.pl "my-enable-password"
user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible