Skip to content
the broadcast

networking, computing, virtualization, automation

Cisco

Cisco HyperFlex Edge

2019-12-04
By: ron
On: 2019-12-04
In: Cloud
With: 0 Comments

2/3/4-Node Cluster no Fabric-Interconnects (FIs) Edge-Servers connected to LAN-Switches „back-to-Back“-Option for 2-Node Cluster only „RF2“-redundancy    Read More →

Cisco HyperFlex Enterprise License

2019-12-04
By: ron
On: 2019-12-04
In: Cloud
With: 0 Comments

Beitrag ansehen Performance All-NVMe Cluster HyperFlex Acceleration Engine  Scaliabilty 2:1 Compute-to-Converged Nodes-Ratio Data Protection Stretched Cluster (Metro Availability) „Cisco HyperFlex Premier“-Cisco Data Center Enterprise Agreement TierRead More →

Cisco HyperFlex Sizer

2019-12-04
By: ron
On: 2019-12-04
In: Cloud
With: 0 Comments

HX Profiler VM collects information for 30 days RV Tools leverages Information from vCenterRead More →

Python Scapy: Wait for CDP-Neighbor

2018-11-02
By: ron
On: 2018-11-02
In: automation, Scripting, Windows
With: 0 Comments

After provisioning a new Cisco CSR1000V-Router this script waits until the router is fully deployed got it’s Management-IP-Address assigned via DHCP. and returns this Management IP-Address. Prepare First, install „netaddr“-package. needed to check, if the management-IP of the CDP-Neighbor is in the correct IP-Subnet the „wait-for-CDP“-Script Obviously far to much hard-coded stuff, just as an example 😉 waiting for a CDP-Neighbor to appear with the following properties: hostname „CSR-A“ an IP-Address within the network „192.168.56.0 /24“ at the interface VirtualBox Host-Only-Network Provision a new CSR1000V Router named „CSR-A“ Run the „wait-for-CDP-Neighbor“-Script In a second CMD-Box, and… Be patient, of course. Or store the returned IP-AddressRead More →

Python Scapy: Capturing „Cisco Discovery Protocol (CDP)“

2018-10-31
By: ron
On: 2018-10-31
In: Scripting
With: 0 Comments

It’s hard to believe, how easy it is to capture (and to craft) LAN-Data using Python Scapy. I need to capture CDP-Packets and to extract information like the hostname of the sender and it’s IP-Address. As an modification of the „ARP-Monitor“-example taken from the manual Using scapy in your tools. Scapy Installation nothing special: pip install Python: Install Scapy Example: List all Interfaces of my Laptop Capture 10 Packets on a specific interface Capture CDP-Packets Decode CDP (with inactive dissector) Activate the CDP-Parser Capture again and display CDP-Information as cleartext Decode CDP-Hostname Decode CDP-Management-IP-AddressRead More →

Scripted provisioning of a Cisco CSR1000V as VirtualBox-Guest: Slipstream initial startup-config

2018-10-25
By: ron
On: 2018-10-25
In: automation
With: 0 Comments

To enable immediate remote-access to brandnew deployed virtual Cisco CSR1000V-Routers by scripts, ansible etc. it’s necessary to predeploy the startup-config at least with public-rsa-keys etc. Prepare Download and install the nice tool http://CDBurnerXP. This will install a companion cli-tool cdbxpcmd.exe along with the GUI-Version. It’ll be used to prepare an ISO-„CDROM“ containing the prepared „startup-config“-file. Prepare Prepare an IOS-XE Configuration file… Modify the existing script These commands create the ISO-File in the %LOC%-Path. Mount this ISO to the VM The contained config-file will get automatically applied when the router boots the first time. Run the VM the config-file gets applied access the router This dependsRead More →

Scripted provisioning of a Cisco CSR1000V as VirtualBox-Guest

2018-10-23
By: ron
On: 2018-10-23
In: automation
With: 0 Comments

In a lab environment it might be handy to quickly rollout new (virtual) routers without much manual intervention. The following script creates a VirtualBox-VM and boots it up. Prepare Install VirtualBox and have a CSR1000V-ISO-File ready. Execute The Inventory populates: Use it After another reboot the serial console can be accessed by a windows pipe: The pipe provides access to the serial-console:Read More →

Cisco IOS – Public-Key User-Authentication

2018-10-20
By: ron
On: 2018-10-20
In: client, linux
With: 0 Comments

It’s a two step process to get rid of insecure username/password-authentication. Generate a RSA keypair at your SSH-client btw. Cisco-IOS doesn’t support DSA-keys Configure your network device(s) to assign the (public-)key of this keypair to an user-account This user-account could get privileges from a Radius/TACACS+-Server which could provide access-logs, too. Generate RSA-Key: Windows as SSH-Client I prefer Putty, usually in form of „mRemoteNG“, so i use PuttyGen to generate the RSA keypair. Windows.Start => PuttyGen (x) RSA, 4096-bits are supported, use it [Generate] move the mouse to improve the randomgenerator change the „comment“ – for example replace it by an username add a passphrase –Read More →

COT – Common OVF Tool

2018-10-15
By: admin
On: 2018-10-15
In: automation, linux
With: 0 Comments

…this article should have been published at 2017-11-23, i forgot to press the right botton. So, an update might be needed, anyone still interested in cot today? Release 2.1 (2018-01-29) is the current release, containing some fixes (https://github.com/glennmatthews/cot/blob/master/CHANGELOG.rst) COT installation using PIP So, let’s go, following thats embarassing. Install PIP first Try it again Optional: Argument-Completion Not essential, but handy. COT helpers A full installation requires so called „cot-helpers“ to use all features. first fix „fatdisk“ which is used to inject configs into OVA-Files uncomment to and run the helper-installation again: But it threw a lot of warnings.. warning: format ‘%lu’ expects argument of typeRead More →

Cisco IOS Service-Containers: Run an x86-VM inside a Router (Part 5: Install the Service-VM)

2018-02-12
By: ron
On: 2018-02-12
In: automation, linux
With: 0 Comments

The CSR1000V-Router has already been prepared (Create a CSR1000V-Instance with nested Virtualiation support) and in (Part 4: Package the Service-VM into an OVA) we copied the OVA-Image of our „ubuntu-server“-VM to this Router. Add the internal Network-Interface between Router and Service-VM Install the Service-VM Activate the installed Service-VM Access the VM using the (virtual) Serial-Console Logout: 3x [CTRL]+ Access the VM using SSH via the internal Network Check the local python/NAPALM-Setup to get facts about the containing routerRead More →

Beitrags-Navigation

1 2 3 Nächste

Kategorien

  • automation
  • AWS
  • client
  • Cloud
  • linux
  • pub
  • Scripting
  • Uncategorized
  • wan
  • Windows

Neueste Beiträge

  • IEEE 802.1ax – LACP: How to virtually tear down a DC using a Linux-Server
  • Cisco HyperFlex Edge
  • Cisco HyperFlex Enterprise License
  • Cisco HyperFlex External Storage
  • Cisco HyperFlex Sizer

Schlagwörter

Ansible Automation AWS chrome Cisco Controller cot CSR1000v hsts Hyperconverged KVM Lab Linux Monitoring NAPALM nexus nxos Proactive productivity Python QoS Scapy Scripting Security todo UCSD VMware WAN Windows Wordpress

Impressum

Impressum

Designed using Dispatch WordPress Theme. Powered by WordPress.