Blog Content

    티스토리 뷰

    [Windows cmd] Pathping




    PathPing 도구는 Ping 및 Tracert의 기능과 해당 도구가 제공하지 않는 추가 정보를 확인 할 수 있는 네트워크 경로 추적 도구입니다. 일정 시간 동안 최종 목적지로가는 도중에 각 라우터로 패킷을 보낸 다음 각 홉(hop)에서 반환 된 패킷을 기반으로 결과를 계산합니다.  PathPing은 특정 라우터 또는 링크에서 패킷 손실 정도를 보여주기 때문에 목적지까지의 경로중에 어떤 라우터 또는 링크가 네트워크 문제를 일으키는  찾아 낼 수 있습니다.


    명령어 스위치 표

    Switch

    Name

    Function

    -n

    Host names

    Does not resolve addresses to host names.

    -h < Max hops >

    Maximum hops

    Maximum number of hops to search for target.

    -g < destination address> < router IP addresses or NetBIOS names >

    Router -list

    Use a loose source route along host-list.

    -p < milliseconds >

    Period

    Number of milliseconds to wait between pings.

    -q < Number queries >

    Num_queries

    Number of queries per hop.

    -R

    RSVP test

    Checks to see if each router in the path supports the Resource Reservation Protocol (RSVP), which allows the host computer to reserve a certain amount of bandwidth for a data stream. The -R switch is used to test for Quality of Service (QoS) connectivity.

    -T

    Layer 2 tag

    Attaches a layer 2 priority tag (for example, for IEEE 802.1p) to the packets and sends it to each of the network devices in the path. This helps in identifying the network devices that do not have layer 2 priority configured properly. The -T switch is used to test for Quality of Service (QoS) connectivity.

    -w < milliseconds >

    Time-out

    Waits this many milliseconds for each reply.

    기본 도구 사양은 홉의 maximum의수는 30이고 시간 초과 전의 기본 대기 시간은 3 초 (3000 밀리 초)입니다. 기본 기간은 250 밀리 초이고 경로를 따라 각 라우터에 대한 기본 쿼리 수는 100입니다.


    명령어프롬프트에서 pathping 명령어만 입력하였을 경우 위와 같은 내용을 확인하실 수 있습니다.



    명령어 사용예

    local -> daum.net 까지 접속 경로 정보를 확인하고자 할 경우 아래와 같은 결과를 확인하실 수 있습니다.


    위표를 보시면 현재 local 홉0 부터 목적지 홉11 까지의 접속 경로 및 추가 정보를 확인 하실 수 있습니다.

    TIP : 위 내용을 따로 적을 필요 없이 txt 파일로 저장 하고 싶을 경우 아래와 같이 입력하시면 pathping_daum.txt 파일이 생성되며 pathping도구 사용의 결과 값이 자동적으로 저장이 됩니다.

    c:\>pathping daum.net > pathping_daum.txt


    'Windows' 카테고리의 다른 글

    [Windows cmd] Ping  (0) 2017.05.25

    Comments