ethtousb 指令
使用 ethtousb 指令可顯示和配置乙太網路至 Ethernet-over-USB 埠對映。
此指令可讓您將外部乙太網路埠號對映至 Ethernet-over-USB 的不同埠號。
語法:
ethtousb [-options]
選項 | 說明 | 值 |
---|---|---|
-en | Ethernet-over-USB 狀態。 | enabled, disabled 註 透過 |
-m[x] port1:port2 | 配置索引 x 的埠對映。 | 其中:
|
-rm map_index | 移除所指定索引的埠對映。 | 埠索引號 map_index 在指令選項中指定為 1 到 10 之間的整數。 註 埠地圖索引將使用不帶任何選項的指令 |
範例:
system> ethtousb -en enabled
ok
system> ethtousb -m10 2001:2002
ok
system> ethtousb
ethtousb : On
===============
1: 0: 0
2: 0: 0
3: 0: 0
4: 0: 0
5: 0: 0
6: 0: 0
7: 0: 0
8: 0: 0
9: 0: 0
10: 2001: 2002
提供意見回饋