ethtousb command
Use the ethtousb command to display and configure Ethernet to Ethernet-over-USB port mapping.
The command allows you to map an external Ethernet port number to a different port number for Ethernet-over-USB.
Syntax:
ethtousb [-options]
Option | Description | Values |
---|---|---|
-en | Ethernet-over-USB state. | enabled, disabled Note Enable Ethernet over USB interface via |
-m[x] port1:port2 | Configure port mapping for index x. | Where:
|
-rm map_index | Remove port mapping for specified index. | The port index number, map_index, is specified as an integer from 1 to 10 in the command option. Note Port map indexes are displayed using the |
Example:
system> ethtousb -en enabled -m1 100:200 -m2 101:201
system> ethtousb
ethtousb : On
===============
1: 100: 200
2: 101: 201
system>
Give documentation feedback