본문 바로가기

네트워크

[switch] Switch 텔넷 암호 설정

반응형

Switch 텔넷 암호 설정

 

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line vty 0 4 //텔넷
Switch(config-line)#password 12345
Switch(config-line)#login
Switch(config-line)#end
%SYS-5-CONFIG_I: Configured from console by console
Switch#show running-config
Building configuration...
Current configuration : 956 bytes
!
version 12.1
no service password-encryption
!
hostname Switch
!
interface Vlan1
ip address 218.234.13.10 255.255.255.0
!
line con 0
!
line vty 0 4
password 12345

login
line vty 5 15
login
!
!
end

Switch#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Switch#

----------<PC>------------
PC>telnet 218.234.13.10
Trying 218.234.13.10 ...
User Access Verification
Password:
---------------------------

----------패스워드해제-------------
Switch(config)#line vty 0 4 //텔넷
Switch(config-line)#password 12345
Switch(config-line)#login
Switch(config-line)#end
-----------------------------------

 

 

 

728x90
반응형