Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
In this session you will learn how to examine a Cisco router and perform a basic configuration. At the end of this section
you will learn various show commands, interface configuration, and protocol configuration. Before starting configuration,
find out what the following are: DCE, DTE, serial and
Procedure
Use Packet Tracer in achieving the following. Check the configuration files after each step
1.
Create a diagram with two routers (2811) and one switch (2950-24) for each router. Add serial interfaces (NM 4-A/S)
each router. Switch on the routers. Add an end device (generic PC) to each switch. Add one console (PC) for each
router. Connect all devices (serial cable router-to-router, straight through cable router-to-switch and switch-to-PC, rollover (console cable) console-to-router). Skip set-up mode. Note the prompt you obtain. In which mode are you?
Answer:
2.
3.
Answer:
4.
Answer:
5.
Obtain hardware/software version information (Router> show version). What information is available?
Answer:
6.
Router> enable
Router# configure terminal:
Router# no ip domain-lookup
Router(config)# hostname anyName
anyName(config)# banner motd #Hello etc.#
anyName(config)# int s1/0
anyName(config-if)# ip address 192.168.0.1 255.255.255.0
anyName(config-if)# no shut
anyName(config-if)# clockrate 64000
anyName(config-if)# exit
anyName(config)# int fa0/1
anyName(config-if)# ip address 192.168.1.1 255.255.255.0
anyName(config-if)# no shut
anyName(config-if)# exit
Description for each interface
anyName(config-if)# description Router LAB-1-s1/0
Console password
anyName(config)# line console 0
anyName(config)# login
anyName(config)# password cisco
Enable secret
anyName(config)# enable secret class
Passwords for virtual terminals
anyName(config)# line vty 0 5
anyName(config)# login
anyName(config)# password class
Routing protocol RIP
anyName(config)# router rip
anyName(config-router)# version 2
anyName(config-router)# network 192.168.0.0
anyName(config-router)# network 192.168.1.0
ip host
anyName(config)# ip host anyHostname 192.169.0.1
7. Check the running and start-up configuration files. How do they compare?
anyName# sh run
anyName# sh start
8. Copy running configuration to start-up configuration (anyName# copy run start). Check the running and start-up
configuration files again. How do they compare?
9. Configure one host for each router (IP address and subnet mask).
10. Try the following
Ping from host to host
Trace route from host to host
Telnet from a remote host to a router.
anyName# show interfaces
anyName# show cdp neighbors
anyName# show cdp neighbors detail