
CLI Command Reference
ethercfg
Makito User’s Guide, v2.1.0, Issue 01
199
ethercfg
S
YNOPSIS
ethercfg [-a on|off] [-s 10|100|1000] [-d half|full] [-c bandwidth] [-w yes| no]
D
ESCRIPTION
The
ethercfg
command is used to view, manually control, and save the Ethernet configu-
ration parameters.
When the Makito
boots up, it automatically initializes and configures the Ethernet interface
to match the settings on the Ethernet switch to which it is connecting. However, you may
need to disable autonegotiation, and manually force settings such as the Ethernet interface
line rate and duplex mode.
If no options are specified, the system displays the current settings, for example:
O
PTIONS
NOTE
Always enable autonegotiation with Gigabit Ethernet (GigE) speed (1000 Mbps).
ETHERCFG
E
XAMPLE
# ethercfg -s 100
Sets the line speed to 100 Mbps (and in doing so,
disables autonegotiation, see example below).
-a
--autoneg
Enables or disables autonegotiation
-s
--speed
If autonegotiation is disabled, sets the speed
-d
--duplex
If autonegotiation is disabled, sets the duplex mode
-c
--ceiling
Puts a “ceiling” (in kbps or Mbps) on the bandwidth
available to the Ethernet port
-w
--write
Skips the save settings prompt