mdix-mode


[IMPORTANT: ]

IMPORTANT:

  • Fiber ports do not support this command.

  • 10-GE copper ports support only the automdix mode.


  • Use mdix-mode to configure the Medium Dependent Interface Cross-Over (MDIX) mode of an Ethernet interface.

    Use undo mdix-mode to restore the default.

    Syntax

    mdix-mode { automdix | mdi | mdix }

    undo mdix-mode

    Default

    Ethernet interfaces operate in automdix mode.

    Views

    Layer 2 Ethernet interface view

    Predefined user roles

    network-admin

    Parameters

    automdix: Specifies that the interface negotiates pin roles with its peer.

    mdi: Specifies that pins 1 and 2 are transmit pins and pins 3 and 6 are receive pins.

    mdix: Specifies that pins 1 and 2 are receive pins and pins 3 and 6 are transmit pins.

    Examples

    # Configure Ten-GigabitEthernet 1/0/1 to operate in automdix mode.

    <Sysname> system-view
    [Sysname] interface ten-gigabitethernet 1/0/1
    [Sysname-Ten-GigabitEthernet1/0/1] mdix-mode automdix