Articles

Cisco:구성 텔넷 및 SSH 스위치 Cisco

X

개인정보 보호&쿠키

이 사이트는 쿠키를 사용합니다. 계속함으로써,당신은 그들의 사용에 동의합니다. 쿠키를 제어하는 방법을 포함하여 자세히 알아보십시오.

그것을 얻었다!
광고

Part6. Konfigurasi 텔넷 댄 SSH 스위치 시스코

에이., Material Lab:

이 섹션에서는 원격 스위치를 목적으로 텔넷 및 SSH(보안 쉘)의 구성에 대해 알아 봅니다.

차이 Telnet SSH:

B. 토폴로지:

C.Configuration:

첫째,우리는 우리의 IP 주소 설정하고 마스크에서 그 VLAN1 밀 SW1. 왜 VLAN1 에서? 기본적으로 Milky-SW1 의 모든 인터페이스는 VLAN1 로 이동하기 때문입니다. 학습 VLAN 우리는 다음 장에서 논의 할 것이다.

다음으로 텔넷에 액세스 할 클라이언트의 사용자 이름과 암호를 설정하는 중입니다.,

Sakti-SW1(config)#username miss password 123

그런 다음 사용자 EXEC 모드에서 권한 모드로 입력하는 데 사용되는 enable secret password nantnya 를 설정합니다.

Sakti-SW1(config)#enable secret 123456

암호 줄 vty0 2 를 설정하고 있습니다. 0 2 나타내는 숫자의 사용자 yanng 에 액세스할 수 있습

Description

exec-timeout5 0:시간 제한 명령을 경우 그래서 5 분 안 0 초 동안의 활동,그것은 로그아웃

로깅 syncronous:기의 출력 디버그 및 시스코 IOS 을 방해하지 않도록에서의 시간 구성이 있습니다.

로그인 현지 시간:위해 텔넷은 로컬에서 원격 수 있습니다.,

다음으로 로그인을 시도하는 사용자에게 배너 MOTD(오늘의 메시지)를 만들 수 있지만 인증은 없습니다.

Sakti-SW1(config)#banner motd #Dilarang Login kecuali Admin#

우리가 공급 한 모든 구성을 확인할 수 있습니다.

Sakti-SW1#show runBuilding configuration...Current configuration : 1285 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Sakti-SW1!enable secret 5 $1$mERr$H7PDxl7VYMqaD3id4jJVK/!!!!username miss privilege 1 password 0 123!!spanning-tree mode pvst!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet0/1!interface GigabitEthernet0/2!interface Vlan1ip address 192.168.1.23 255.255.255.0!banner motd ^CDilarang login selain Admin^C!!!line con 0!line vty 0 2exec-timeout 5 0password misskecupbunglogging synchronouslogin localline vty 3 4loginline vty 5 15login!!!endSakti-SW1#

최근에 클라이언트를 통해 테스트 중입니다.

이미 PC 클라이언트를 통해 스위치를 구성 할 수 있다면 텔넷에 서명하십시오.
다음으로,우리는 우리를 전환 meremote 에 SSH 를 사용하려고합니다. 여전히 동일한 토폴로지로., Berikut konfigurasinya:

Bisa dicek dengan 명령 show run atau show running-config:

Sakti-SW1#show running-configBuilding configuration...Current configuration : 1501 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecservice password-encryption!hostname Sakti-SW1!enable secret 5 $1$mERr$H7PDxl7VYMqaD3id4jJVK/!!ip domain-name sakti.smk!username sakti secret 5 $1$mERr$XT1P0TbwImbK/WMjHHP8M1!!spanning-tree mode pvst!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet0/1!interface GigabitEthernet0/2!interface Vlan1ip address 192.168.1.23 255.255.255.0!banner motd ^CDilarang login selain Admin^C!!!!line con 0!line vty 0 2login localtransport input sshline vty 3 4loginline vty 5 15login!!!endSakti-SW1#Bisa kita cek versi SSH nya :Bisa kita cek versi SSH nya :Sakti-SW1#show ip sshSSH Enabled - version 1.99Authentication timeout: 120 secs; Authentication retries: 3Sakti-SW1#Terakhir, kita test dengan login dari Sakti-PC1