본문 바로가기

Network

[CCNA]Router Console 설정

반응형

1. Laptop RS232 <-> Router Console 연결

https://ko.wikipedia.org/wiki/RS-232

 

RS-232 - 위키백과, 우리 모두의 백과사전

RS-232 표준 문서에 기술된 25핀(DB25) 커넥터 RS-232(Recommended Standard 232[1])는 1960년에 도입된 표준의 하나로[2], PC와 음향 커플러, 모뎀 등을 접속하는 직렬 방식의 인터페이스의 하나이다. 인터페이스

ko.wikipedia.org

 

2. Laptop - Terminal 실행

 

3. Terminal 연결

 

4. Router Hostname 설정

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R-1
R-1(config)#

 

6. password 설정

R-1(config)#enable password cisco
R-1(config)#

 

7. password 설정 확인

 

8. IP 설정

R-1(config)#do sh ip int b
Interface              IP-Address      OK? Method Status                Protocol 
FastEthernet0/0        unassigned      YES unset  administratively down down 
FastEthernet1/0        unassigned      YES unset  administratively down down 
Serial2/0              unassigned      YES unset  administratively down down 
Serial3/0              unassigned      YES unset  administratively down down 
FastEthernet4/0        unassigned      YES unset  administratively down down 
FastEthernet5/0        unassigned      YES unset  administratively down down
R-1(config)#int f0/0
R-1(config-if)#ip ad 192.168.1.254 255.255.255.0
R-1(config-if)#no sh

R-1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

R-1(config-if)#exi
R-1(config)#do sh ip int b
Interface              IP-Address      OK? Method Status                Protocol 
FastEthernet0/0        192.168.1.254   YES manual up                    down 
FastEthernet1/0        unassigned      YES unset  administratively down down 
Serial2/0              unassigned      YES unset  administratively down down 
Serial3/0              unassigned      YES unset  administratively down down 
FastEthernet4/0        unassigned      YES unset  administratively down down 
FastEthernet5/0        unassigned      YES unset  administratively down down
R-1(config)#

 

9. PC 셋팅

 

10. Gateway Ping

C:\>ping 192.168.1.254

Pinging 192.168.1.254 with 32 bytes of data:

Reply from 192.168.1.254: bytes=32 time<1ms TTL=255
Reply from 192.168.1.254: bytes=32 time<1ms TTL=255
Reply from 192.168.1.254: bytes=32 time<1ms TTL=255
Reply from 192.168.1.254: bytes=32 time<1ms TTL=255

Ping statistics for 192.168.1.254:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>

 

11. Router telnet 설정

R-1>en
Password: 
R-1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R-1(config)#line vty 0 4
R-1(config-line)#password cisco
R-1(config-line)#

 

12. 설정 저장

R-1#copy run start
Destination filename [startup-config]? 
Building configuration...
[OK]
R-1#

 

13. telnet 연결

C:\>telnet 192.168.1.254
Trying 192.168.1.254 ...Open


User Access Verification

Password: 
R-1>en
Password: 
R-1#

 

반응형