设置端口速率。
<tool name> hilink_speed -i <device name> -p <port_id> -s <speed>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
物理设备名,例如:hinic0、hinic1。 |
<port id> |
端口号。 |
例如:0、1。 |
<speed> |
速率模式。 |
例如:10、25、50、40、100、200。 单位:GE。 使用前请确认设备支持的速率模式。 |
项目 |
描述 |
---|---|
result |
回显设置成功与否。 |
设置端口0速率为10GE。
1 2 3 | hinicadm3 hilink_speed -i hinic0 -p 0 -s 10 Set forced speed succeed. The set rate will only take effect when auto-negotiation is turned off. |