Користувальницькі налаштування

Налаштування сайту


howto:cisco:router:baseconfiguration

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

Порівняння попередніх версійПопередня ревізія
Наступна ревізія
Попередня ревізія
howto:cisco:router:baseconfiguration [2024/09/25 11:08] Юрійhowto:cisco:router:baseconfiguration [2024/09/25 11:59] (поточний) Юрій
Рядок 59: Рядок 59:
 R1# R1#
 </code> </code>
 +
 +<code>
 +S1# show ip ssh
 +SSH Disabled - version 1.99
 +%Please create RSA keys (of at least 768 bits size) to enable SSH v2.
 +Authentication timeout: 120 secs; Authentication retries: 3
 +S1# configure terminal
 +S1(config)# ip domain-name cisco.com
 +S1(config)# crypto key generate rsa
 +The name for the keys will be: S1.cisco.com
 +...
 +How many bits in the modulus [512]: 1024
 +...
 +S1(config)# username admin secret ccna
 +S1(config-line)# line vty 0 15
 +S1(config-line)# transport input ssh
 +S1(config-line)# login local
 +S1(config-line)# exit
 +S1(config)# ip ssh version 2
 +S1(config)# exit
 +S1#
 +</code>
 +<WRAP center round important 60%>
 +Примітка: Для видалення пари ключів RSA використовуйте команду режиму глобальної конфігурації crypto key zeroize rsa. Після видалення пари ключів RSA сервер SSH-сервер автоматично відключається.
 +</WRAP>
 +
 +
 +
 +<code>
 +R1(config)# 
 +
 +configure terminal
 +interface g0/0/0
 +ip address 192.168.10.50.255.255.255.0
 +ip default-gateway 192.168.10.1
 +no shutdown
 +end
 +copy running-config startup-config
 +</code>
 +
howto/cisco/router/baseconfiguration.1727262481.txt.gz · Востаннє змінено: 2024/09/25 11:08 повз Юрій