Configuration Archive

This section contains various configuration examples that I have built or found otherwise useful.

KVM virsh command reference

From the help command, here is a reference sheet for the virsh command: virsh [options]... [<command_string>] virsh [options]... [args...] options: -c | --connect=URI hypervisor connection URI -r | --readonly connect readonly -d | --debug=NUM debug level [0-4] -h | --help this help -q | --quiet quiet mode -t | --timing print timing information -l |...

Read more ...

VMWare ESXi CLI reference

All of these commands require ssh to be enabled on the VMware host and were tested on 5.1. Power off a VM vim-cmd vmsvc/power.getstate List power state of VM: vim-cmd vmsvc/power.of Power on VM vim-cmd vmsvc/power.on List all VMs: vim-cmd vmsvc/getallvms Other important commands under vmsvc: acquiremksticket get.snapshotinfoacquireticket get.spaceNeededForConsolidationconnect get.summaryconvert.toTemplate get.tasklistconvert.toVm getallvmscreatedummyvm gethostconstraintsdestroy logindevice.connection logoutdevice.connusbdev...

Read more ...

EdgeOS weighted load balance

set load-balance group LoadBalance_WAN interface route-test initial-delay 15 set load-balance group LoadBalance_WAN interface route-test interval 5 set load-balance group LoadBalance_WAN interface route-test type ping target set load-balance group LoadBalance_WAN interface weight 95 # weight based on more bandwidth set load-balance group LoadBalance_WAN interface route-test initial-delay 15 set load-balance group LoadBalance_WAN interface route-test interval 5 set...

Read more ...

Mikrotik Routed VLANs (non-CRS)

Add a simple set of VLANs to a CCR or other non-CRS RouterBoard. /interface vlan add interface=sfpplus1 name=sfpplus1.4 vlan-id=4 comment="VLAN ID 4"add interface=sfpplus1 name=sfpplus1.5 vlan-id=5 comment="VLAN ID 5"add interface=sfpplus1 name=sfpplus1.6 vlan-id=6 comment="VLAN ID 6"add interface=sfpplus1 name=sfpplus1.7 vlan-id=7 comment="VLAN ID 7"add interface=sfpplus1 name=sfpplus1.8 vlan-id=8 comment="VLAN ID 8"add interface=sfpplus1 name=sfpplus1.9 vlan-id=9 comment="VLAN ID 9" Add IP addressing...

Read more ...

Comcast Business IPv6 Prefix Delegation

Comcast Business class service has some quirks when using the Cisco branded business gateway. Essentially, the prefix delegation will not work without very specific configuration options on the client. In order to run your own network border (i.e. not using their device as the first hop router for your LAN(s)), the following is required. In...

Read more ...

Mikrotik IPv6 DHCPv6-PD configuration

For a small to medium ISPs (especially WISPs) looking to move to IPv6 dual-stack, the right way to deploy is to use DHCPv6 prefix delegation. Here is an example of how to do this in-skin (i.e. on the mikrotik itself rather than a relay). /ipv6 dhcp-server add address-pool=vl100-v6-pd-pool interface=ether5.100 name=vl100-v6-pd add address-pool=vl101-v6-pd-pool interface=ether3.101 name=vl101-v6-pd add...

Read more ...

Enable Telnet access on MacOS High Sierra

Lots of things changed under the hood in MacOS high sierra. One of those was to enable a sandbox like environment and to remove insecure communication protocols. This breaks things like console communication to the network modeling and virtualization platform Eve-NG. It's fairly trivial to re-enable it, however. This can be accomplished by doing the...

Read more ...

EdgeOS OpenVPN

OpenVPN is a great technology but can be a bit of a bear to configure. A large part of the complexity with OpenVPN is the certificates, many are put off my them and for good reason. They can be confusing and hard to follow. The certificates can be generated off box pretty easily and that's...

Read more ...

Mikrotik OpenVPN server

Mikrotik is one of my favorite routing and MPLS platforms for doing lab and small ISP work. This one is pretty darned easy if you're willing to use self-signed certificates, and pretty trivial to add legitimate certificates if you are so inclined. /certificate add name=ca common-name=ca key-usage=key-cert-sign,crl-sign/certificate sign ca ca-crl-host=10.255.255.4 name=ca/certificate export-certificate ca/certificate add name=gw-dsl...

Read more ...

Nokia SROS useful commands

Nokia (formerly Alcatel-Lucent, formerly Timetra) have an extremely robust routing platform, but it has some notable differences if you're coming from a vendor such as Cisco or Juniper (or any vendor platform in the enterprise space, really). Things like "VLANs" don't really exist, as this is more of a metro / carrier / customer provisioning...

Read more ...

Upgrade Single ASR9k hw-module

ASR9k is a powerful device but management may be daunting to anyone not familiar with IOS-XR. Inserting new line cards in may require a manual upgrade of the module to match the current running code on the chassis Show all slow and firmware details: show hw-module fpd location rack/slot/subslot In the admin prompt: upgrade hw-module fpd all location 0/RSP1/CPU0...

Read more ...

Basic IOS-XR command cheat sheet

Some basic commands that I have found useful in managing an ASR9K / IOS-XR device. This page is likely to grow and change over time. Clear ARP clear arp-cache <interface> <IPv4 addr> location all BGP show bgp all unicast summary BGP Routes show bgp ipv[4/6] unicast neighbors <neighbor> received routeshow bgp ipv[4/6] unicast advertised neighbor...

Read more ...

FreeRTR basic configurations

From the freertr website: freeRouter is a free, open source router os processit speaks routing protocols, and (re)encapsulates packets on interfaces (a huge list of encapsulation and routing test cases can be found under self-test page)since it handles packets itself, it is independent of underlaying os capabilities(optionally, it can export forwarding tables through openflow to...

Read more ...

Enabling LLDP

Configuration archive for enabling LLDP on various platforms such as Nokia SROS, JunOS, Mikrotik ROS, Linux

Read more ...

ISC dhcp and dhcpv6 relay

When deploying dual stack, dhcpv6 is a crucial piece of the puzzle. ISC DHCPd provides a robust and stable server for this endeavor.

Read more ...

Renaming interfaces under linux

There are many of us that learned Linux in the very early days, and with that history comes habits. One habit I have is to look for spec interface names. In particular, I prefer to have my interfaces named eth* (with some notables exceptions here). Modern linux systems seem to have adopted the BSD methodology...

Read more ...


© 2019 The Forwarding Plane. All rights reserved.

Copyright 2016 Nick Buraglio, ForwardingPlane, LLC

%d bloggers like this: