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.
Running the ethtousb command with no options displays Ethernet-over-USB information. The following table shows the arguments for the options.
| Option | Description | Values |
|---|---|---|
| -en | Ethernet-over-USB state | enabled, disabled |
| -mx | Configure port mapping for index x | Port pair, separated by a colon (:), of the form port1:port2 Where:
|
| -rm | Remove port mapping for specified index | 1 through 10 Port map indexes are displayed using the ethtousb command with no options. |
Syntax:
ethtousb [options]
option:
-en state
-mxport_pair
-rm map_index
Example:
system> ethtousb -en enabled -m1 100:200 -m2 101:201
system> ethtousb
-en enabled
-m1 100:200
-m2 101:201
system> ethtousb -rm 1
system>
Give documentation feedback