라우터 기본설정, 인터페이스 설정 접근관련
- 명령어(Telnet, Console)
- 인터페이스 설정
- 라우터 비밀번호 복구
1. 라우터 비밀번호 복구
전원 OFF - ON
ROM IOS BOOT <- Ctrl + Break
Confreg 0x2142 <- No load Startup-config
reset
(리셋 후 현재상태는 Console 부팅이며 Running Config는 기본값이다.
만약 여기서 설정을 바꾸고 저장하면 NVRAM에 있는 기존 값들이 삭제되고 현재의 Running Config 가 저장된다)
Flash boot(No Startup-Config)
Copy Startup-config Running-config <- 설정 불러오기
Global-configuration > no enable secret
2. 라우터 명령어
Global-Configuration > line console 0 <- 콘솔 설정창 진입 명령
기본설정 : no login, no password
Global-Configuration > line vty 0 4 <- Telnet 설정창 진입 명령
기본설정 : login, no password
hostname [이름]
enable password [패스워드]
enable secret [패스워드]
interface [인터페이스 번호]
3. 인터페이스 보기
- LAYER1 케이블 접속상태 확인 명령어
SHOW CONTROLLER (1U 장비)
SHOW DIAG
SHOW INTERFACE [인터페이스 번호]
1. serial 0/0 is up, line protocol is up
정상작동
2. serial 0/1 is administratively down, line protocol is down
Shutdown 명령어가 입력되어있는 상태
3. serial 0/2 is down, line protocol is down
No Shutdown이 되어있는 상태지만 연결이 되지 않음
4. Serial 0/3 is up, line protocol is down
Encapsulation type이 다른경우
즉, Layer 1 확인 - Show Controller
Layer 1, 2확인 - Show interface
인터페이스 상황 확인 - Show ip interface breif
하지만 3계층연결확인은 반드시 Ping 테스트를 해보아야한다.