ZXR102900ESeriesCongurationGuide
5.2PortConguration
PortCongurationOverview
TheportparameterscanbeconguredontheZXR102900E.Theyinclude
auto-negotiation,duplexmode,rateandlinedetection.Thecommandsincludethe
followingtypes:
1.Portbasicparametersconguration
2.Portdiagnosis
3.Portinformationview
ConguringaPort
Theportcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setport<portlist>{enable|disable}Enablesordisablestheport.
zte(cfg)#setport<portlist>work-mode{fiber|
copper|auto[prefer{first-up|fiber|copper}]}
Setsthecomboporttoswitchbetweenthe
electricalmodeandtheopticalmode.
zte(cfg)#setport<portlist>phy-mode
{1000base-x|sgmii}]}
Controlsswitchoverbetween1000Mbpsoptical
portsandelectricalinternalports.
zte(cfg)#setport<portlist>speedadvertise
maxspeed
Setstheadvertisementofthemaximumportspeed
duplexinformation.
zte(cfg)#setport<portlist>speedadvertise
{speed10|speed100|speed1000}{fullduplex|
halfduplex}
Setstheadvertisementoftheportspeedduplex
information.
zte(cfg)#setport<portlist>duplex{full|half|
auto}
Setstheworkingmodeoftheporttofullduplex
orhalfduplex.
zte(cfg)#setport<portlist>speed{10|100|
1000|auto}
Setsthespeedoftheportto10Mbps,100Mbps,
or1000Mbps,orauto.
zte(cfg)#setport<portlist>mdix{auto|normal
|crossover}
Setsthelinesequenceidenticationfunction.
zte(cfg)#setport<portlist>flowcontrol{enable
|disable}
Enablesordisablestheportowcontrolfunction.
zte(cfg)#setport<portlist>description
<string>
Setsportdescriptioninformation.
zte(cfg)#setport<portlist>accept-frame{tag|
untag|all}
Setsthepackettypethattheportallowstoaccept.
zte(cfg)#setjumboport<portlist>{enable|
disable}
Enablesordisablestheportjumbofunction.
zte(cfg)#setport<portlist>pvid<1-4094>SetsadefaultportPVID.
5-6
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential