Sie sind auf Seite 1von 9

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology

Assignment 1 (Individual Practical Demonstration) Objectives Write a report and demonstrate commands on a CISCO router. Weight: Due Date: 20 Marks (10% of total assessment) 26/08/2011 (on the Lab time)

PART 1: In this assignment you are required to use CISCO router and switch, and write commands for the following questions. Submit the report to your tutor on 26/08/2011. Practice them and answer to the tutors questions during the lab hours on that day. 1. What command is used to set a serial interface to provide clocking to another router at 64Kb? The command used to set a serial interface to provide clocking to another router at 64Kb is Router (config)# clock rate 64000 and is entered in the interface configuration mode as follows Router> en Router# configure terminal Router (config)#interface serial 0 Router (config-if)#clock rate 64000

2. If you telnet into a router and get the response connection refused, password not set, what would you do on the destination router to stop receiving this message and not be prompted for a password? This error is being generated because the password on the remote router is not set. In order to telnet a router, a password must first be setup prior to attempting to connect to it. The command Router(config)# line vty 0 4 must be give in the global configuration mode as follows Router> en Router# configure terminal Router (config) # line vty 0 4 Router (config-line) # password cisco Router (config-line) # login

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology 3. If you type show inter et 0 and notice the port is administratively down, what would you do? The response, that the port is administratively down, indicates either that the administrator has specifically shut that particular interface or has forgotten to put the interface on. If the interface need to be turned on , the command Router (config if )# no shut will resolve the problem Router> en Router#configure terminal Router(config)#interface et 0 Router(config-if)#no shut 4. To delete the configuration stored in NVRAM, what would you type? Since the startup configuration is stored on the NVRAM, the command erase start will delete the contents of the NVRAM on the router on restart and is done as follows Router> en Router#erase startup-config Router# reload 5. To set a user-mode password for the console port, what would you type? To set a user-mode password for the console port to cisco, the following commands are used Router>en Router# config t Router(config)# line console 0 RouterA(config-line)#password cisco RouterA(config-line)#login When the user tries to connect to the router via the console port he/she will be now prompted to enter a password 6. To set the enable secret password to cisco, what would you type? To set the enable secret password to cisco, the command Router (config)#enable secret cisco is entered in the global configuration mode 7. To see if a serial interface needed to provide clocking, what would you use?. Since only the DCE provides the clock and the DTE follows it, the first step is to find out if the serial interface is a DTE or DCE. This can be done by typing the show controllers serial 0/0 in the privileged mode. If it is a DCE than the clock can be set by in the interface configuration mode with the command Router (config -if)# clock rate 64000.In this scenarios the clock is set to 64Kbps

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology 8. What command would you use to see the terminal history size? The command Router# show terminal can be used to see the terminal history size. By default the terminal is set to buffer 10 lines of command history. 9. To reinitialise the router and totally replace the running-config with the current startup-config. What command will you use? To reinitialise the router and totally replace the running-config with the current startup-config, the command Router# copy start run or the router can simply be reloaded with Router# reload 10. How would you set the name of a router to RouterA? In order to set the name of a router to RouterA, the following sequence of commands can be used. Router>en Router# config t Router(config)#hostname RouterA RouterA(config)# 11. Explain the following commands a. clock set The command clock set command is used to set the time and date in the router . The proper syntax is clock set hh:mm:ss date month year.For example, the command Router(config)#clock set 09:36:00 24 August 2011 configures the router with the time 9:36 and a date of 24th august 2011. b. access-list The access-list command is used to create an access list on the router, to control the access given to networks. For example the following command sequence can be used to deny icmp traffic from traversing the network Router>en Router#config t Router(config)#access-list 101 deny icmp any any c. copy run start The command copy run start is used to save the running configuration to the start-up configuration. On reloading, the router boots with the previous running configuration. It basically moves the contents of the DRAM to the NVRAM. d. terminal no editing The terminal no editing command is entered in the global configuration mode. It basically turns off the enhanced editing feature and is used to exit enhanced editing.

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology e. Banner The banner command can be used to display messages to the user for various purposes. These purposes include welcoming a user, warning a user against unauthorised access etc. It can be used at the time of login, execution or event to alert a user to an incoming telnet connection. The example used below illustrates how the message of the day banner can be configured RouterA(config)# banner motd # .. Unauthorised Access is Prohibited..# f. Description The description command is used for administrative purposes and allows the administrator to describe the network that an interface connects to. It does not alter the interface in any way, rather it is a means to systematically keep track of the network. The description of an interface shows up when the configuration settings are called for. It is entered in the global configuration mode. For example, Router(config)# interface fa0/0 Router(config-if)# description Lab201 Lan g. bandwidth 64 For the routers serial WAN DCE interface, it is necessary to configure the clock rate and bandwidth for proper operation. Failure to do so will result in the interface going down. The bandwidth to be used is set and specified in kilobits in the interface configuration mode using the bandwidth command. The example shown configures the serial 0 interface to have bandwidth of 64 kilobits. Router(config)# int serial 0/0 Router(config-if)# bandwidth 64 h. line aux 0 This command is used to configure the auxiliary port of the router. It allows the administrator to set a user mode password for users accessing the router though the auxiliary port. The auxiliary port is used to connect a modem to router and is done as follows Router>en Router# config t Router(config)# line aux 0 RouterA(config-line)#password cisco RouterA(config-line)#login i. exec-timeout 0 0 The Exec timeout is used to close the connection, if no key has been pressed for a fixed duration. This fixed duration is specified in the exec- time out command where the first digit following the command represents the number of minutes while the second digit represents the number of second. The command is exec-timeout 0 0, indicates that the timeout for the execution session of that particular line has been set to zero or the session will never time out.

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology j. logging synchronous

By default any events occurring on a Cisco router are reported to user configuring the router on the console. This may affect the administrators fluidity when configuring a router and causes a distraction. To avoid this logging synchronous command can be used to stop the message reporting of events when they occur

Part 2: With the aid of a diagram, write a report on Cisco commands to set up the following network. Using Packet tracer, prove the connectivity between all the PCs and the Server. A Router has 4 Fast Ethernet interfaces. 2 of them are connected to Switch A and Switch B respectively. 3 PCs are connected to a Switch A. 4 PCs are connected to Switch B. A Server is directly connected to the router. 2 PCs are also connected to the router but through a Hub. Solution: To implement the above specified network configuration, I used the Cisco 2621XM router with an additional NM-2FE2W Module to add two more fast ethernet interfaces in order to cater to the needs of the scenario. I also used two Cisco 2950 -24 switches to which I connected 7 of the PCs and a generic hub to connect the other two PCs. A server was also connected to the router to complete the scenario. Using the above components the network diagram of the configuration described above is shown below

Figure 1:Network Diagram of the scenario provided

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology The IP address configuration of the various devices is shown below Interface PC0 PC1 PC2 PC3 PC4 PC5 PC6 IP address 192.168.2.2 192.168.2.3 192.168.2.4 192.168.3.2 192.168.3.3 192.168.3.4 192.168.3.5 Interface PC7 PC8 Router Fast Ethernet 0/0 Router Fast Ethernet 0/1 Router Fast Ethernet 1/0 Router Fast Ethernet 1/1 Server IP address 192.168.4.2 192.168.4.3 192.168.2.1 192.168.3.1 192.168.4.1 192.168.1.1 192.168.1.2

Since Switch 0 was connected to the fast Ethernet 0/0 interface of the router, the default gateway of the PCs connected to switch 0 was the IP address of the fast Ethernet 0/0 interface of the router. A similar procedure was carried out for the other two LANs. The Configuration of the router for the network shown above is as follows: ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname RouterA ! interface FastEthernet0/0 ip address 192.168.2.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 ip address 192.168.3.1 255.255.255.0 duplex auto

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology speed auto ! interface Serial0/0 no ip address shutdown ! interface Serial0/1 no ip address shutdown ! interface Serial0/2 no ip address shutdown ! interface Serial0/3 no ip address shutdown ! interface FastEthernet1/0 ip address 192.168.4.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/1 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology ! ip classless ! line con 0 line vty 0 4 login end Once all the connections are made and router interfaces are configured, the connectivity between the hosts and the server checked either in the GUI itself or by using the ping command. The result of an attempt at the ping command is shown in the figure below. The reply indicates that the connection between the host 192.168.2.2 and the server is fine.

Figure 2: Result of an attempt at the ping command I also transmitted a simple pdu from PC 4 to the server using the GUI in Cisco packet tracer to check for connectivity.

BN207/MN505 Local Area Network Management Assignment 1, TP2 2011 Submitted by MIT111556 Information Technology

Figure 3: The setup in packet tracer showing successful connectivity in bottom right column References: [1]Todd Lamle, CCNA study guide sixth edition, Wiley Publishing, 2007

Das könnte Ihnen auch gefallen