Router Components
CPU
POST
Bootstrap
ROM
Mini IOS
POST
Mini IOS
runningconfig
RAM
FLASH
IOS
Console
Auxilary
Interface
startupNVRAM
config
: Power-On Self-test
: ROM Monitor > recovery password, upgrade IOS
show configuration
Step config
COM
RJ-45
CONSOLE
Step1:Connectrollover(nullmodem)
Step2:HyperTerminal(CRT,Putty)
Start Program Accessories Communication Hyper Terminal
Connections on Router
2004, Cisco Systems, Inc. All rights reserved.
Console Connection
2004, Cisco Systems, Inc. All rights reserved.
Overview of Router Modes
User vs Privileged EXEC Mode
Router> showthngtinhanch
Router# showmoithngtin
Caclnhnhp&xut
User EXEC Mode
Router> exit
Press RETURN to get started.
Router>
Privilege EXEC Mode
Router# exit
Press RETURN to get started.
Router> enable
Router# disable
Router>
Global Configuration Mode
Router(config)# exit
Router# configure terminal
Router(config)# end
Router#
Ctrl + Z
chnay,cuhinhseanhhnglntoanRouter
t tn cho Router
Router(config)# hostname VnPro
VnPro(config)# hostname Cisco
Cisco(config)#
t Password Console
Router# exit
Press RETURN to get started!
User Access Verification
Password:
Password:
Password:
% Bad passwords
Press RETURN to get started!
User Access Verification
Password:
Router>
t Password Console
Router(config)# line console 0
Router(config-line)# password vnpro
Router(config-line)# login
Kim tra thng tin cu hnh ca Router
VnPro# show running-config
Current configuration : 497 bytes
!
version 12.4
!
hostname VnPro
!
line con 0
password cisco
login
--More--
Kim tra thng tin cu hnh ca Router
VnPro# show run
Current configuration : 497 bytes
!
version 12.4
!
hostname VnPro
!
line con 0
password cisco
login
--More--
Configure Interface
Router(config)# interface fastethernet 0/0
Router(config-if)# exit
Router(config)# interface fastethernet 0/1
Router(config-if)# end
Router#
Router(config)# interface f0/1
Configure Interface
VnPro(config)# interface f0/0
VnPro(config-if)# ip address 10.0.0.1 255.0.0.0
VnPro(config-if)# no shutdown
VnPro# show ip interface brief
Interface
FastEthernet0/0
IP-Address
10.0.0.1
FastEthernet0/1 unassigned
OK? Method Status
Protocol
YES unset
up
up
YES unset
administratively down down
VnPro#
Layer3
Layer1
Layer2
CngfastethernettrnRouterlunup/?dotnhnnguvngnibtrnthitb
Lu thng tin cu hnh
wr
write memory
copy run
star
VnPro# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
VnPro#
Xa cu hnh & khi ng li
VnPro# erase startup-config
Erasing the nvram filesystem will remove all
configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry
of nvram
VnPro# reload
Proceed with reload? [confirm]
--- System Configuration Dialog --Continue with configuration dialog? [yes/no]: no
Ctrl+CboquaInitialSetup
show ip interface brief
Router# show ip interface brief
Interface
IP-Address
OK? Method Status
FastEthernet0/0
unassigned
YES unset
administratively down down
FastEthernet0/1
unassigned
YES unset
administratively down down
Serial0/0/0
unassigned
YES unset
administratively down down
Serial0/1/0
unassigned
YES unset
administratively down down
Serial0/2/0
unassigned
YES unset
administratively down down
Serial0/3/0
unassigned
YES unset
administratively down down
Router#
Protocol
Keepalive
Keepalive 10s
10.0.0.9/24
f0/0
10.0.0.10/24
RouterX# show interfaces f0/0
f0/0 is up, line protocol is up
Hardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f)
Internet address is 10.1.1.11/24
MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
............
RouterX# ping 10.0.0.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
traceroute
2.2.2.2
R1
R2
1.1.1.1
3.3.3.3
PC1
Tx
PC3
Tx# ping 3.3.3.3
!!!!
Tx#
PC1:>\
traceroute
tracert 3.3.3.3
3.3.3.3
Type escape sequence to abort.
Tracing the route to 3.3.3.3
1 p1r1
(1.1.1.1)
20 msec 16 msec 16 msec
1 p1r1
(2.2.2.2)
26 msec 22 msec 22 msec
Tx#
Context-Sensitive Help
Context-Sensitive Help (Cont.)
Note
RJ-45 console
DB-9 (COM)
Router# ping 10.0.0.10
console
f0/0
NIC RJ-45
ICMP
10.0.0.9/24
10.0.0.10/24
C:\> ping 10.0.0.9