So führen Sie ping, tcpping, tcpdump und traceroute auf CloudGenix ION dem Gerät aus

So führen Sie ping, tcpping, tcpdump und traceroute auf CloudGenix ION dem Gerät aus

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


Objective


  • Ping - Testet die Erreichbarkeit eines Hosts mit dem Internet Control Message Protocol (ICMP).
  • tcpping - Debuggt Transmission Control Protocol (TCP) verbinden/ping zu einer bestimmten Ziel- oder Portkombination
  • tcpdump - Zeigt Datenverkehr in einem Netzwerk an
  • traceroute - Verfolgt die Route zu einer IPv4-Adresse, um einen Pfad zu überprüfen


Environment


CloudGenix

Procedure


Die folgenden Befehle werden auf dem Gerät CLIausgeführt.

 

ping: Ping-Schnittstellenhost (args =" ")

Beispiel für einen Ping, der die Anzahl (-c) und die Ping-Paketgröße (-s) steuert

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

TCPPING: TCPPING-Schnittstelle DST-IPv4:Port
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= Schnittstellenname oder -nummer (args= " " | show | save file= Dateiname)

Beispiel: tcpdump-Filterung auf Host IP 8.8.8.8, Protokoll = icmp und Anzeige von Ethernet-Frame-Informationen (-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: traceroute-Schnittstelle 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=de&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language