솔솔

라우터란? 본문

나의보물들/네트워크

라우터란?

솔솔하네 2024. 8. 25. 23:37

🍀  라우터란?


네트워크 장비로, 서로 다른 네트워크를 연결하고, 데이터 패킷을 최적의 경로를 통해 전달하는 역할

 

 

🍀  커멘트 명령어 


➡️ show version (약어: sh ver)

라우터 버전등 장비 정보 확인 가능

Router#sh ver
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 15.1(4)M4, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Thurs 5-Jan-12 15:41 15:41 by pt_team

 

➡️ show ip route

현재 라우터의 IP 라우팅 테이블을 표시

Router#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

 

➡️ show ip interface brief (약어: sh ip int b)

라우터의 각 인터페이스 상태와 IP 주소를 간략하게 보여줌

Router#sh ip int b
Interface              IP-Address      OK? Method Status                Protocol 
FastEthernet0/0        unassigned      YES unset  administratively down down 
FastEthernet0/1        unassigned      YES unset  administratively down down 
Vlan1                  unassigned      YES unset  administratively down down

 

라우터 장비에 슬롯 추가 시 (1: slot / 0 : portNum)

Router>sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol 
FastEthernet0/0        unassigned      YES unset  administratively down down 
FastEthernet0/1        unassigned      YES unset  administratively down down 
Serial1/0              unassigned      YES unset  administratively down down 
Serial1/1              unassigned      YES unset  administratively down down 
Serial1/2              unassigned      YES unset  administratively down down 
Serial1/3              unassigned      YES unset  administratively down down 
Serial1/4              unassigned      YES unset  administratively down down 
Serial1/5              unassigned      YES unset  administratively down down 
Serial1/6              unassigned      YES unset  administratively down down 
Serial1/7              unassigned      YES unset  administratively down down 
Vlan1                  unassigned      YES unset  administratively down down