Connecting to a Router


In today's lab work you will be asked a set of questions below. Be sure to answer all of the questions (shown in red) and make a copy of your configuration file in notepad.



When you buy a Cisco router, it will arrive with no configuration. The very first time you connect to it you will need to use a console cable.

Open Packet Tracer 5.x via NAL and select a 2620XM router from Routers and a PC, from End Devices, and drag these to the working area.

From Connections choose a Console cable. Connect this cable to the RS232 port of the PC and the Console port of the router as shown below.

Click on the PC, go to desktop and choose Terminal


You now see 5 configuration options. Make a note of these and their current values. Click OK.



Press RETURN to get started.

Type show ? (you must type the '?')

What options do you see? Make a note of these

This is User Executive mode. What is the prompt?

Type the command show clock

What time does the router report?

Type show version. This will display the router's operating system version.

Make a note of this.

Type the command show interfaces and make a note of the reply.

Now type the command enable

What has the prompt changed to?

You are now in Privileged Executive mode.

What command options are available if you type show ?

Type ?

This displays a list of all commands available.

Type exit

Which mode are you in now?

Type enable

Type configure terminal

The prompt has changed. What is the prompt now?

You are now in Global Configuration mode

What command should you type to return to Privileged Exec mode?

The router configurations are held in a file called running-config

You can view this by typing

show
running-config

Now return to Global 
Configuration mode

Change the hostname

The router has a default name router

We will need to change this.

Change the router's name to your first name using the following command.

hostname yourname

exit

Now you will need to save the configuration

Save by copying the contents of running-config to startup-config

copy running-config startup-config

This is done more simply with the command write.

Now type show running-config to see the effect of your change.

What is the router's prompt now?

To set up an interface, we need to know the interfaces on the router.

We can see the interfaces using the command

show ip interface brief

Make a note of your router's interfaces.

We shall configure an IP address on the router's FastEthernet interface.

Hopefully, your router has a FastEthernet0/0 interface. We shall give it the address 192.168.1.1 and a subnet mask of 255.255.255.0

Enter Global Configuration mode using configure terminal command

Type interface FastEthernet0/0

What is the prompt now?

Type ip address 192.168.1.1 255.255.255.0

This has set the IP address and subnet mask but we need to turn the interface on

type no shutdown

Now return to Priv Exec mode.

Save your configuration using the  write command.

Configuring message-of-the-day (MOTD)


Make a banner message that will be seen at boot time

Enter Global Config mode

Use the banner motd command, followed by a space and a delimiting character, such as the hash symbol (#). Add a message for people logging in to see followed by a space and the delimiting character again.

Your message should warn unauthorised people not to enter. Use your imagination to think up a good message.

Follow these steps to create and display a message-of-the-day: 

1.      Use the configure terminal command to enter Global Configuration mode.

2.      Enter the command banner motd # <message of the day > # 

3.      Issue the copy running-config startup-config command to save the changes.



View your configuration and save it in notepad. you can copy the router output by highlighting the text then using the copy button

Please place this work in your logbooks when I return them to you.








Please refresh this page regularly during the lab.