ping、tcpping、tcpdump、および traceroute を実行する方法CloudGenixIONデバイス

ping、tcpping、tcpdump、および traceroute を実行する方法CloudGenixIONデバイス

23254
Created On 05/06/21 00:06 AM - Last Modified 03/02/23 02:24 AM


Objective


  • ピン- Internet Control Message Protocol をテストします (ICMP ) ホストの到達可能性。
  • tcpping - 伝送制御プロトコルのデバッグ (TCP ) 指定された宛先またはポートの組み合わせに接続/ping する
  • tcpdump - ネットワーク上のトラフィックを表示します
  • トレースルート- IPv4 アドレスへのルートをトレースしてパスを確認します


Environment


CloudGenix

Procedure


次のコマンドがデバイスで実行されますCLI.

ping: ping インターフェイス ホスト (args =" ")

カウント(-c)とpingパケットサイズ(-s)を制御するpingの例

ION-1# ping controller1 8.8.8.8 args="-c 3 -s 1400"
PING 8.8.8.8 (8.8.8.8): 1400 data bytes
1408 bytes from 8.8.8.8: seq=0 ttl=59 time=50.710 ms
1408 bytes from 8.8.8.8: seq=1 ttl=59 time=50.590 ms
1408 bytes from 8.8.8.8: seq=2 ttl=59 time=50.568 ms

TCP: tcpping インターフェイス dst-ipv4:ポート
tcpping controller1 google.com:80
tcpping connected to 216.58.203.174:80 time=2ms
tcpping controller1 yahoo.com:80
tcpping connected to 206.190.36.45:80 time=28ms

tcpdump: tcpdump interface= インターフェイス名または番号 (args= " " | show | save file= filename)

例: ホストでの tcpdump フィルタリングIP8.8.8.8、プロトコル = icmp、イーサネット フレーム情報を表示 (-e)

ION-1# tcpdump controller1 args=" -e host 8.8.8.8 and icmp" show tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 14:06:13.488774 00:50:56:92:30:be > 00:50:56:92:8b:1a, ethertype IPv4 (0x0800), length 98: 192.168.30.10 > 8.8.8.8: ICMP echo request, id 12410, seq 0, length 64 14:06:13.539514 3e:2d:5f:3a:be:bd > 00:50:56:92:30:be, ethertype IPv4 (0x0800), length 98: 8.8.8.8 > 192.168.30.10: ICMP echo reply, id 12410, seq 0, length 64

トレースルート: traceroute インターフェイス dst-ipv4 (args=" ")
ION-1# traceroute 1 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8) from 192.168.1.1, 30 hops max, 46 byte packets
 1  10.73.99.1 (10.73.99.1)  0.661 ms  0.572 ms  0.827 ms
 2  208.184.44.129.IPYX-118386-ZYO.zip.zayo.com (208.184.44.129)  0.752 ms  1.015 ms  0.938 ms
 3  ge-11-1-4.mpr1.dfw5.us.zip.zayo.com (208.185.28.181)  1.218 ms  1.320 ms  1.207 ms
 4  ae5.mcs1.dfw2.us.zip.zayo.com (64.125.28.85)  2.558 ms  2.429 ms  2.413 ms
 5  ae1.cs1.dfw2.us.eth.zayo.com (64.125.28.124)  2.067 ms  2.229 ms  1.971 ms
 6  *  *  *
 7  64.125.15.61 (64.125.15.61)  2.052 ms  1.923 ms  1.902 ms
 8  108.170.252.129 (108.170.252.129)  2.006 ms  1.985 ms  108.170.240.193 (108.170.240.193)  2.027 ms
 9  108.170.230.117 (108.170.230.117)  1.931 ms  108.170.231.71 (108.170.231.71)  2.188 ms  108.170.230.113 (108.170.230.113)  2.065 ms
10  dns.google (8.8.8.8)  2.047 ms  1.859 ms  1.899 ms

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000oM5NCAU&lang=ja&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language