1、以上配好就可以当交换机去用了。附图:如果出现的是1515,则需要再敲一遍该命令。硬件连接方式首先连接电脑与onu,通过配置线连接图为配置线,“网线头”插入onu的CONSOLE口,另一端与电脑的串口接。图为onu上对应的CONSOLE接口(插入“网线头”即可)电脑端操作首先打开超级终端:开始程序附件-通信超级终端打开超级中断后出现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定出现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置点击确定然后到文件属性设置中按下图方式一定要设置ASCII码按照图中行延迟和字符延迟都设置为200毫
2、秒,然后点击确定即可在超级终端出点击回车即可出现要求输入用户名和密码华为onu登陆用户名root登陆后界面如下登陆onu后输入的命令:enable-回车eraseflashdata-回车Y-回车rebootsystem-回车回车后等待片刻onu重启后以前所配置的数据即可全部删除查看光功率MA5626(config)#interfacegponnni0/0/1MA5626(config-if-gponnni-0/0/1)#displayportstate-F/S/P0/0/1LaserstateAUTOPortstateUpWaveLength(nm)1310IdentifierModule/c
3、onnectorsolderedtomotherboardExt.IdentifierGBIC/SFPfunctionisdefinedbyserialIDonlyConnectorOpticalpigtailEncodingNRZBR,Nominal(100Mbps)13Length(9um)(km)20.0Length(50um)NotsupportLength(62.5um)NotsupportLength(Copper)NotsupportCc_base0xaaCC_EXT0x7bBR,maxUnspecifiedBR,minUnspecifiedSFF-8472ComplianceT
4、BDOptionsInvalidVendorRevUnspecifiedVendorPNSFU3424THPCDFIACVendorSNC4L2011876VendorOUI000000Manufactured12-03-21VendornameSOURCEPHOTONICSTXBiascurrent(mA)13.10SupplyVoltage(V)3.20Temperature(C)43.72TXpower(dBm)2.35RXpower(dBm)1.018口实例|profile-name:Command:vlanservice-profileprofile-id1MA5626(config
5、-vlan-srvprof-1)#user-bridgingenableInfo:PleaseusethecommitcommandtomakemodificationstakeeffectMA5626(config-vlan-srvprof-1)#commitMA5626(config-vlan-srvprof-1)#quitMA5626(config)#vlanbindservice-profile1profile-id1MA5626(config)#multi-service-portvlan1port0/11-8user-vlanuntaggedrx-cttr6tx-cttr6Itwi
6、lltakeseveralminutes,andconsolemaytimeout,pleaseusecommandidle-timeouttosettimelimitAreyousuretocreateservicevirtualport(s)?(y/n)n:yThenumberoftotalboardinthisoperation:1Thenumberoftotalservicevirtualportinthisoperation:8Creatingstart.Creatingend:Thenumberoftotalservicevirtualportwhichneedbecreated:
7、Thenumberoftotalservicevirtualportwhichhavebeencreated:MA5626(config)#savePOE功能数字光模块版的光口查询光功率MA5626(config-if-eth-0/0)#displayport?-CommandofethMode:ddm-infoDisplayddminformationofopticalmoduleoptic-power-thresholdDisplayTXopticalpowerthresholdopticstateDisplayinformationofopticalmodulestateDisplayp
8、ortstatestatisticsDisplayportstatisticstrafficDisplayporttrafficMA5626(config-if-eth-0/0)#displayportopticstateall|portiddisplayportopticstate%Incompletecommand,theerrorlocatesatMA5626(config-if-eth-0/0)#displayportopticstate?allAllportsportidPortIDMA5626(config-if-eth-0/0)#displayportopticstateall-
9、Portbit9umlength50umlength62.5umlengthcopperlengthtyperatesupportedsupportedsupportedsupported(100M/s)(km)(10m)(10m)(m)1-2211055550M1000BASE_CX1211055550M1000BASE_CX2-MA5626(config-if-eth-0/0)#quitMA5626(config)#displayboard0-SlotIDBoardNameStatusSubType0SubType1Online/Offline0H822EPUBActive_normalU
10、P2A1H821EPFANormal2MA5626(config)#interfaceeth0/0MA5626(config-if-eth-0/0)#displayportstateall-PortPortOpticMDISpeedDuplexFlow-ActiveLinkTypeStatus(Mbps)CtrlState1GEnormal-auto_1000auto_fulloffactiveonline2GEabsence-autoautooffactiveofflineNote:Fora1000M,electricalportinthefull-duplexmode,settingMDI
11、toanyvalueisinvalidMA5626(config-if-eth-0/0)#displayportddm-infoall%Parametererror,theerrorlocatesatMA5626(config-if-eth-0/0)#displayportddm-infoportiddisplayportddm-infoMA5626(config-if-eth-0/0)#displayportddm-info1Temperature(C):49.700000Supplyvoltage(V):3.300000TXbiascurrent(mA):31.290000TXpower(dBm):-4.660000RXpower(dBm):-2.990000MA5626(config-if-eth-0/0)#displayportddm-info2Failure:Theopticmoduleofportisabsence,cannotdosuchoperation58.18000031.050000-4.690000-2.940000MA5626(config-if-eth-0/0)#
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1