Category Archives: Tools

Upgrade Cisco Blade Switch

Applying a major upgrade between 12.x and 15.x code, backup your config first before go ahead!

Checking the actual version

 

SW01#sh ver | i IOS
Cisco IOS Software, CBS30X0 Software (CBS30X0-LANBASEK9-M), Version 12.2(35)SE, RELEASE SOFTWARE (fc2)SW01#show boot
BOOT path-list      : flash:cbs30x0-lanbase-mz.122-35.SE/cbs30x0-lanbase-mz.122-35.SE.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :

Downloading and extracting the TAR file from your TFTP

SW01#download-sw tftp:10.1.0.103/cbs30x0-ipbase-tar.150-2.SE6.tar
Loading cbs30x0-ipbase-tar.150-2.SE6.tar from 10.1.0.103 (via FastEthernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(omitted for brevity)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK – 15073280 bytes]

Loading cbs30x0-ipbase-tar.150-2.SE6.tar from 10.1.0.103 (via FastEthernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(omitted for brevity)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image…
extracting info (107 bytes)
extracting cbs30x0-ipbase-mz.150-2.SE6/info (372 bytes)
extracting info (107 bytes)

Stacking Version Number: 1.49

System Type:             0x00000000
Ios Image File Size:   0x00BEF200
Total Image File Size: 0x00E60200
Minimum Dram required: 0x08000000
Image Suffix:          ipbase-150-2.SE6
Image Directory:       cbs30x0-ipbase-mz.150-2.SE6
Image Name:            cbs30x0-ipbase-mz.150-2.SE6.bin
Image Feature:         IP|LAYER_3|MIN_DRAM_MEG=128

Old image for switch 1: unknown

Extracting images from archive into flash…
cbs30x0-ipbase-mz.150-2.SE6/ (directory)
extracting cbs30x0-ipbase-mz.150-2.SE6/info (372 bytes)
cbs30x0-ipbase-mz.150-2.SE6/html/ (directory)
extracting cbs30x0-ipbase-mz.150-2.SE6/html/frmwrkResource.htm (950 bytes)
extracting cbs30x0-ipbase-mz.150-2.SE6/html/menu.shtml (8324 bytes)
extracting cbs30x0-ipbase-mz.150-2.SE6/html/portstats.js (8142 bytes)
(omitted for brevity)
extracting cbs30x0-ipbase-mz.150-2.SE6/cbs30x0-ipbase-mz.150-2.SE6.bin (12505683 bytes)
extracting info (107 bytes)

Installing (renaming): `flash:update/cbs30x0-ipbase-mz.150-2.SE6′ ->
`flash:cbs30x0-ipbase-mz.150-2.SE6′
New software image installed in flash:cbs30x0-ipbase-mz.150-2.SE6

All software images installed.

Boot updated with the new image & Reboot

SW01#show boot
BOOT path-list      : flash:cbs30x0-ipbase-mz.150-2.SE6/cbs30x0-ipbase-mz.150-2.SE6.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :SW01#reload
Proceed with reload? [confirm]

New code is Live!

SW01#sh ver | i IOS
Cisco IOS Software, CBS30X0 Software (CBS30X0-IPBASE-M), Version 15.0(2)SE6, RELEASE SOFTWARE (fc2)

Compare the running config with the Backup one we did previously zero differences, so another successful upgrade!

Share

Export/Import Putty settings

This method is using registry, so before proceed do a backup of it.

Open command line and type the following command:

regedit /e “%userprofile%\desktop\putty-registry.reg” HKEY_CURRENT_USER\Software\Simontatham

Copy the file generated to the new Windows installation and run it, a prompt window will pop up and click “Yes”. This will merge with config you have for Putty.

export_putty_settings

The following window should appear saying it was imported successfully.

export_putty_settings2

 

Share

Setup Infoblox IPAM Express on ESXi

You are running out of budget this moment but you really need an IPAM system to manage your IPs (IPv4 and v6) and leave away the old excel which you worked for a long time. For me using or not an IPAM system will depend of the environment size, it’s need to be reasonable and rational.

This free version supports 2000 hosts and multi-discovery, so not bad for a free product

The requirements to run this version from Infoblox are low (1vcpu, 1GB memory, 50GB), and it’s supported in VMware Player, VMware Workstation or VMware Fusion

I’ve tried convert strait away to vSphere 6 but didn’t work, so i started my journey until get this working, and i did it.

First we need to download the free copy, unzipped and use vCenter Converter to convert the image to our environment and play it.

Virtual Machine Properties

These are properties i used to setup my IPAM Express

2015-07-29_170529

2015-07-29_170542

2015-07-29_170545

Since IPAM Express doesn’t support a fixed IP, you need get a DHCP working for that subnet

2015-07-29_170600

After register you will receive an email like one below, open a browser https://ip-ipam and use credentials and download code provided

2015-07-29_173806

Importing Subnets and Hosts using a CSV file

To import a CSV you will need to respect a strict field format, you can use just a file for subnets and hosts, but i found it insane sometimes. For that reason i imported using different files.

File content subnets.csv

header-network;address*;netmask*;comment;disabled
network;10.1.0.0;255.255.255.0;VLAN1;FALSE
network;10.0.0.0;255.255.255.0;VLAN10;FALSE
network;10.200.50.0;255.255.255.0;VLAN200;FALSE
network;10.100.0.0;255.255.255.0;VLAN100;FALSE
network;200.0.0.0;255.255.255.0;VLAN666;FALSE

File content hosts.csv

header-hostrecord;FQDN;addresses;configure_for_dns
hostrecord;host_NS1;10.1.0.1;FALSE
hostrecord;host_NS2;10.1.0.2;FALSE
hostrecord;Firewall.eth0/0;10.1.0.254;FALSE
hostrecord;FW-DC1_standby.10.0.0.253;10.0.0.253;FALSE
hostrecord;FW-DC1_active.10.0.0.254;10.0.0.254;FALSE
hostrecord;NAS;10.1.0.100;FALSE
hostrecord;DC2;10.1.0.144;FALSE
hostrecord;WSUS;10.1.0.181;FALSE
hostrecord;IPAM;10.1.0.184;FALSE
hostrecord;NAS_NAT;200.0.0.100;FALSE

Click on CSV Import on your left

2015-07-29_174609

Click on + signal

2015-07-29_170753

Select a CSV file to import, you can also use Options to control what you want to change. Press Start :)

2015-07-29_174744

2015-07-29_170943
After a successful import, you will see occupation of each subnet

2015-07-29_222827

Click on a subnet 10.1.0.0/24, you can show hosts using an IP Map or List

2015-07-29_180223

2015-07-29_180236

Drop me a comment if you need my ova file

Share

Junos Genius 2.0 is out

Juniper redesign the interface of Junos Genius, and looks great.  There are other features included on this version: user profiles, fetch test exam questions, Sync Offline Data and much more
I really recommend it to practise before jump to a live exam, and it’s free!

Download the app now in the Apple AppStore or Google Play:

iPhone
iPad
Android

 junos_genius1  junos_genius2
junos_genius3 junos_genius4
junos_genius5

junos-genius

References:

Juniper Junos Genius

Share