01.호스트 네임 변경
Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#
enable
: 관리자 모드
configure terminal
: 전역 설정 모드
02.콘솔 패스워드 설정
R1>en
R1#conf t
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#end
Password:
enable
모드에서 패스워드 걸림
Password:
에는 콘솔 패스워드로 설정한 값을 입력 합니다. (여기서는 cisco 입력)
03.텔넷 패스워드 설정
R1>en
R1#conf t
R1(config)#line vty 0 4
R1(config-line)#password class
R1(config-line)#login
R1(config-line)#end
R1(config)#int g0/0
R1(config-if)#ip add 192.168.10.1 255.255.255.0
R1(config-if)#no sh
![](https://velog.velcdn.com/images/wlsdnjs156/post/4df0a27a-0def-4639-80d7-0c04025e0f17/image.JPG)
![](https://velog.velcdn.com/images/wlsdnjs156/post/d82fbe4b-1ce1-40e3-8a06-ebe5f642e1e8/image.JPG)
PC
의 command Prompt
에서 원격으로 telnet
명령으로 라우터에 접속 합니다.
telnet 192.168.10.1
입력 후 Password
는 class
입력 합니다.
04.관리자 모드 패스워드 설정
R1>en
R1#conf t
R1(config)#enable password Router
R1(config)#end
enable
모드로 들어올때 password
에 Router
를 입력 합니다.
05.관리자 모드 엑세스 보안 설정
R1>en
R1#conf t
R1(config)#enable secret nano
R1(config)#exit
R1#show running-config
![](https://velog.velcdn.com/images/wlsdnjs156/post/04b8dc53-9de5-4a20-8459-6eb93f87669a/image.JPG)
06.모든 일반 텍스트 암호화 설정
R1>en
R1#conf t
R1(config)#service password-encryption
R1(config)#exit
R1#show running-config
![](https://velog.velcdn.com/images/wlsdnjs156/post/0fc32053-7b13-4734-af4d-e4d43ac0b415/image.JPG)
07.권한이 없는 사람이 장치에 액세스하지 못하도록 경고 메시지 출력
R1>en
R1#conf t
R1(config)#banner motd #Authorized Access Only!#
R1(config)#end
R1#exit
![](https://velog.velcdn.com/images/wlsdnjs156/post/751ad9cc-ec6b-4f9b-8e69-ab5ee47d1453/image.JPG)
- 네트워크 장치에
Banner message
를 생성하려면 전역 설정 모드에서 banner motd # 내용 #
명령을 사용해야 합니다.
08.저장
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
- 실행중인 구성에 대한 변경 내용을 시작 구성 파일에 저장 <즉,
RAM
-> NVRAM
>
startup-config
: NVRAM
에 저장 됩니다. (비휘발성 메모리)
running-config
: RAM
에 저장됩니다. (휘발성 메모리)
- 만약 원하지 않는 변경 사항이
startup-config
에 저장된 경우 관리자 설정 모드에서 erase startup-config
명령을 사용하여 모든 구성을 지워야 합니다.