Switch(config)#line vty 0 15 Switch(config-line)#password 12345 Switch(config-line)#login Switch(config-line)#exit Switch(config)#enable password 12345 Switch(config)#end Switch# Admin kompyuteridan kommutatorga bog’lanish va masofadan boshqarish uchun kompyuter
buyruqlar satrida “telnet 192.168.1.100” teriladi. Parol kiritishimizni talab qilganda parolni kiritamiz
va Enter tugmasin bosamiz. Kommutatorga buyruq kirtishimizda ham parol so’raydi. parolni kiritamiz
va enterni bosamiz.
1.3-rasm. Admin kompyuteridan buyruqlar satri orqali kommutatorga bog’lanish
SSH konfiguratsiyasini sozlas SSH protokolini sozlashdan oldin kommutatorda tugunning maxsus nomini va tarmoq
ulanishining mos keluvchi ko`rsatkichlarini ko‘rsatish lozim.
1 – qadam. SSH protokolini borligini tekshirish SSH protokoli borligini bilish uchun
show ip ssh buyrug‘i beriladi. Agar kommutatorda
kriptografik funksiyani qo‘llab quvvatlovchi IOS bo‘lmasa, bu buyruq ishlamaydi.
2 – qadam. IP domenni sozlash Tarmoqning IP domenini global konfiguratsiya rejimida
ip domain-name domen nomi yordamida ko‘rsating. 1.4 – rasmda domen nomi
cisco.com qilib olingan.
100
Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname tatu_sw1 tatu_sw1(config)#ip domain name tatu tatu_sw1(config)#crypto key generate rsa The name for the keys will be: tatu_sw1.tatu 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]