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. tclquit to exit tclsh. Now you’ll have your config snippet in flash:filename and you can use it to append to your config. Would be a good idea to check it with more flash:filename just to be sure that you have everything in place and no characters were left outside. As always, more info on Cisco’s webpage

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.

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.

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…