华为MA整理配置成普通交换机的方法Word格式文档下载.docx
《华为MA整理配置成普通交换机的方法Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《华为MA整理配置成普通交换机的方法Word格式文档下载.docx(9页珍藏版)》请在冰豆网上搜索。
以上配好就可以当交换机去用了。
附图:
如果出现的是1515,则需要再敲一遍该命令。
硬件连接方式
首先连接电脑与onu,通过配置线连接
图为配置线,“网线头”插入onu的CONSOLE口,另一端与电脑的串口接。
图为onu上对应的CONSOLE接口(插入“网线头”即可)
电脑端操作
首先打开超级终端:
开始—程序—附件---通信—超级终端
打开超级中断后出现如下提示
点否进入如下界面
名称随便写,图标选择默认的即可,然后点击确定出现如下界面
连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置
点击确定
然后到文件—属性—设置中按下图方式
一定要设置ASCII码
按照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可
在超级终端出点击回车即可出现要求输入用户名和密码
华为onu登陆用户名root
登陆后界面如下
登陆onu后输入的命令:
enable---回车
eraseflashdata---回车
Y---回车
rebootsystem---回车
回车后等待片刻onu重启后以前所配置的数据即可全部删除
查看光功率
MA5626(config)#interfacegponnni0/0/1
MA5626(config-if-gponnni-0/0/1)#displayportstate
----------------------------------------------------------------------------
F/S/P0/0/1
LaserstateAUTO
PortstateUp
WaveLength(nm)1310
IdentifierModule/connectorsolderedtomotherboard
Ext.IdentifierGBIC/SFPfunctionisdefinedbyserialIDonly
ConnectorOpticalpigtail
EncodingNRZ
BR,Nominal(100Mbps)13
Length(9um)(km)20.0
Length(50um)Notsupport
Length(62.5um)Notsupport
Length(Copper)Notsupport
Cc_base0xaa
CC_EXT0x7b
BR,maxUnspecified
BR,minUnspecified
SFF-8472ComplianceTBD
OptionsInvalid
VendorRevUnspecified
VendorPNSFU3424THPCDFIAC
VendorSNC4L2011876
VendorOUI000000
Manufactured12-03-21
VendornameSOURCEPHOTONICS
TXBiascurrent(mA)13.10
SupplyVoltage(V)3.20
Temperature(C)43.72
TXpower(dBm)2.35
RXpower(dBm)1.01
8口实例
{<
cr>
|profile-name<
K>
}:
Command:
vlanservice-profileprofile-id1
MA5626(config-vlan-srvprof-1)#user-bridgingenable
Info:
Pleaseusethecommitcommandtomakemodificationstakeeffect
MA5626(config-vlan-srvprof-1)#commit
MA5626(config-vlan-srvprof-1)#quit
MA5626(config)#vlanbindservice-profile1profile-id1
MA5626(config)#multi-service-portvlan1port0/11-8user-vlanuntaggedrx-cttr6tx-cttr6
Itwilltakeseveralminutes,andconsolemaytimeout,pleaseusecommand
idle-timeouttosettimelimit
Areyousuretocreateservicevirtualport(s)?
(y/n)[n]:
y
Thenumberoftotalboardinthisoperation:
1
Thenumberoftotalservicevirtualportinthisoperation:
8
Creatingstart...
Creatingend:
Thenumberoftotalservicevirtualportwhichneedbecreated:
Thenumberoftotalservicevirtualportwhichhavebeencreated:
MA5626(config)#save
POE功能
数字光模块版的光口查询光功率
MA5626(config-if-eth-0/0)#displayport?
---------------------------------------------
CommandofethMode:
ddm-infoDisplayddminformationofopticalmodule
optic-power-thresholdDisplayTXopticalpowerthreshold
opticstateDisplayinformationofopticalmodule
stateDisplayportstate
statisticsDisplayportstatistics
trafficDisplayporttraffic
MA5626(config-if-eth-0/0)#displayportopticstate
{all<
|portid<
U>
<
1,2>
displayportopticstate
^
%Incompletecommand,theerrorlocatesat'
^'
MA5626(config-if-eth-0/0)#displayportopticstate?
allAllports
portid<
PortID
MA5626(config-if-eth-0/0)#displayportopticstateall
-------------------------------------------------------------------------------
Portbit9umlength50umlength62.5umlengthcopperlengthtype
ratesupportedsupportedsupportedsupported
(100M/s)(km)(10m)(10m)(m)
1------
2211055550M1000BASE_CX
1211055550M1000BASE_CX
2------
MA5626(config-if-eth-0/0)#quit
MA5626(config)#displayboard0
-------------------------------------------------------------------------
SlotIDBoardNameStatusSubType0SubType1Online/Offline
0H822EPUBActive_normalUP2A
1H821EPFANormal
2
MA5626(config)#interfaceeth0/0
MA5626(config-if-eth-0/0)#displayportstateall
------------------------------------------------------------------------------
PortPortOpticMDISpeedDuplexFlow-ActiveLink
TypeStatus(Mbps)CtrlState
1GEnormal-auto_1000auto_fulloffactiveonline
2GEabsence-autoautooffactiveoffline
Note:
Fora1000M,electricalportinthefull-duplexmode,settingMDIto
anyvalueisinvalid
MA5626(config-if-eth-0/0)#displayportddm-infoall
%Parametererror,theerrorlocatesat'
MA5626(config-if-eth-0/0)#displayportddm-info
{portid<
displayportddm-info
MA5626(config-if-eth-0/0)#displayportddm-info1
Temperature(C):
49.700000
Supplyvoltage(V):
3.300000
TXbiascurrent(mA):
31.290000
TXpower(dBm):
-4.660000
RXpower(dBm):
-2.990000
MA5626(config-if-eth-0/0)#displayportddm-info2
Failure:
Theopticmoduleofportisabsence,cannotdosuchoperation
58.180000
31.050000
-4.690000
-2.940000
MA5626(config-if-eth-0/0)#