라우터 (Router)2015. 12. 24. 19:11

7. show ip



IP protocol과 관련된 정보를 보기위한 Pre command 입니다.

show ip 의 중요 Sub command들은 다음과 같습니다.
   - route : Router의 IP정보에 대한 Routing table 정보
   - protocol : ip 에서 동작하고 있는 라우팅 프로토콜 정보
   - interface : IP protocol이 수행되는 interface의 여러상태와 환경설정 정보
   - traffic : Router에서의 IP packet의 traffic정보
   - arp : Router의 ARP table의 내용 ( = show arp)
   - bgp, egp, eigrp, ospf : 각각의 Routing protocol에 대한 정보를 나타내줍니다.

위 명령어에 대해 궁금하신 점이 있으시면 리플 달아주세요! ^^

다음은 위 명령어 중 한 예를 보여주고 있습니다.
다른 명령어도 이와 유사합니다. 큰 어려움은 없을것이라고 생각합니다. ^^

ROUTER#show  ip  protocol
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 2500
  Automatic network summarization is not in effect
  Routing for Networks:
    100.0.0.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    100.100.100.1            90      0:00:52
  Distance: internal 90 external 170
                                                  
위에서
Routing for Networks 100.0.0.0 은 EIGRP 가 적용되고 있는 네트워크를 보여줍니다.
Routing Information Source 는 라우팅 정보를 어디에서 가져오는 지를 보여주고 있습니다. 100.100.100.1 이 라우텅 정보를 가져오는 주소입니다.
즉 시리얼포트 ip addresss 입니다. eigrp 의 distance 90 이구요.



8. show logging



Router에 저장된  Router Event Message 를 보여줍니다. 즉 라우터에 어떤 현상이 발생했는지에 대해서 보여주고 있습니다.


                                              Serial 1 down
        PC -------------> ROU <------------------- ROU
                                    TER <------------------- TER2
Router Config 변경                   e0 protocol down
From IP :10.1.1.13


ROUTER#show  logging
Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)
    Console logging: level debugging, 744 messages logged
    Monitor logging: level debugging, 0 messages logged
    Trap logging: level informational, 749 message lines logged
. . . . . . . . .   .      .    .
*Apr 20 01:44:25: %SYS-5-CONFIG_I: Configured from console by vty0 (10.1.1.13)
*Apr 20 01:41:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
  changed state to down
*May 10 23:45:45: %LINK-3-UPDOWN: Interface Serial 1, changed state to down      



참고> 원거리에 있는 라우터에 접속을 할때는 일반적으로 라우터 이더넷 포트 주소로 접속을 합니다. 만약 라우터의 이더넷 포트가 다운되었을때는 어떤 방법으로 라우터에 접근을 할 수 있을까요?
  이더넷 포트는 다운되었지만 시리얼 포트는 살아있기 때문에 라우터의 시리얼 포트로 접속하면 됩니다.
telnet Serial-IP-Address

 

'라우터 (Router)' 카테고리의 다른 글

라우터 초기화  (0) 2015.12.24
라우터 트러블 슈팅  (0) 2015.12.24
시스코 네트워크 라우터 사용 매뉴얼  (0) 2015.12.24
Router Status Command #2  (0) 2015.12.24
Router Status Command #1  (0) 2015.12.24
Posted by 랩퍼우