- [Instructor] The show commands
display important information about the switch,
including its configuration, it's operation,
you can view config files,
check the setup of the interfaces,
verify the status of the ports.
In fact, almost every process or function of the switch
can be displayed using a show command.
That's what makes the use of these commands
an essential tool for troubleshooting, not only switch,
but network problems.
I've shown you a few of the show commands,
but I'm going to demonstrate a couple more.
I'm going to click on the W_Switch,
I'm going to go ahead and expand the screen.
And the first show command I'm going to cover
is the show running-config.
This command displays all of the configuration
that's currently stored in RAM.
It shows you the passwords, the name of the switch,
the interfaces, and the vlans that they're associated with.
It shows you the IP address assigned to the switch,
the default gateway, and then all of the passwords
assigned to the various lines.
It's very important that you copy what's in RAM
to the NVRAM, which is a special location in flash
for storing the startup file.
If I do a show start, which stands for show startup-config,
and I hit Enter,
you can see that the file that's currently stored in NVRAM
does not match the file that is in RAM.
So I'm going to fix that.
I'm going to do a copy run start.
It asked me if I would like to save the file name
as the default, I just hit Enter
that copies what's in RAM to NVRAM.
Now, if I do a show run,
you will see that all of the configurations,
the vlans, the passwords
are now currently also saved in NVRAM.
If the switch reboots or the power goes off,
when it comes back online,
all of the configurations will be reloaded into RAM
and everything will be up and running perfectly.
Additional commands that are very, very helpful
are the show flash,
which displays the contents of the flash memory.
You can see that the iOS file is stored in flash,
the startup or the config.text file is there
and the vlan.dat file is there as well.
That's the vlan database file.
Another very useful command is the show version.
And the show version command
actually displays all of the information about the device.
You can see that it tells you what the operating system is,
what the bootstrap or the loading program is,
the hardware itself,
how many interfaces are currently configured on this box,
the size of the flash memory,
as well as a very important value
called the config register value,
which controls how the actual switch boots.
So those are some very important show commands.
If you want to see them all,
you just do show space question mark.
And the list of all the show commands available
at the privileged mode are displayed.