Lab 3

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

Lab 3

Task 1

On Router1, configure a host name of Router1.

Display the active configuration in memory. At the ––MORE–– prompt, press the Spacebar
to view the next page of information.
#show running-config
Display the contents of flash memory.
#show flash

Display the commands that you have issued that are still stored in router memory.
#show history

Display the number of commands that can be stored in the history buffer on the terminal.
#show terminal

How many commands can currently be stored in the history buffer?


9 commands are sorted in the buffer.

Configure the history buffer to store 100 commands.


#terminal history size 100
Task 2

Configure a host name of Router1 for the router. #hostname R1

Display the active configuration. #show run

Display the backup configuration file stored in NVRAM. #show startup-config


When no data is present in NVRAM

When run command and copy data from Ram to NVram


C

opy the current active configuration to NVRAM. The current active


configuration is in random access memory (RAM); it should be saved so that the router

will still boot up with the saved configuration in the event of a power outage. # copy

running-configuration startup-configuration Display the configuration stored in NVRAM.

If you decide that you would like to start configuring the router from scratch, you can

erase the startup configuration and reload the router. This will enable you to completely

delete all configurations on the router. Issue the erase startup-config command to delete the

configuration file in NVRAM. When prompted, confirm that you want to erase the
NVRAM file system by pressing the Y key. Reload the router, and press the Enter key

when prompted to confirm the reload. When prompted to enter the initial configuration

dialog, type no. The initial configuration dialog prompt is displayed because a startup

configuration was not found. # Reload

8. After the router reboots, look at the startup configuration file again. What configuration

is displayed? #show startup-config

9. Configure the host name of the router as Router1.


Save the router configuration. Change the host name to Boson.

After the router reloads, what host name is displayed in the prompt?
View the configuration used when the router restarted after you issued the reload
command.

You might also like