Mavzu: Telnet va ssh protokollarini o'rganish. Cisco Packet Tracer-da Telnet va ssh protokollari yordamida uskunani sozlash. Ish maqsadi: Telnet va ssh protokollarini o'rganish, ularni Cisco Packet Tracer uskunasida sozlash


Download 0.76 Mb.
Sana09.11.2023
Hajmi0.76 Mb.
#1759927
Bog'liq
tarmoq 3

O‘ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA ALOQOTALARINI RIVOJLANISH VAZIRLIGI


MUHAMMAD AL-XORAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
Amaliy ish - 3

Bajardi :Xo’jayazov Sh.


Tekshirdi :Abdurashidova K.
Toshkent -2023

Mavzu: Telnet va SSH protokollarini o'rganish. Cisco Packet Tracer-da Telnet va SSH protokollari yordamida uskunani sozlash.
Ish maqsadi: Telnet va SSH protokollarini o'rganish, ularni Cisco Packet Tracer uskunasida sozlash

Telnet protokoli orqali ulanish o'rnatilmoqda.


1 - Telnet protokoli orqali ulanishni o'rnatish.

Kommutatorga kirish uchun ism va parolni belgilash.

Switch>en
Switch#conf t
Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating.
Switch(config)#hostname Kim(S1)
Kim(S1)(config)#sirli kimni yoqish
Kim(S1)(config)#chiqish

Masofaviy kirish

Kim(S1)#en
Kim(S1)#conf t
Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating.
Kim(S1)(config)#banner motd ' Kim Vlad (TELNET)'
Kim(S1)(config)#username Vlad privilege 15 parol kim
Kim(S1)(config)#line konsoli 0
Kim(S1)(config-line)#login local
Kim(S1)(config-line)#end

Virtual ulanish


(Telnet)

Kim(S1)#en


Kim(S1)#conf t
Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating.
Kim(S1)(config)#interfeys vlan 1
Kim(S1)(config-if)#ip manzili 191.107.1.200 255.255.0.0
Kim(S1)(config-if)#o'chirish yo'q
%LINK-5-CHANGED: Vlan1 interfeysi, holati yuqoriga o'zgartirildi
%LINEPROTO-5-UPDOWN: Vlan1 interfeysidagi chiziqli protokol, holat yuqoriga o‘zgartirildi
Kim(S1)(config-if)#chiqish
Kim(S1)(config)#line vty 0 4
Kim(S1)(config-line)#transport kirish telnet
Kim(S1)(config-line)#login local
Kim(S1)(config-line)#end
%SYS-5-CONFIG_I: Konsoldan konsol orqali sozlangan

Ping buyrug'i yordamida IP-manzil kalitga to'g'ri tayinlanganligini tekshiramiz:


C:\>ping 191.107.1.200
Keyinchalik, biz Telnet protokoli yordamida ulanishlarni tekshiramiz:
C:\ >telnet 191.107.1.200
1.1¬ - Ping va telnet orqali tekshirish


SSH orqali ulanish o'rnatilmoqda

2.1 Routerga ulangan portlarni ko'taring

Kim(S1)#en


Kim(S1)#conf t
Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating.
Kim(S1) (config)#int gigabitethernet0/1
Kim(S1) (config-if)#switchport rejimi magistral
Kim(S1) (config-if)#chiqish
2.1 – Routerni sozlash

Kommutatorni sozlash.


Router>en


Router#conf t
Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating.
Router(config)#hostname Kim(R1)
Kim(R1)(config)#sirli kimni yoqish
Kim(R1)(config)#int gig0/1
Kim(R1)(config-if)#ip manzili 191.107.1.210 255.255.0.0
Kim(R1)(config-if)#o'chirish yo'q
%LINK-5-CHANGED: Interfeys GigabitEthernet0/1, holati yuqoriga o'zgartirildi
%LINEPROTO-5-UPDOWN: GigabitEthernet0/1 interfeysidagi chiziqli protokol, holat yuqoriga o‘zgartirildi
Kim(R1)(config-if)#chiqish
Masofaviy kirish

Kim(R1)(config)#banner motd 'Kim Vlad SSH'


Kim(R1)(config)#username Vlad privilege 15 parol kim
Kim(R1)(config)#line konsoli 0Kim(R1)(config-line)#login local
Kim(R1)(config-line)#end
%SYS-5-CONFIG_I: Configured from console by console


Virtual ulanish
(SSH)
Kim(R1)#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Kim(R1)(config)#int vlan 1
Kim(R1)(config-if)#line vty 0 4
Kim(R1)(config-line)#transport input ssh
Kim(R1)(config-line)#login local
Kim(R1)(config-line)#end
%SYS-5-CONFIG_I: Configured from console by console
Kim(R1)#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Kim(R1)(config)#ip domain-name Router
Kim(R1)(config)#ip ssh version 2
Please create RSA keys (of at least 768 bits size) to enable SSH v2.
Kim(R1)(config)#crypto key generate rsa
The name for the keys will be: Kim(R1).Router
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
Kim(R1)(config)#ip ssh version 2
*Mar 1 0:5:3.646: %SSH-5-ENABLED: SSH 2 has been enabled
Kim(R1)(config)#exit

Ping buyrug'i yordamida IP-manzil kalitga to'g'ri tayinlanganligini tekshiramiz:


C:\>ping 191.107.1.210
Keyinchalik, biz SSH protokoli yordamida ulanishlarni tekshiramiz:
C:\ >ssh -l Vlad 191.107.1.210

2.3¬ - Ping va ssh orqali tekshirish
Download 0.76 Mb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling