查询端口速率、FEC模式、Lane数量和自协商配置。
<tool name> hilink_speed -i <device name> -p <port_id>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
物理设备名,例如:hinic0、hinic1。 |
<port id> |
端口号。 |
例如:0、1。 |
项目 |
描述 |
---|---|
result |
端口速率、FEC模式、Lane数量和自协商配置信息。 |
无。
1 2 3 4 5 6 7 8 9 | hinicadm3 hilink_speed -i hinic0 -p 0 Port0 lanes: X1 Port0 auto-negotiation: off Port0 force speed: 10GB Port0 fec: nofec Port0 default lanes: not set Port0 default auto-negotiation: off Port0 default force speed: 10GB Port0 default fec: not set |