1. Trang chủ
  2. » Luận Văn - Báo Cáo

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

3 6 0

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 3
Dung lượng 21,73 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Mô tả các interface đấu nối, để nhận biết cổng nào đang nối với cổng nào, thiết bị nào. R1#configure terminal[r]

Trang 1

Router cơ bản, Backup - Restore file cấu hình và Backup - Restore IOS

A Cấu hình cơ bản:

1 Cấu hình PC-Linux:

IP: 192.168.1.1/24

GW: 192.168.1.254

2 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 các 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 sẽ 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 thêm route tĩnh sau:

R1#configure terminal

R1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2

R1(config)#exit

fa0/0

fa0/0

Trang 2

7 Trên router R2, cấu hình thêm route tĩnh sau:

R2#configure terminal

R2(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1

R2(config)#exit

8 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

R1(config-line)#logging synchronous

9 Trên route R1 và R2, tắt chế độ phân giải tên miền (domain-lookup)

R1#configure terminal

R1(config)#no ip domain-lookup

10 Trên route R1 và R2, đặt password và mã hóa tất cả các password

a Password Console: ccna

R1#configure terminal

R1(config)#line console 0

R1(config-line)#password ccna

R1(config-line)#login

b Password Telnet: 123

R1#configure terminal

R1(config)#line vty 0 4

R1(config-line)#password 123

R1(config-line)#login

c Password enable: flic

R1#configure terminal

R1(config)#enable password flic

d Mã hóa password

R1#configure terminal

R1(config)#service password-encryption

11 Kiểm tra việc chứng thực password đã hoạt động đúng chưa

12 Hiển thị các câu chào khi đăng nhập vào các thiết bị từ console hoặc telnet

R1#configure terminal

R1(config)#banner motd #Xin chao cac ban hoc vien CCNA#

13 Mô tả các interface đấu nối, để nhận biết cổng nào đang nối với cổng nào, thiết bị nào

R1#configure terminal

R1(config)#interface fastEthernet 0/0

R1(config-if)#description Ket_noi_mang_192.168.1.0

R1(config-if)#exit

R1(config)#interface fastEthernet 0/1

R1(config-if)#description Ket_noi_router_R2

14 Lưu lại cấu hình và show startup-config lên kiểm tra

R1#copy running-config startup-config

15 Cho biết giá trị “thanh ghi” đang là bao nhiêu?

R1#show version

………

Cisco 2691 (R7000) processor (revision 0.1) with 121856K/9216K bytes of memory Processor board ID XXXXXXXXXXX

R7000 CPU at 80MHz, Implementation 39, Rev 2.1, 256KB L2, 512KB L3 Cache Bridging software

X.25 software, Version 3.0.0

SuperLAT software (copyright 1990 by Meridian Technology Corp)

TN3270 Emulation software

2 FastEthernet/IEEE 802.3 interface(s)

DRAM configuration is 64 bits wide with parity enabled

55K bytes of non-volatile configuration memory

16384K bytes of ATA System CompactFlash (Read/Write)

Trang 3

Configuration register is 0x2102 -> giá trị thanh ghi

16 Dung lượng RAM, NVRAM, Flash là bao nhiêu?

17 Show interface fa0/0 lên, cổng này đang chạy tốc độ (speed) là bao nhiêu? Băng thông (bandwidth)

là bao nhiêu?

R1#show interfaces fa0/0

FastEthernet0/0 is up, line protocol is up

Hardware is AmdFE, address is cc00.3734.0000 (bia cc00.3734.0000)

Description: Ket_noi_mang_192.168.1.0

Internet address is 192.168.1.1/24

MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Full-duplex, 100Mb/s, 100BaseTX/FX

ARP type: ARPA, ARP Timeout 04:00:00

Last input never, output never, output hang never

Last clearing of "show interface" counters never

………

18 Đổi tốc độ của cổng fa0/0 xuống thành 10 Kbps -> xem lại speed và bandwidth

R1#configure terminal

R1(config)#interface fa0/0

R1(config-if)#speed 10

19 Thay đổi bandwitch lên thành 100 Kbps -> show lại interface fa0/0 kiểm tra Có gì khác biệt?

R1#configure terminal

R1(config)#interface fastEthernet 0/0

R1(config-if)#bandwidth 100

*** THE END ***

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

TỪ KHÓA LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w