ZXR105250SeriesCommandReference
4.2.2setportwork-mode
Purpose
Thiscommandcontrolscomboportstoswitchbetweentheopticalmodeandtheelectrical
mode.
CommandMode
Globalcongurationmode
Syntax
setport<portlist>work-mode{fiber|copper|auto[prefer{first-up|fiber|copper}]}
ParameterDescription
ParameterDescription
<portlist>Portlist.
fiber1000BASE-Xopticalmode.
copper1000BASE-Telectricalmode.
auto
Automaticswitchingbetweentheopticalmodeandtheelectrical
mode.
first-up
Portsareupinorder,whichmeansthattheportthatestablishes
theconnectionrstisuprst.
fiberOpticalportsareuprst.
copperElectricalportsareuprst.
Guidelines
Afteroptoelectronicswitching,thecongurationofsomespecialports(suchastheMDIX
port)mayberestoredtothedefault.Forexample,aftertheMDIXportisconguredin
coppermode,ifthemodeisswitchedtothebermode,theMDIXportwillberestoredto
thedefaultconguration.
4.2.3setportspeedadvertise
Purpose
Thiscommandsetsportspeedadvertise.
CommandMode
Globalcongurationmode
4-46
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential