Comando Ping Extendido [best] -
El comando ping extendido es una herramienta invaluable para cualquier administrador de redes. Al aprovechar sus opciones adicionales, puedes obtener más información sobre la conectividad y los posibles problemas de red. Recuerda siempre usar estas herramientas con cuidado, especialmente aquellas que pueden afectar el desempeño de la red o requerir privilegios elevados.
| Feature | Regular Ping | Extended Ping | |---------|--------------|----------------| | Command | ping 8.8.8.8 | ping (then interact) | | Source IP | Outgoing interface IP | Any IP/interface | | DF bit | No | Yes | | Packet size | Fixed (100 bytes) | Configurable + sweep | | ToS | No | Yes | comando ping extendido
ping -c 10 google.com
ping google.com
| Parameter | Description | Example | |-----------|-------------|---------| | | Source IP or interface (e.g., g0/0 , 192.168.1.1 ) | 192.168.1.1 | | Type of service [0] | ToS byte value | 0 | | Set DF bit in IP header? [no] | Don't Fragment flag – test MTU | yes | | Validate reply data? [no] | Check if reply data matches | no | | Data pattern [0xABCD] | Hex pattern in payload | 0x0000 | | Loose, Strict, Record, Timestamp, Verbose[none] | IP header options | record | | Sweep range of sizes [n] | Test multiple packet sizes | y | El comando ping extendido es una herramienta invaluable
Router> enable Router# ping Protocol [ip]: Target IP address: 8.8.8.8 Repeat count [5]: 5 Datagram size [100]: 1500 Timeout in seconds [2]: Extended commands [n]: y Source address or interface: 192.168.1.10 Type of service [0]: Set DF bit in IP header? [no]: yes Validate reply data? [no]: Data pattern [0xABCD]: Loose, Strict, Record, Timestamp, Verbose[none]: Sweep range of sizes [n]: | Feature | Regular Ping | Extended Ping