date : 09/17/2018
0. connect to laptop (console)
// login on console
1. router > enable
2. router# configure
3. router(config)# interface FastEthernet 0/0
4. router(config-if)# ip address 192.168.1.1 255.255.255.192
5. router(config-if)# no shutdown
6. router(config-if)# exit
// End of Interface setting
7. router(config)# interface FastEthernet 0/1
8. router(config-if)# ip address 192.168.1.65 255.255.255.192
9. router(config-if)# no shutdown
10.router(config-if)# exit
아이피 설정을 잘못 했을 때
no ip 입력
------------------
> : 사용자 모드
# : 관리자 모드
router(config)# : 전역 설정모드
router(config-if)# : 인터페이스 모드
Router# copy running-config startup-config
enable password [pw]
service password-encryption
enable
enable secret [pw]
----------------1001
en
conf t
hostname net1
enable password ip
enable secret tcp
service password-encryption
int fa0/0
ip ad 192.168.2.1 255.255.255.0
no shut
int se0/0/1
ip ad 10.10.10.2 255.255.255.0
no shut
--------------1008
show interfaces fa0/0
show ip interface brief
show running-config
show startup-config
copy running-config startup-config
=> write
라우터 이름 설정 -> 전역설정 모드
관리자 암호 설정
router(config)# enable password [pw] : 평문으로 저장
router(config)# enable password [pw] : 암호화 되어서 저장
# 아이피 찾기 해제
router(config)# no ip domain-lookup
# console 비밀번호 설정
router(config)# line console 0 # console 설정
router(config-line)# password [pw] # console 비밀번호 설정
router(config-line)# login # 활성화
# 텔넷 설정하기
router(config)# line vty 0 4 # 가상 터미널(텔넷) 설정
router(config-line)# password [pw] #
router(config-line)# login # 활성화