Thursday, October 31, 2013

Cisco Prime Infrastructure logs

Looking at Cisco Prime Infrastructure logs is annoying: if the logs are small, you can email them, but did you see any installation with small logs? The option to download the logs makes the appliance to zip ALL log files before they can be downloaded. It takes time.

At this time, on Cisco Prime Infrastructure, you can keep a maximum of  20 log files of 50 Mb.

Since there is no option to download just the ncs-* files, I use to ssh login into the console, get root, and ftp the files out of the server. The log files are located on:

/opt/CSCOlumos/logs

That's it.


Sunday, June 2, 2013

TP-Link TL-MR3420 and the new 4G Huawei E392u-12 (TMN Portugal)

Just a quick note to let you know that the TP-Link TL-MR3420 works like a charm with the 4G card from TMN Portugal - Huawei E392u-12.

You just need to upgrade the router firmware and use the modem binary from TP_Link site.

If you are wondering about transfer speeds, I've got 26 Mbit/s for downloads and an amazing 18 Mbit/s for uploads.

Tuesday, February 26, 2013

Cisco Switch reset a single port to factory defaults

I keep forgetting this forget-about-it-and-start-all-over-again command, so here it is a small example:

in mode config:

default interface fa0/18

 

Thursday, January 10, 2013

VMWare Player 5 and Drive Shrinking

It's been a while since I play with VMWare at desktop level. Since I need a Delphi development environment that I could easy transfer between two machines, I thought to give it a try.

VMWare Player just rocks on the new i5 processors. Creating the Virtual Machine and playing around was really easy, until I get into VMWare Tools.

I remember that there was a control panel applet to start VMtools. There isn't any more. I google around for a couple of hours, and I get no information about this. And googling for "Shrink VMWare Disk" always mention the VMTools applet.

I run into the uninstall / install process for some times, until I give up. Something should be really wrong.

Finally I noticed that the applet is not available since version whatever.  You need to use the command line tools. On a Windows 7 guest this is as easy as opening a command line with administrator rights, and invoke the VMWareToolBoxCmd.exe utility.

But before you use the shrink option, you should "zeroing" the hard disk. You can do this using SDelete utility from windows sysutils: download it here.

Use SDelete with -z parameter on each drive before you run the shrink utility. Something like:

sdelete -z C:\

After it, you are ready to go:

<Open Administrator Command Line>
cd "\Program Files\VMWare\VMWare Tools"

This will show you some interesting information:
VMwareToolboxCmd help disk

but if you just want to shrink all disks just run:
VMwareToolboxCmd disk shrinkonly

SDelete it. Shrink it. Stay Free.