API Guide

07:00.2 USB controller: Pericom Semiconductor PI7C9X442SL USB EHCI Controller (rev 01)
08:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
Identifier GUID-F2AF1C26-97A8-4DB7-963B-C3A28C6D3167
Version 3
Status Translation approved
测试网络连接
使用 ping traceroute 命令测试网络连接。当您对 IP 地址执行 ping 操作时您会将数据包发送到目标并等待响应。如果没有
响应则目标不处于活动状态。在配置过程中如果无法连接到 HOSTNAME IP 地址 ping 命令将非常有用。
当您执行 traceroute 输出会显示从您的设备到目标 IP 地址的数据包采用的路径。它还列出了数据包遍历以到达其目标的所有中
间跳路由器),包括遍历的总跳数。
检查 IPv4 连接
OS10# ping 172.31.1.255
Type Ctrl-C to abort.
Sending 5, 100-byte ICMP Echos to 172.31.1.255, timeout is 2 seconds:
Reply to request 1 from 172.31.1.208 0 ms
Reply to request 1 from 172.31.1.216 0 ms
Reply to request 1 from 172.31.1.205 16 ms
::
Reply to request 5 from 172.31.1.209 0 ms
Reply to request 5 from 172.31.1.66 0 ms
Reply to request 5 from 172.31.1.87 0 ms
检查 IPv6 连接
OS10# ping 100::1
Type Ctrl-C to abort.
Sending 5, 100-byte ICMP Echos to 100::1, timeout is 2 seconds:
!!!!!
Success rate is 100.0 percent (5/5), round-trip min/avg/max = 0/0/0 (ms)
跟踪 IPv4 网络路由
OS10# traceroute www.Dell Networking.com
Translating "www.Dell Networking.com"...domain server (10.11.0.1) [OK]
Type Ctrl-C to abort.
-----------------------------------------------
Tracing the route to www.Dell Networking.com (10.11.84.18),
30 hops max, 40 byte packets
-----------------------------------------------
TTL Hostname Probe1 Probe2 Probe3
1 10.11.199.190 001.000 ms 001.000 ms 002.000 ms
2 gwegress-sjc-02.Dell Networking.com (10.11.30.126) 005.000 ms 001.000 ms 001.000 ms
3 fw-sjc-01.Dell Networking.com (10.11.127.254) 000.000 ms 000.000 ms 000.000 ms
4 www.Dell Networking.com (10.11.84.18) 000.000 ms 000.000 ms 000.000 ms
跟踪 IPv6 网络路由
OS10# traceroute 100::1
Type Ctrl-C to abort.
-----------------------------------------------
Tracing the route to 100::1, 64 hops max, 60 byte packets
-----------------------------------------------
Hops Hostname Probe1 Probe2 Probe3
1 100::1 000.000 ms 000.000 ms 000.000 ms
OS10 故障处理 1331