ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Network 네트워크 인터페이스 케이블 상태 측정하기
    System of Infra/Network 2024. 1. 30. 22:42
    반응형

    cisco로고이미지
    Network 네트워크 인터페이스 케이블 상태 측정

    Network 네트워크 인터페이스 케이블 상태 측정하기(Time Domain Reflectometer)

    ※ Time Domain Reflectometer(TDR)
     - 실제 케이블의 상태나 UTP가 잘못 제작된 경우 속도 저하 및 간헐적인 순단으로 원인을 찾기 어려운 경우 해당 명령어를 통해서 케이블의 인터페이스 상태를 측정할 수 있음.

    ※ show cable-diagnostics tdr Command Output Fields
     - Interface : Interface tested.
     - Speed : Current line speed.
     - Pair : Local pair name
     - Cable Length : Cable length and accuracy. The accuracy unit is displayed in meters (m), centimeters (cm), or kilometers (km).
     - Channel : Pair designation.
    Switch01#show int status | inc Gi1/0/44         
    Gi1/0/44                     notconnect   100          auto   auto 10/100/1000BaseTX
    ▶ 인터페이스 상태를 확인합니다. 해당 스위치에서 Gi1/0/44 포트의 상태 확인 시 notconnect 상태를 확인 가능합니다.
    Switch01#test cable-diagnostics tdr int Gi1/0/44
    TDR test started on interface Gi1/0/44
    A TDR test can take a few seconds to run on an interface
    Use 'show cable-diagnostics tdr' to read the TDR results.
    ▶ 해당 포트를 테스트 하기 위해 cable-diagnostics tdr int Gi1/0/44 명령어를 통해 해당 인터페이스 상태를 수집합니다.
    ※ Cisco 공식문서에서 주의할 점으로 실제 케이블의 상태를 체크하고 수집하는 Command로 업무 서비스의 영향을 주는 네트워크의 경우 사전 협의 후 테스트를 진행합니다.
    Switch01#show cable-diagnostics tdr int Gi1/0/44
    TDR test last run on: April 20 12:51:33
    
    Interface Speed Local pair Pair length        Remote pair Pair status
    --------- ----- ---------- ------------------ ----------- --------------------
    Gi1/0/44  auto  Pair A     0    +/- 1  meters N/A         Open                
                    Pair B     0    +/- 1  meters N/A         Open                
                    Pair C     0    +/- 1  meters N/A         Open                
                    Pair D     0    +/- 1  meters N/A         Open
    ▶ show cable-diagnostics tdr int Gi1/0/44 명령어를 통해서 해당 인터페이스의 상태를 확인합니다. pair status 가 open일 경우 사용하지 않는 포트를 뜻합니다.
    Switch01#ping 192.168.10.100
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.10.100, timeout is 2 seconds:
    .....
    Success rate is 0 percent (0/5)
    ▶ 실제 물리적인 IP ping 테스트를 통해서 ICMP 통신으로 해당 포트의 ARP를 확인할 수 있도록 합니다.
    Switch01#show ip arp | inc 192.168.10.100
    Internet  192.168.10.100           0   e446.d676.2809  ARPA   Vlan100
    ▶ show ip arp 명령어를 통해서 해당 IP의 MAC ADDRESS를 확인합니다.
    Switch01#show mac address-table | inc e446.d676.2809
     100    e446.d676.2809   DYNAMIC     Gi1/0/37
    ▶ MAC ADDRESS를 통해서 해당 스위치의 포트 번호를 확인합니다.
    Switch01#show int status | inc Gi1/0/37
    Gi1/0/37                     connected    100        a-full a-1000 10/100/1000BaseTX
    ▶ 해당 인터페이스 포트 번호의 상태를 확인합니다.(connected 상태/ 속도 1000MB)
    Switch01#test cable-diagnostics tdr int Gi1/0/37
    TDR test started on interface Gi1/0/37
    A TDR test can take a few seconds to run on an interface
    Use 'show cable-diagnostics tdr' to read the TDR results.
    ▶ 해당 포트를 테스트 하기 위해 cable-diagnostics tdr int Gi1/0/44 명령어를 통해 해당 인터페이스 상태를 수집합니다.
    Switch01#show cable-diagnostics tdr int Gi1/0/37
    TDR test last run on: April 20 12:46:38
    
    Interface Speed Local pair Pair length        Remote pair Pair status
    --------- ----- ---------- ------------------ ----------- --------------------
    Gi1/0/37  1000M Pair A     40   +/- 0  meters Pair B      Normal              
                    Pair B     38   +/- 0  meters Pair A      Normal              
                    Pair C     39   +/- 0  meters Pair D      Normal              
                    Pair D     40   +/- 0  meters Pair C      Normal
    ▶ show cable-diagnostics tdr int Gi1/0/37 명령어를 통해서 해당 인터페이스의 상태를 확인합니다. pair status 가 Normal일 경우 정상을 뜻합니다.

    ※ Pair status displayed is one of the following(Pair status)
    • Terminated : The link is up.
    • Shorted : A short is detected on the cable.
    • Open : An opening is detected on the cable.
    • Not Completed : The test on the port failed.
    • Not Supported : The test on the port is not supported.
    • Broken : The pair is bad—either open or shorted.
    • ImpedanceMis : The impedance is mismatched.
    InProgress : The diagnostic test is in progress.

     

    PS. 포스팅의 내용은 제 기준으로 작성한 것이기 때문에 참고해서 보시면 감사하겠습니다.

    포스팅 과정의 오류 및 오타 그리고 궁금한 점에 대해서는 댓글 남겨주세요.

    반응형

    댓글

Designed by Tistory.