1. Trang chủ
  2. » Cao đẳng - Đại học

tài liệu phần mềm ccna hoàng ngọc thanhs page

3 8 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Nội dung

Trên route R1 và R2, cấu hình tránh trôi theo con trỏ chuột khi hiện các thông báo: R1#configure terminal.. R1(config)#line console 0.[r]

(1)

RIP, Backup - Restore IOS

A Cấu hình bản: Cấu hình PC-Linux:

IP: 192.168.1.1/24 GW: 192.168.1.254 Cấu hình PC-Linux_2:

IP: 192.168.3.1/24 GW: 192.168.3.254

3 Cấu hình router R1: fa0/0: 192.168.1.254/24, fa0/1: 192.168.2.1/24 R1#configure terminal

R1(config)#interface fastEthernet 0/0

R1(config-if)#ip address 192.168.1.254 255.255.255.0 R1(config-if)#no shutdown

R1(config-if)#exit

R1(config)#interface fastEthernet 0/1

R1(config-if)#ip address 192.168.2.1 255.255.255.0 R1(config-if)#no shutdown

R1(config-if)#exit

4 Cấu hình router R2: fa0/0: 192.168.3.254/24, fa0/1: 192.168.2.2/24 R2#configure terminal

R2(config)#interface fastEthernet 0/0

R2(config-if)#ip address 192.168.3.254 255.255.255.0 R2(config-if)#no shutdown

R2(config-if)#exit

R2(config)#interface fastEthernet 0/1

R2(config-if)#ip address 192.168.2.2 255.255.255.0 R2(config-if)#no shutdown

R2(config-if)#exit

5 Từ PC-Linux: dùng lệnh ping để kiểm tra kết nối: ping 192.168.1.1

ping 192.168.1.254 ping 192.168.2.1

Các lệnh ping sau bị fail: ping 192.168.2.2

ping 192.168.3.254 ping 192.168.3.1

6 Trên router R1, cấu hình RIP: R1#configure terminal R1(config)#router rip

R1(config-router)#version fa0/0

fa0/1 fa0/1

(2)

R1(config-router)#network 192.168.1.0 R1(config-router)#network 192.168.2.0 R1(config)#exit

7 Trên router R2, cấu hình RIP: R2#configure terminal R2(config)#router rip

R2(config-router)#version

R2(config-router)#network 192.168.2.0 R2(config-router)#network 192.168.3.0 R2(config)#exit

8 Từ PC-Linux: dùng lệnh ping để kiểm tra kết nối: ping 192.168.1.1

ping 192.168.1.254 ping 192.168.2.1 ping 192.168.2.2 ping 192.168.3.254 ping 192.168.3.1

9 Trên route R1 R2, cấu hình tránh trơi theo trỏ chuột thông báo: R1#configure terminal

R1(config)#line console

R1(config-line)#logging synchronous

10 Trên route R1 R2, tắt chế độ phân giải tên miền (domain-lookup): R1#configure terminal

R1(config)#no ip domain-lookup 11 Lưu lại cấu hình router R1 R2:

R1#copy running-config startup-config B Thực hành thiết bị thực (làm lớp):

1 Lắp đặt cấu hình máy tính, router phần A nêu Cài đặt TFTP Server máy PC2

3 Lưu lại IOS router R2 vào TFTP server máy PC2: R2#ping 192.168.3.1

Type escape sequence to abort

Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms R2#show flash

System flash directory: File Length Name/status

33591768 c1841-advipservicesk9-mz.124-15.T1.bin 28282 sigdef-category.xml

227537 sigdef-default.xml

[33847587 bytes used, 30168797 available, 64016384 total] 63488K bytes of processor board System flash (Read/Write) R2#copy flash: tftp:

Source filename []? c1841-advipservicesk9-mz.124-15.T1.bin Address or name of remote host []? 192.168.3.1

Destination filename [c1841-advipservicesk9-mz.124-15.T1.bin]? Writing

c1841-advipservicesk9-mz.124-15.T1.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 33591768 bytes]

(3)

4 Giả sử file IOS router bị hư bị ( dùng câu lệnh delete flash:tên_file_IOS ) R2#delete flash:c1841-advipservicesk9-mz.124-15.T1.bin

Delete filename [c1841-advipservicesk9-mz.124-15.T1.bin]? Delete flash:/c1841-advipservicesk9-mz.124-15.T1.bin? [confirm] R2#reload

5 Tiến hành load file IOS lưu bước -> bỏ vào router, router R2: rommon > set

rommon > IP_ADDRESS=192.168.3.254 -> địa chỉ IP port fa0/0 rommon > IP_SUBNET_MASK=255.255.255.0 -> subnet mask

rommon > DEFAULT_GATEWAY=192.168.3.254 -> default gateway rommon > TFTP_SERVER=192.168.3.1 -> Địa chỉ TFTP server rommon > TFTP_FILE= c1841-advipservicesk9-mz.124-15.T1.bin -> tên file cần nạp Bắt đầu trình nạp bằng lệnh tftpdnld:

rommon 7> tftpdnld

Invoke this command for disaster recovery only

WARNING: all existing data in all partitions on flash will be lost! Do you wish to continue? y/n: [n]: y -> chọn yes

Receiving c2600-is-mz.113-2.0.3.Q from 10.10.3.1 !!!!!.!!!!!!!!!!!!!!!!!!!.!!

File reception completed Khởi động lại router rommon 8>reset

Ngày đăng: 08/04/2021, 16:28

w