SP680和SP681无此场景。
使能/去使能tcpdump抓包功能。
<tool name> roce_capture -i <device name> -t <type>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
网卡设备,例如:hrn3_0。 |
<type> |
开关使能与否。 |
|
项目 |
描述 |
---|---|
roce_capture command error(-num): query capture type not set |
参数错误 |
start func capture successful. inbuf.mode(*) |
操作成功 |
stop capture successful. |
操作成功 |
无。
使能(开启)tcpdump抓包功能。
1 2 | hinicadm3 roce_capture -i hrn3_0 -t start_func_cap start func capture successful. inbuf.mode(0x0) |
去使能(关闭)tcpdump抓包功能。
1 2 | hinicadm3 roce_capture -i hrn3_0 -t stop_cap stop capture successful. |