Router
Console port
Terminal or a
PC with
Rollover cable
terminal
emulation
software
Take the following steps to connect a terminal to the console port on the router:
• Connect the terminal using the RJ-45 to RJ-45 rollover cable and an RJ-45 to
DB-9 or RJ-45 to DB-25 adapter.
• Configure the terminal or PC terminal emulation software for 9600 baud, 8 data
bits, no parity, 1 stop bit, and no flow control.
Establishing a HyperTerminal session
Router>enable
The command Exit
Router#configure terminal
Router(config)# interface fa 0/0
will take you up one
Router(config-if)# level
Configuring a router name
Router#config t
Router(config)#hostname Tokyo
Tokyo(config)#
Configuring a serial interface
• A serial interface will not show “up” and “up” unless both
ends are properly configured (mostly) and the no shutdown
command is used.
• If one router’s configuration looks okay, check the other
router’s configuration.
Configuring a serial interface
Lab DCE DTE
Real world
SanJose2
hostname SanJose2
interface ethernet 0
ip add 192.168.1.1 255.255.255.0
interface serial 0
ip add 192.168.2.1 255.255.255.0
SanJose1
hostname SanJose1
interface ethernet 0
ip add 192.168.3.1 255.255.255.0
interface serial 0
ip add 192.168.2.2 255.255.255.0
clockrate 64000
interface serial 1
ip add 192.168.4.2 255.255.255.0
clockrate 64000
Baypointe
When done configuring the hostname Baypointe
interfaces use the command: interface ethernet 0
ip add 192.168.5.1 255.255.255.0
show ip interface brief interface serial 0
ip add 192.168.4.1 255.255.255.0
Second, we configure RIPv1
SanJose2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SanJose2(config)#router rip
SanJose2(config-router)#network 192.168.1.0
SanJose2(config-router)#network 192.168.2.0
Baypointe#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Baypointe(config)#router rip
Baypointe(config-router)#network 192.168.4.0
Baypointe(config-router)#network 192.168.5.0
SanJose1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SanJose1(config)#router rip
SanJose1(config-router)#network 192.168.2.0
SanJose1(config-router)#network 192.168.3.0
SanJose1(config-router)#network 192.168.4.0
Third, We check on the routing table for each
router
SanJose2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M -
mobile, B - BGP
<omitted>
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * -
candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
SanJose1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M
- mobile, B - BGP
<omitted>
Gateway of last resort is not set
C 192.168.4.0/24 is directly connected, Serial1
R 192.168.5.0/24 [120/1] via 192.168.4.1, 00:00:12,
Serial1
R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:10,
Serial0
C 192.168.2.0/24 is directly connected, Serial0
C 192.168.3.0/24 is directly connected, Ethernet0
Third, We check on the routing table for each
router
Baypointe#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF
inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E
- EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * -
candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
During bootup
running-config
RAM
startup-config
Router# copy running-config startup-config
WARNING
• Using an incorrect configuration file name could overwrite the router’s IOS in flash, as the router believes
you are trying to copy a blank file into flash.
1. Router> enable
2. Router# erase start (Press enter to confirm): This step
erases the configuration file
3. Router# Reload : This step soft-boots the router
4. After the router reloads, the following question will show:
“Would you like to enter the setup mode”, Please answer
“no” to that question.
5. The router should now take you to user mode: Router>
Auxiliary auxpass