해킹공주의 일상
[CISCO] 라우터 설정 본문
왜 하는가
시스코 인프라 진단..
아무리 해도 금세까먹어버린다 정리해두는게 좋겠다 싶었다
라우터 설정
Router>en // 라우터 접속
Router# // Privilge Exec Mode : 관리자 모드
show : 정적 정보 확인
debug : 동적 정보 확인
copy : 저장, 복사
erase : 삭제
reload : 재부팅
ping : ping 테스트
telnet : 텔넷 접속
Router#configure terminal // conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# // Global Configration Mode : 설정 모드
Router(config)#hostname R1 // 호스트 네임 설정
R1(config)#no ip domain-lookup // DNS 요청 X
R1(config)#enable secret cisco // enable 암호설정 (암호 cisco)
R1(config-line)#line con 0 // console 설정명령어
R1(config-line)#exec-timeout 30 30 // 30분 30초동안 입력이 없으면 콘솔 종료
R1(config-line)#exec-timeout 0 0 // 콘솔 종료 X
R1(config-line)#logg syn // 라인 자동 정리
R1(config-line)#password ciscocn // console 암호설정(암호 ciscocon)
R1(config-line)#login // 콘솔 접속시 암호확인 (암호확인X 명령 : no login)
R1(config-line)#line vty 0 4 // 0 ~ 4포트까지 가상터미널설정(Telnet) 임의변경가능
R1(config-line)#password ciscovty // 암호설정 (암호:ciscovty)
R1(config-line)#login // 암호확인(암호확인X 명령 : no login)
R1(config-line)#line aux 0 // aux 보조인터페이스 포트설정
R1(config-line)#password ciscoaux // 암호설정 (암호 : ciscoaux)
R1(config-line)#login // 암호확인
R1(config-line)#exit // 설정 종료
R1(config)#
R1(config)#exit // 설정 모드 종료
R1#
'인프라진단 > 인프라 지식' 카테고리의 다른 글
[UNIX] cron 권한 설정 (cron.allow & cron.deny)(ft.SRV-133) (0) | 2022.10.22 |
---|---|
[Linux] /etc/passwd 와 /etc/shadow 파일 구조 (0) | 2022.10.22 |
Standard Access-list와 Extended Access-list의 차이점 (0) | 2022.10.22 |
[Alteon] SNMP 커뮤니티 권한설정 방법 (0) | 2022.10.22 |
[Juniper] 스위치 보조(aux) 포트 비활성화 설정 (0) | 2022.10.22 |