To modify the default Ethernet interface configuration, use the ethcfg command of the TDM configuration utility, txconfig:
ethcfg command
The default Ethernet configuration is set to use auto-negotiation and to negotiate for the fastest speed possible, as well as to perform pair swap detection. Certain TX board Ethernet interfaces support a maximum speed of 100 Mb/s while other Ethernet interfaces support up to 1 Gigabit/s. Do not specify the ethcfg command for any interface where Gigabit speed is desired, allowing auto-negotiation to select the speed.
The ethcfg command deactivates auto-negotiation for the specified Ethernet interface and fixes the configuration using the following syntax:
ethcfg <Ethernet number> <speed> <duplex> [<mdix control>]
where:
Value |
Description |
Ethernet number |
The 1-based Ethernet interface number uniquely identifying the specific TX board Ethernet interface being configured. |
speed |
The speed (in megabits per second) that the interface will operate at: 10 | 100 Note: Do not use the ethcfg command if Gigabit speed is desired. |
duplex |
Indication of whether the Ethernet will operate in half duplex or full duplex mode: HALF | FULL |
mdix control |
Optional indication of internal crossover (transmit and receive pair swapping). The MDIX feature can be used instead of using a crossover cable: NOMDIX – No swapping of transmit and receive pairs. MDIX – Transmit and receive pairs are swapped (internal crossover). Default: If ethcfg command is not specified, then the default behavior is for the Ethernet to perform pair swap detection. If the ethcfg command is specified, MDIX control defaults to NOMDIX. |
Enter the following command to deactivate auto-negotiation for Ethernet 1, fixing the speed at 10 megabits per second (HALF DUPLEX) and use a configuration that does not swap transmit and receive pairs:
ethcfg 1 10 half
Enter the following command to deactivate auto-negotiation for Ethernet 2, fixing the speed at 100 megabits per second (FULL DUPLEX) and use a configuration that swaps transmit and receive pairs:
ethcfg 2 100 full mdix