beautypg.com

Setting the mdix mode of an ethernet interface – H3C Technologies H3C S5560 Series Switches User Manual

Page 29

background image

15

Step Command

Remarks

2.

Enter Ethernet interface
view.

interface interface-type
interface-number

N/A

3.

Forcibly bring up the fiber
port.

port up-mode

By default, a fiber Ethernet port is not

forcibly brought up, and the physical state
of a fiber port depends on the physical

state of the fibers.

Setting the MDIX mode of an Ethernet interface

IMPORTANT:

Fiber ports do not support the MDIX mode setting.

A physical Ethernet interface contains eight pins, each of which plays a dedicated role. For example,

pins 1 and 2 transmit signals, and pins 3 and 6 receive signals. You can use both crossover and

straight-through Ethernet cables to connect copper Ethernet interfaces. To accommodate these types of

cables, a copper Ethernet interface can operate in one of the following Medium Dependent

Interface-Crossover (MDIX) modes:

MDIX mode—Pins 1 and 2 are receive pins and pins 3 and 6 are transmit pins.

MDI mode—Pins 1 and 2 are transmit pins and pins 3 and 6 are receive pins.

AutoMDIX mode—The interface negotiates pin roles with its peer.

To enable the interface to communicate with its peer, set the MDIX mode of the interface mode by using
the following guidelines:

Typically, set the MDIX mode of the interface to AutoMDIX. Set the MDIX mode of the interface to
MDI or MDIX only when the switch cannot determine the cable type.

When a straight-through cable is used, set the interface to operate in the MDIX mode different than
its peer.

When a crossover cable is used, perform either of the following tasks:

{

Set the interface to operate in the same MDIX mode as its peer.

{

Set either end to operate in AutoMDIX mode.

To set the MDIX mode of an Ethernet interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view. interface interface-type

interface-number

N/A

3.

Set the MDIX mode of the
Ethernet interface.

mdix-mode { automdix | mdi |
mdix }

By default, a copper Ethernet
interface operates in auto mode to

negotiate pin roles with its peer.