본문 바로가기

Network

MDI 와 MDIX


Direct 를 나타내는 MDI(Medium Dependent Interface) 와 Cross를 나타내는 MDIX(MDI Cross) 가 있습니다.
보통 3Com switch나 hub 에서는 MDI/MDIX, MDI/X 로 표시 되어 있는데 예를 들면 switch <-> switch 사이의 연결 일때 cross cable로 연결을 해야 하는데 Direct cable 밖에 없다면 이 기능을 이용 하면 됩니다.

Cisco 의 switch 에도 mdix 라는 기능이 있는데 interface 에서 mdix auto 로 지정해 놓으면 switch 는 연결된 cable type 을 확인하고 적절히 처리하게 되어 cross 나 direct cable 에 상관없이 사용 할 수 있습니다.

Switch(config-if)#mdix ?
  auto  Enable automatic MDI crossover detection on this interface

You can use the mdix auto interface configuration command in the CLI(Command Line Interface) to enable the automatic medium-dependent interface crossover (auto-MDIX) feature. When the auto-MDIX feature is enabled, the switch detects the required cable type for copper Ethernet connections and configures the interfaces accordingly. Therefore, you can use either a crossover or a straight-through cable for connections to a copper 10/100, 10/100/1000, or 1000BASE-T SFP module port on the switch, regardless of the type of device on the other end of the connection.

The auto-MDIX feature is enabled by default on switches running Cisco IOS Release 12.2(18)SE or later. For releases between Cisco IOS Release 12.1(14)EA1 and 12.2(18)SE, the auto-MDIX feature is disabled by default. For configuration information for this feature, see the switch software configuration guide or the switch command reference.

반응형