Tarmoq qurilmalarida dastlabki xavfsizlik sozlamalarini o’rnatish


Download 89.31 Kb.
Sana09.04.2023
Hajmi89.31 Kb.
#1346789
Bog'liq
1- Labaratoriya ishi


1 – LABORATORIYA ISHI
TARMOQ QURILMALARIDA DASTLABKI XAVFSIZLIK SOZLAMALARINI O’RNATISH
Ishdan maqsad : Kommutator qurilmasining tuzilishi, ishlash tamoyillari, masofadan kirishni ta’minlash usullari hamda xavfsizlik ko’rsatkichlarini sozlash qoidalarini tadqiq qilishdan iborat.
Ushbu laboratoriya ishida 1.1 – rasmda keltirilgan tarmoq tuzilishi bo`yicha konfiguratsiya ishlari amalga oshiriladi.


Telnet
Switch>enable


Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#banner motd "kirish taqiqlanadi"
S1(config)#line consol 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#exit
S1(config)#int vlan 1
S1(config-if)#ip address 192.168.1.100 255.255.255.0
S1(config-if)#no shutdown
S1(config-if)#exit
S1(config)#line vty 0 4
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#exit
S1(config)#enable secret cisco1S1
(config)#service password-encryption

Natija



SSH
S1(config)#ip domain-name cisco.com
S1(config)#username axf password cisco
S1(config)#crypto key generate rsa
The name for the keys will be: S1.cisco.com
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]: 512
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
*Mar 1 0:8:39.238: RSA key size needs to be at least 768 bits for ssh version 2
*Mar 1 0:8:39.238: %SSH-5-ENABLED: SSH 1.5 has been enabled
S1(config)#line vty 0 4
S1(config-line)#password cisco
S1(config-line)#login local
S1(config-line)#transport input ssh
S1(config-line)#exit


Natija

Download 89.31 Kb.

Do'stlaringiz bilan baham:




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