Switch User Manual

show port mdix
7-20 Port Configuration
show port mdix
Usethiscommandtodisplaythestatusofcableconnectiontypeconfigurationmodeforoneor
moreports.Switchportscanautomaticallydetectandconfiguretherequiredcabletype,either
straightthrough(MDI)orcrossover(MDIX),ortheportscan beconfiguredtoonlyallowone
typeofcabletype,
eitherMDIorMDIX.
Syntax
show port mdix {all|auto|forced-auto|mdi|mdix} [port-string]
Parameters
Defaults
Ifportstringisnotspecified,informationisdisplayedforallports.
Mode
Switchcommand,readonly.
Example
ThisexampledisplaysinformationaboutportsconfiguredforMDIXonlymode.
C3(su)->show port mdix mdix
Port Number MDIX Mode
------------- ------------------
ge.1.27 MDIX
ge.1.28 MDIX
set port mdix
Usethiscommandtoconfigurecableconnectiontypeconfigurationmodeforoneormoreports.
Syntax
set port mdix {auto|forced-auto|mdi|mdix} [port-string]
Parameters
all Displayinformationaboutallports.
auto Displayinformationabouttheportsconfiguredtoautomatically
determinetherequiredMDI/MDIXmode.
forcedauto Displayinformationabouttheportsforcedautomaticallytodetermine
therequiredMDI/MDIXmode.
mdi DisplayinformationabouttheportsconfiguredwithMDIonlymode.
mdix DisplayinformationabouttheportsconfiguredwithMDIX
onlymode.
portstring (Optional)DisplaytheselectedMDI/MDIXmodeonlyfortheportor
portsspecified.
auto ConfigureportstoautomaticallydeterminetherequiredMDI/MDIX
mode.Thisisthedefaultcondition.
forcedauto ForceportstoautomaticallydeterminetherequiredMDI/MDIXmode.