본문 바로가기

IT/네트워크관리사 2급

[실기 - 라우터] 라우터 호스트네임 설정

반응형

[ 문제 ]

Hostname을 network2로 변경하고 console 0의 password를 route5로 변경 후 로그인하시오.

(완료된 설정은 "Router# copy runnig-config startup-config"를 사용하여 startup-config에 저장)

 

 


[ 정답 ]

Router> en
Router# conf t
Router(config)# hostname network2
network2(config)# line console 0
network2(config-line)# password route5
network2(config-line)# login
network2(config-line)# exit
network2(config)# exit
network2# copy r s

 

 


[ 풀이 ]

Router> en 사용자 모드에서 관리자 모드로 전환
Router# conf t 관리자 모드에서 전역설정 모드로 전환
Router(config)# hostname network2 호스트네임을 network2로 설정 (대소문자 구분)
network2(config)# line console 0 console 0으로 이동 (console은 interface 명령어가 아닌 line 명령어)
network2(config-line)# password route5 콘솔 비밀번호를 route5로 설정 (대소문자 구분)
network2(config-line)# login 로그인 명령어
network2(config-line)# exit console 0에서 나가기
network2(config)# exit 전역설정 모드에서 관리자 모드로 나가기
network2# copy r s 관리자 모드에서 저장

 

반응형