Python NX-API script for modifying switchport configuration.
The source file has grown by some 53 lines so what have we gained: A more colourful palette, the values of which are pre-computed for each possible iteration value: palette = new int[MAX_ITER]; for (int i = 0; i<palette.length; i++) palette[i] = java.awt.Color.HSBtoRGB(i/256f, 1, i/(i+8f)); The ability to zoom in and out of the set... Continue Reading →
Being a Java luddite who still defaults to Swing I thought it was time to learn something new. Here's a set of tutorials combing JavaFX with the GUI favourite the Mandelbrot fractal. I won't dwell on the function f(z)=z2 +C other than to say the JDK doesn't support Complex numbers, so the initial method looks... Continue Reading →
Upgrading Cisco SG-200 SG-300 SG-500 switches via CLI
How to configure an open SSID with MAC address filtering on the Cisco 3850.
Python script combining APIC-EM uniq and PSIRT APIs.
Python APIC-EM script for software inventory
During a recent Nexus 5k upgrade task Layer3 features were preventing non-disruptive ISSU’s from taking place. It became apparent that some N5Ks had unused features/ applications installed and the licenses deployed across the estate were unknown. So I wrote a Python APIC-EM script to audit and download this information. The script has the following flow/... Continue Reading →
! hostname R1 ! ipv6 unicast-routing ! interface Loopback1 ipv6 address 2001:A:B:1000::1/64 ipv6 enable ! interface FastEthernet0/0 ipv6 address 2001:A:B::2/127 ipv6 enable ! interface FastEthernet1/0 ipv6 address 2001:A:A:1000::2/127 ipv6 enable ! router eigrp CONFIG-IF ! address-family ipv6 unicast autonomous-system 65000 ! af-interface default passive-interface exit-af-interface ! af-interface FastEthernet0/0 no passive-interface exit-af-interface ! af-interface FastEthernet1/0 summary-address... Continue Reading →