Vous êtes sur la page 1sur 4

Lab 1 Basic Router Configuration

1. In this lab, you will get practice with the basic configuration and show commands
on the Cisco router.

2. Select a particular Router. Press enter to get to the user prompt.


Router>

- When selecting the right router for this experiment, the one to be used is
the Generic (second to the last) because it has interfaces built in without the
need to add interfaces to the slots.

3. The greater-than symbol (>) in the prompt indicates you are in user mode. Type ?
to see a list of commands that can be entered in user mode.
Router>?

- The commands shown in the user mode are the general commands that can
be used like ping, exit etc.

4. Type enable to get into privileged mode. The pound sign (#) indicates you are
now in privileged mode.
Router>enable
Router#

- Privileged mode is like a restriction free mode.

5. Type ? to see a list of commands that can be entered in privileged mode. Notice
that there are more commands available in privileged mode than are available in
user mode. Configure and reload are two such commands that can only be issued
using privileged mode.
Router#?

- This commands are more useful in configuring the router and has more
commands.

6. Exit privileged mode by typing disable.


Router#disable
Router>

- Typing disable will automatically bring you out of privilege mode.


7. Re-enter privileged mode and type configure terminal to get into configuration
mode.
Router>enable
Router#configure terminal
Router(config)#

- The configure terminal command will set the profile of the router, like the
hostname.

8. Configure a hostname of router1. Notice how the prompt changes.


Router(config)#hostname Router1
Router1(config)#

- The prompt changes to the hostname that is entered.

9. In global configuration mode on router1, type enable ?. This will show valid
parameters that can be entered with the enable command. Configure an enable
password of ccnalab that will not be encrypted when viewing the router
configuration file and an enable secret of cisco that will be encrypted.
Router1(config)#enable?
Router1(config)#enable password ccnalab
Router1(config)#enable secret cisco

- You can set passwords with different level of security. When both password
and secret is enabled, the one used is the secret. Secret is encrypted and
dont be displayed when seeing the information of the router.

10. Configure an IP address for the Ethernet 0 interface on router 1 (refer to the table
on for all IP addresses and masks). Activate the interface.

- You must first check the name of the interface in the config, because
sometimes the interface that you desire to use is not available.

11. Practice using the tab key type int and then the tab key (no spaces).
Router1(config)#int<tab>
Router1(config)#interface fastethernet0/0
Router1(config-if)#ip address 160.10.1.1 255.255.255.0
Router1(config-if)#no shutdown

- Tab key can lessen the typing job, because it will automatically show the
command that is associated with the keyword. In this command, an IP
address was designated to the interface.

12. To exit to go back to global configuration mode.


Router1(config-if)#exit
Router1(config)#

- Type exit to return to the configure terminal mode and this will enable the
user to further add configurations.
13. Configure an IP address for Router1s Serial 1/0/0 interface (refer to the table for
IP addresses and masks) activate the interface.
Router1(config-if)#int s1/0/0
Router1(config-if)#ip address 175.10.1.1 255.255.255.0
Router1(config-if)#no shut

- This command will configure a IP address for the serial terminal of the
router and designate it to a no shut state.

14. Exit configuration mode by keying ctrl-z.


Router1(config-if)#ctrl-z
Router1#

- It one way of exiting the configuration without typing the command.

15. Type logout to exit the command line interface


Router1#logout

- The logout will bring you to the very start of the prompt.

16. Press the enter key to get back into the user mode prompt and then type enable to
get into privileged mode.
Router1>enable
password:
Router1#

- Now that there are passwords enable, the one to use is the secret.

17. Display a summary of all interfaces by typing:


router1# show ip interface brief

- This will display a brief summary and condition of any interface in the
router.

18. Display detailed information on each interface by typing:


router1# show interfaces

- A long list will be displayed and the information given is detailed.

19. Display the active configuration in DRAM by typing:


router#1 show running-config

- The information listed is the latest configuration saved or not.


20. Display the saved configuration in NVRAM by typing show startup-config.
a. Question: does anything exist in NVRAM? If not, why not?
Router1#show startup-config

- The command typed will show the saved startup setting of the router.
Nothing will be displayed because the running configuration was not yet
saved.

21. Save the running (active) configuration to NVRAM


Router1#copy running-config startup-config

- You will now save the running configuration to the startup configuration.
This will set the starup settings of the router.

22. Now display the contents of NVRAM again. This time, you should see the active
configuration saved in NVRAM.
Router1#show startup-config

- Now that there is a startup configuration saved, you will see the settings
you set up earlier.

23. Issue the show version command and answer these questions. What IOS release is
running on Router1? What are the contents of the configuration register?
Router1#show version

- The IOS release is PT1000 Software. The register shows the specification
and details of the device.

24. Issue the command to show which Layer 3 protocols are currently running on the
router. Which protocols are currently running on the router?
Router1#show protocols

- Internet Protocol routing, FastEthernet0/0, Serial1/0/0 and Serial1/0/1 line


protocols are all up.

Vous aimerez peut-être aussi