Configuring Auto-Mdix On An Interface - Cisco WS-C2960-24LC-S Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 10
Configuring Interface Characteristics
To disable flow control, use the flowcontrol receive off interface configuration command.
This example shows how to turn on flow control on a port:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# flowcontrol receive on
Switch(config-if)# end

Configuring Auto-MDIX on an Interface

When automatic medium-dependent interface crossover (auto-MDIX) is enabled on an interface, the
interface automatically detects the required cable connection type (straight through or crossover) and
configures the connection appropriately. When connecting switches without the auto-MDIX feature, you
must use straight-through cables to connect to devices such as servers, workstations, or routers and
crossover cables to connect to other switches or repeaters. With auto-MDIX enabled, you can use either
type of cable to connect to other devices, and the interface automatically corrects for any incorrect
cabling. For more information about cabling requirements, see the hardware installation guide.
Auto-MDIX is enabled by default. When you enable auto-MDIX, you must also set the interface speed
and duplex to auto so that the feature operates correctly. Auto-MDIX is supported on all 10/100 and
10/100/1000-Mb/s interfaces. It is not supported on 1000BASE-SX or -LX SFP module interfaces.
Table 10-2
Table 10-2
Local Side Auto-MDIX
On
On
Off
Off
Beginning in privileged EXEC mode, follow these steps to configure auto-MDIX on an interface:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
speed auto
Step 4
duplex auto
Step 5
mdix auto
Step 6
end
Step 7
show controllers ethernet-controller
interface-id phy
Step 8
copy running-config startup-config
To disable auto-MDIX, use the no mdix auto interface configuration command.
OL-8603-04
shows the link states that result from auto-MDIX settings and correct and incorrect cabling.
Link Conditions and Auto-MDIX Settings
Remote Side Auto-MDIX With Correct Cabling
On
Off
On
Off
Purpose
Enter global configuration mode
Specify the physical interface to be configured, and enter interface
configuration mode.
Configure the interface to autonegotiate speed with the connected device.
Configure the interface to autonegotiate duplex mode with the connected
device.
Enable auto-MDIX on the interface.
Return to privileged EXEC mode.
Verify the operational state of the auto-MDIX feature on the interface.
(Optional) Save your entries in the configuration file.
Configuring Ethernet Interfaces
Link up
Link up
Link up
Link up
Catalyst 2960 Switch Software Configuration Guide
With Incorrect Cabling
Link up
Link up
Link up
Link down
10-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents