How to create text files on Cisco routers

In case you will need it, here’s a thing that helped me out once. In case you want to append some config lines that you have stored in a file and if you can’t copy it through SFTP, you can make it locally. To do this you need to start tclsh and create the file puts [open "flash:filename" w+] { now don’t press enter but just paste in your config lines and then } and ENTER....

August 7, 2017 · 1 min · 132 words · costin

Password recovery procedure on Cisco Catalyst 3500-XL

Just got a used Catalyst 3500-XL switch and don’t have credentials? Did you forget your auth credentials or you just want to have fun? Accessing a Cisco switch when you don’t have the right credentials is hard but not impossible. If you have issues connecting the console cable, try to install the drivers first. This will work only if you have access to the box itself. If so, you’ll need to connect a rollover cable and follow the instructions:...

August 7, 2017 · 4 min · 680 words · costin

Cisco guest shell

So, it seems that finally Cisco decided to introduce a shell for their routers. I know this already exists for their FirePower plaform, but from my knowledge, they just made it available for routers. Enabling the shell To enable the feature we simply have to enable iox and then we can enter linux land with guestshell CSR01(config)#iox CSR01(config)#do guestshell [guestshell@guestshell ~]$ Dohost command dohost permits you to run IOS commands from your shell terminal....

July 7, 2017 · 2 min · 305 words · costin

Life tip

I’ve recently stumbled upon a great course on coursera which can teach you how to learn in today’s world. With all the distractions that interrupts us everyday. I wish I’d find it sooner.

May 31, 2017 · 1 min · 33 words · costin

How to configure Cisco devices remotely

So, let’s assume you are a network engineer that has to configure something on a new Cisco switch/router. You don’t have console access and just connect to the box via ssh. You either have a typo in your commands or don’t copy the whole line of your pre-tested commands and after you press enter BANG, you’ve lost connection and start sweating. You know the feeling, right? Me neither… The classic solution to this is to schedule a reload in something like 10 minutes: reload in 10...

May 4, 2017 · 2 min · 293 words · costin