system-view
[Huawei]sysname LSW1
[LSW1]int vlanif 1
[LSW1-Vlanif1]ip address 192.168.1.1 24
[LSW1-Vlanif1]quit
LSW2 kommutatorga nom beriladi va IP manzil sozlanadi.
system-view
[Huawei]sysname LSW2
[LSW2]int vlanif 1
[LSW2-Vlanif1]ip address 192.168.1.2 24
[LSW2-Vlanif1]quit
LSW1 da VTY virtual terminal sozlanadi va autentifikatsiya
sifatida AAA
dan foydalaniladi.
[LSW1]user-interface vty 0 4
[LSW1-ui-vty0-4]authentication-mode aaa
[LSW1-ui-vty0-4]protocol inbound telnet
[LSW1-ui-vty0-4]idle-timeout 15
[LSW1-ui-vty0-4]quit
LSW1 da telnet server sozlanadi.
[LSW1]telnet server enable
LSW1 da foydalanuvchi kirish ma‟lumotlari quyidagicha sozlanadi.
[LSW1]aaa
[LSW1-aaa]local-user ulugbek password cipher 123 privilege level 15
[LSW1-aaa]local-user ulugbek service-type telnet
[LSW1-aaa]quit
LSW2 da VTY virtual terminali quyidagicha sozlanadi.
[LSW2]user-interface vty 0 4
[LSW2-ui-vty0-4]authentication-mode aaa
[LSW2-ui-vty0-4]protocol inbound telnet
[LSW2-ui-vty0-4]idle-timeout 15
[LSW2-ui-vty0-4]quit
LSW2 da Telnet server quyidagicha sozlanadi.
[LSW2]telnet server enable
LSW2 da foydalanuvchi kirish ma‟lumotlari sozlanadi.
[LSW2]aaa
[LSW2-aaa]local-user ulugbek2 password cipher 123 privilege level 15
[LSW2-aaa]local-user ulugbek2 service-type telnet
LSW1 kommutatordan Telnet protokoli yordamida LSW2 kommutatoriga
bog„lanish amalga oshiriladi. Buning uchun quyidagi buyruqdan foydalaniladi.
telnet 192.168.1.2
LSW1 kommutatordan Telnet protokoli yordamida LSW2 kommutatoriga
bog„lanish amalga oshirildi. LSW2 kommutatorga
telnet protokoli orqali
bog„lanish natijasi 2.11- rasmda keltirilgan.
2.11- rasm. LSW2 kommutatorga telnet protokoli orqali bog„lanish natijasi
Telnet protokoli orqali LSW2 kommutatoriga bog„lanish
muvaffaqiyatli
amalga oshirildi.