How Tos

Update IOS XE

Install mode is the recommended mode for booting a switch. This is due to the fact that bundle mode requires more memory, is slower to boot, and auto-upgrade for example isn’t supported in bundle mode.

Bundle mode is the legacy way of booting a switch using a .bin file which is referenced directly in the boot system command.

Install mode on the other hand expands (extracts) the bin file to flash ahead of booting. These .pkg files are then referenced in the packages.conf file which is the file we point to with the boot system command.

VMware Goodies

CDP

Configuring

First verify how CDP is configured:

# esxcfg-vswitch -b vSwitch1

If you want to enable sending of CDP:

# esxcfg-vswitch -B vSwitch1

View CDP information CLI

# vim-cmd hostsvc/net/query_networkhint

 

Change hostname

Networking -> TCP/IP Stacks -> Default TCP/IP Stack -> Edit Settings

 

Create Large Files

OS X

mkfile 1024m ~/Desktop/1Gfile

Windows

fsutil file createnew c:\1Gfile 1073741824

Linux

Or OSX

dd if=/dev/zero of=~/1Gfile count=1024 bs=1048576

VMware upgrade – CLI

You can check the version you have installed using:

esxcli system version get

The output of this command is something like this:

Prior to the upgrade you must ensure that outbound http connections are allowed by the firewall. Use this to allow it:

esxcli network firewall ruleset set -e true -r httpClient

To upgrade your install:

Ping With Timestamp

ping -i 0.5 9.9.9.9 | while read ping_output; do echo "$(date): $ping_output"; done