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 [<em className="ph i">options</em>]
option:
-en <em className="ph i">state</em>
-m<em className="ph i">x</em><em className="ph i">port_pair</em>
-rm <em className="ph i">map_index</em>
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