ETHCONFIG

Configures Ethernet physical layer

Platform: 

OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7-I, SMART7-SI

This command is used to configure the Ethernet physical layer.

Message ID: 1245

Abbreviated ASCII Syntax:

ETHCONFIG interface_name [speed] [duplex] [crossover] [power_mode]

Factory Default:

ETHCONFIG etha auto auto auto powerdown   (OEM7 receiver cards)

ETHCONFIG etha auto auto auto auto   (PwrPak7)

ASCII Example:

ETHCONFIG etha 100 full mdix normal

Field

Field Type

ASCII Value

Binary Value

Description

Format

Binary Bytes

Binary Offset

1

Command header

-

-

ETHCONFIG header

This field contains the command name for abbreviated ASCII or the message header for ASCII or Binary.

-

H

0

2

interface_name

ETHA

2

Name of the Ethernet interface

Enum

4

H

3

speed

AUTO

1

Auto-negotiate speed (default)

AUTO is the recommended value for the speed parameter.

If setting speed to AUTO, duplex must be set to AUTO at the same time otherwise a “parameter 3 out of range” error occurs.

Enum

4

H+4

10

2

Force 10BaseT

100

3

Force 100BaseT

4

duplex

AUTO

1

Auto-negotiate duplex (default)

If setting duplex to AUTO, speed must be set to AUTO at the same time otherwise a “parameter 3 out of range” error occurs.

Enum

4

H+8

HALF

2

Force half duplex

FULL

3

Force full duplex

5

crossover

AUTO

1

Auto-detect crossover (default)

Enum

4

H+12

MDI

2

Force MDI (straight through)

MDIX

3

Force MDIX (crossover)

6

power_
mode

AUTO

1

Energy detect mode

(default for PwrPak7)

Enum

4

H+16

POWERDOWN

2

Soft power down mode (default for OEM7 receiver cards)

NORMAL

3

Normal mode

The crossover parameter is ignored on OEM7 receivers, as the hardware automatically detects the cable connection and configures the interface for proper communication. For backwards compatibility, the crossover options are still accepted, but have no functional impact.