Professional Documents
Culture Documents
Test skill.
1. Task of group ( nhim v ca nhm)
Khi chng ta thi skill th gm nhng cng vic sau cn phi
lm:
+ Chun b v phn cng ( c s h tng)
. v topology ca mng
. Chia a ch IP
. Lp jack
. kim tra ngun v h thng m bo h thng hot ng
bnh thng
+ Configuration
. Cu hnh c bn
. Routing
. Authentication
+ Tr li cu hi vn p
2. Basic Knowledge
a. Truy cp ascess server:
+Telnet 192.168.a.b
Vi a l a ch phng thi, b l a ch ca ascess server
Sau khi chng ta vo c th n yu cu username v
password ca
Ascess server
Username : student
Password : cisco
Sau chng ta tin hnh nhng lnh sau
Show line
truy cp vo router cu hnh th chng ta phi telnet
qua ascess
Server
Clear line x
X l s dy console ni vo router m mnh mun
vo
Sau dng cmd khc nh lnh
Telnet 192.168.a.b 200x
Th l chng ta truy cp vo ascess server thnh cng
b. cu hnh
sau khi vo c router th ta ch vic cu hnh bnh thng
Sau y l nhng lnh c bn cu hnh
Basic configuration
* Vo cc ch :
Router>en
Router#conf t
Router(config)#
* Cu hnh tn router
Router(config)#Hostname [tn router]
* Cu hnh banner motd
Router(config)#banner motd #qung b sn phm#
* t password ch line console
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
* t pass cho telnet
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router (config-line)#exit
*Dat enable secrect va enable password
RIPv2
* Chy giao thc nh tuyn RIPv2
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network [a ch mng]
Router(config-router)#no auto-summary
Router(config-router)#passive interface loopback
Nu c default route
Router(config)#ip route 0.0.0.0 0.0.0.0 [exit int]
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#redistribute static
Router(config-router)#default-information originate
Nu c static route
Router(config)#ip route [a ch IP] [subnet] [exit int]
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#redistribute static
Nu c back up default route
Router(config)#ip route 0.0.0.0 0.0.0.0 [exit int] [AD +1]
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#redistribute static
Router(config-router)#default-information originate
EIGRP ------> RIP
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#redistribute eigrp [AS] metric 1
OSPF ------> RIP
Router(config-router)#redistribute ospf [process id] metric 1
Cu lnh kim tra
Router#show ip interface brief
-----> kim tra vt l
Router#show cdp neighbors
-----> kim tra logic
Router#show ip protocols
Router#show ip rip database
----> show tt c nhng g
router hc c
Router#show ip route
EIGRP
* Chy giao thc nh tuyn EIGRP
Router(config)#router eigrp [AS] ----->phi ging nhau gia cc router
trong eigrp
Router(config-router)#network [a ch mng] [wildcard mask]
Router(config-router)#no auto-summary
Router(config-router)#passive-interface loopback
Nu c default route
Router(config)#ip route 0.0.0.0 0.0.0.0 [exit int]
Router(config)#router eigrp [AS]
Router(config-router)#redistribute static
Nu c static route
Router (config)#ip route [a ch IP] [subnet] [exit int]
Router(config)#router eigrp [AS]
Router(config-router)#redistribute static
Nu c back up default route
Router(config)#ip route 0.0.0.0 0.0.0.0 [exit int] [AD +1]
Router(config)#router eigrp [AS]
Router(config-router)#redistribute static
Nu mun thay i bandwidth cho int
Router(config)#int serial
Router(config-if)#bandwidth 64
-----> i bandwidth sang
64kbps
RIP -----> EIGRP
Router(config)#router eigrp [AS]
OSPF
* Chy giao thc nh tuyn OSPF
Router(config)#router ospf [process id] ------> khng cn phi
ging nhau
Router(config-router)#router-id [ip add]
Router(config-router)# network [a ch mng] [wildcard mask]
area [area number]
Router(config-router)#passive interface loopback
Nu c default route
3. EXAMPLE
V d: RIP-EIGRP-OSPF lap 5
Bi lm
+ Bc 1 : chun b c s h tng
+ Bc 2 : Cu hnh
. truy cp vo ascess server
+Vo ch cmd
+ telnet 192.168.129.97
Username : student
Pass
: cisco
show line
clear line x
x l s dy console cm vo router
+Vo ch cmd khc telnet vo router m mnh
mun cu hnh
A.Cu hnh router TY H
Router>
Router> enable
Router#
Router# config terminal
Router(config)#
Router(config)# hostname Tayho
Tayho(config)#
Tayho(config)#inter serial 0/0
Tayho(config-if)#ip add 155.55.4.1 255.255.255.0
Tayho(config-if)#no shut
Tayho(config-if)#exit
Tayho(config)#
Tayho(config)#inter loo 1
Tayho(config-if)#ip add 155.55.1.1 255.255.255.0
Tayho(config-if)#exit
Tayho(config)#
Tayho(config)#inter loo 2
Tayho(config-if)#ip add 155.55.2.1 255.255.255.0
Tayho(config-if)#exit
Tayho(config)#
Tayho(config)#inter loo 3
Tayho(config-if)#ip add 155.55.3.1 255.255.255.0
Tayho(config-if)#exit
Tayho(config)#