mdi
Syntax
mdi { across | auto | normal }
undo mdi
View
Ethernet interface view
Default level
2: System level
Parameters
across: Sets the MDI mode to across. In this mode, pins 1 and 2 of the port are receive pins, and pins 3 and 6 are transmit pins.
auto: Sets the MDI mode to auto. In this mode, the port negotiates pin roles with its peer.
normal: Sets the MDI mode to normal. In normal mode, pins 1 and 2 of the port are transmit pins, and pins 3 and 6 are receive pins.
Description
Use mdi to configure the MDI mode of a copper Ethernet interface.
Use undo mdi to restore the default.
By default, Ethernet interfaces operate in auto MDI mode.
NOTE: This command is not applicable to fiber ports. | ||
Examples
# Set Ethernet 1/0/1 to operate in across MDI mode.
<Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] mdi across