Skip to main content

Cisco – Another useful tricks & tips

· 2 min read
Strider

Hi, I wanted to show some more tricks and tips in the Cisco CLI.

In the last post, I had demonstrated which on a Cisco Catalyst 2950 a few tricks. Now I want to do that on a Cisco 800 series router.

I had shown the commands "include, exclude and begin" but there are a few more interesting commands.

The first command I want to show is the "section" command. This command works similar to "include" or "exclude".

asciicast

The next interesting commands are related to the device's file system. You can actually navigate through all files like in Linux or Windows.

Admittedly, this is not so useful when it comes to configuring networks, but I think it is still useful for some cases.

Here in the video you can see what it looks like inside the router. We can see the system image, NVRAM, the running-config, even memory etc... It's quite interesting.

asciicast

An important command to secure Cisco devices is to set a password.

I show the command "enable password test" and the more secure variant "enable secret test".

With the first command, the password is stored in plain text in the running-config. With the other command it is stored as MD5 hash.

As soon as you connect to the router again, you will be asked for the password or the secret. I have omitted it here.

asciicast

Also a good command for the newbies is to save the configurations. This can be done on the enable level with the command "copy run start". This will keep the configuration even after a reboot.

Another command that is quite interesting is on the enable level "show interfaces stats", because here you can see how many packets have been processed and also which interfaces are on or off.

asciicast

I hope you enjoyed it and see you in the next post 😄