반응형
1. enable password 설정
- Router 1
R-1>en
R-1#conf t
R-1(config)#enable password cisco
R-1(config)#^Z
R-1#
%SYS-5-CONFIG_I: Configured from console by console
R-1#disable
R-1>en
Password:
- Router 2
R-2>en
R-2#conf t
R-2(config)#enable password cisco
R-2(config)#^Z
R-2#
%SYS-5-CONFIG_I: Configured from console by console
R-2#disable
R-2>en
Password:
2. enable secret password 설정
- Router 1
R-1>en
Password:
R-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R-1(config)#enable secret cisco1!
R-1(config)#exi
R-1#
%SYS-5-CONFIG_I: Configured from console by console
R-1#disable
R-1>en
Password:
-Router2
R-2>en
Password:
R-2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R-2(config)#enable secret cisco1!
R-2(config)#exi
R-2#
%SYS-5-CONFIG_I: Configured from console by console
R-2#disable
R-2>en
Password:
3. show run 으로 두 설정값 차이 확인
R-1(config)#do sh run
...
enable secret 5 $1$mERr$597kcGzMkqwCTvF9Bi7A//
enable password cisco
...
enable secret pasword는 enable password 보다 우선 순위며 password 가 암호화 되어있다.
4. vty 설정 및 확인
- Router 1
R-1(config)#line vty 0 ?
<1-15> Last Line number
<cr>
R-1(config)#line vty 0 4
R-1(config-line)#login
% Login disabled on line 132, until 'password' is set
% Login disabled on line 133, until 'password' is set
% Login disabled on line 134, until 'password' is set
% Login disabled on line 135, until 'password' is set
% Login disabled on line 136, until 'password' is set
R-1(config-line)#password cisco
R-1(config-line)#^Z
R-1#
%SYS-5-CONFIG_I: Configured from console by console
R-1#
R-1#disable
R-1>
- Router 2
R-2(config)#do telnet 10.1.1.1
Trying 10.1.1.1 ...Open
User Access Verification
Password:
R-1>
5. console password 설정
- Router 1
R-1(config)#line con 0
R-1(config-line)#password cisco
R-1(config-line)#login
R-1(config-line)#exi
R-1(config)#^Z
R-1#
%SYS-5-CONFIG_I: Configured from console by console
R-1#disable
R-1>exi
Press RETURN to get started!
User Access Verification
Password:
- Router 2
R-2(config)#line con 0
R-2(config-line)#password cisco
R-2(config-line)#login
R-2(config-line)#exi
R-2(config)#^Z
R-2#
%SYS-5-CONFIG_I: Configured from console by console
R-2#disable
R-2>exi
Press RETURN to get started!
User Access Verification
Password:
반응형
'Network' 카테고리의 다른 글
[CCNA]Switch Console 설정(vlan) (0) | 2021.08.22 |
---|---|
[CCNA]Router Console 설정 (0) | 2021.08.22 |
[CCNA]Collision Domain(충돌 영역) Hub vs Switch (0) | 2021.08.16 |
[CCNA]패킷트레이서 기초 1(Router - Router) (0) | 2021.08.16 |
[CCNA]패킷트레이서 다운로드 및 설치(Download and Install Packet Tracer) (0) | 2021.08.07 |