获取MAC地址。
dpu_tool -i cfg/mac/$type
参数 |
参数说明 |
取值 |
---|---|---|
$type |
网卡MAC地址。 |
|
项目 |
描述 |
---|---|
physical port: xx PF/VF: xx MAC: xx-xx-xx-xx-xx-xx |
设备端口信息和MAC地址。 |
非SP923H-VL卡无需加$type,SP923H-VL卡不加$type默认为查询网络板。
1 2 3 4 5 6 7 | dpu_tool -i cfg/mac physical port: 0 PF/VF: 1d MAC: xx-xx-xx-xx-xx-xx physical port: 1 PF/VF: 1e MAC: xx-xx-xx-xx-xx-xx |