Veritas Access 故障排除指南
导出和显示网络通信详细信息
使用 tethereal 命令
- 要使用 Support> tethereal export 命令,请输入以下内容:
Support> tethereal export url [nodename] [interface] [count] [source]
url
提供要导出网络通信详细信息的位置。如果未在 url 中指定文件名,则使用默认文件名 tethereal.log。
nodename
从中生成通信详细信息的节点的名称。
interface
指定数据包捕获的网络接口。
count
指定要读取的最大数据包数量。
捕获的网络通信详细信息的文件大小上限为 128 MB。如果“count”值非常大,当文件大小超过 128 MB 时,该命令会停止捕获网络通信详细信息。
source
指定要过滤数据包的节点。
例如,要导出网络通信详细信息,请输入以下内容:
Support> tethereal export scp://user1@172.31.168.140:˜/ Password: ******* Capturing on pubeth0 ... Uploading network traffic details to scp://user1@172.31.168.140:˜/ is completed.
导出网络通信详细信息时,按 Ctrl + C 键可停止捕获过程并将通信详细信息上传到 URL 站点。
使用 tethereal show 命令
- 要使用 Support> tethereal show 命令,请输入以下内容:
Support> tethereal show [nodename] [interface] [count] [source]
nodename
要显示通信详细信息的节点的名称。
interface
指定数据包捕获的网络接口。
count
指定要读取的最大数据包数量。
如果未指定 count 值,将持续显示网络通信,直到您将其中断为止。
source
指定要过滤数据包的节点。
例如,五个数据包的通信详细信息为:
Support> tethereal show access_01 pubeth0 5 172.31.168.140 0.000000 172.31.168.140 -> 10.209.105.147 ICMP Echo (ping) request 0.000276 10.209.105.147 -> 172.31.168.140 ICMP Echo (ping) reply 0.000473 10.209.105.147 -> 172.31.168.140 SSH Encrypted response packet len=112 0.000492 10.209.105.147 -> 172.31.168.140 SSH Encrypted response packet len=112