1、华为MA配置成普通交换机的方法精修订 GE GROUP system office room 【GEIHUA16H-GEIHUA GEIHUA8Q8-GEIHUA1688】华为MA配置成普通交换机的方法华为MA5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超级终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626enableMA5626#configMA5626(config)#vlan service-profile profile-id 1user-bridging enablecommitquitvlan bind service-prof
2、ile 1 profile-id 1multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6在敲一遍:multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6save以上配好就可以当交换机去用了。附图:如果出现的是15 15,则需要再敲一遍该命令。硬件连接方式首先连接电脑与onu,通过配置线连接图为配置线,“网线头”插入onu的CONSOLE口,另一端与电脑的串口接。图为onu上对应的CONSOL
3、E接口(插入“网线头”即可)电脑端操作首先打开超级终端:开始程序附件-通信超级终端打开超级中断后出现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定出现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置 点击确定然后到文件属性设置中按下图方式一定要设置ASCII码按照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超级终端出点击回车即可出现要求输入用户名和密码 华为onu 登陆用户名root 密码 mduadmin 登陆后界面如下登陆onu后输入的命令:enable -回车erase flash data -回车Y -
4、回车reboot system-回车Y-回车回车后等待片刻onu重启后以前所配置的数据即可全部删除查看光功率MA5626enableMA5626#configMA5626(config)#interface gponnni 0/0/1MA5626(config-if-gponnni-0/0/1)#display port state - F/S/P 0/0/1 Laser state AUTO Port state Up Wave Length(nm) 1310 Identifier Module/connector soldered to motherboard Ext.Identifier
5、 GBIC/SFP function is defined by serial ID only Connector Optical pigtail Encoding NRZ BR,Nominal(100Mbps) 13 Length(9um)(km) 20.0 Length(50um) Not support Length(62.5um) Not support Length(Copper) Not support Cc_base 0xaa CC_EXT 0x7b BR,max Unspecified BR,min Unspecified SFF-8472 Compliance TBD Opt
6、ions Invalid Vendor Rev Unspecified Vendor PN SFU3424THPCDFIAC Vendor SN C4L2011876 Vendor OUI 000000 Manufactured 12-03-21 Vendor name SOURCEPHOTONICS TX Bias current(mA) 13.10 Supply Voltage(V) 3.20 Temperature(C) 43.72 TX power(dBm) 2.35 RX power(dBm) 1.01 8口实例MA5626enableMA5626#configMA5626(conf
7、ig)#vlan service-profile profile-id 1 |profile-name : Command: vlan service-profile profile-id 1 MA5626(config-vlan-srvprof-1)#user-bridging enable Info: Please use the commit command to make modifications take effectMA5626(config-vlan-srvprof-1)#commitMA5626(config-vlan-srvprof-1)#quitMA5626(config
8、)#vlan bind service-profile 1 profile-id 1MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6 It will take several minutes, and console may timeout, please use command idle-timeout to set time limit Are you sure to create service virtual port(s) (y/n)n:y The
9、number of total board in this operation: 1 The number of total service virtual port in this operation: 8 Creating start. Creating end: The number of total service virtual port which need be created: 8 The number of total service virtual port which have been created: 8MA5626(config)#multi-service-por
10、t vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6 It will take several minutes, and console may timeout, please use command idle-timeout to set time limit Are you sure to create service virtual port(s) (y/n)n:y The number of total board in this operation: 1 The number of total service vir
11、tual port in this operation: 8 Creating start. Creating end: The number of total service virtual port which need be created: 8 The number of total service virtual port which have been created: 0MA5626(config)#savePOE功能适用于308版本,后续版本poe命令有些改变,变成port。max-power尽量设置大些,最大功率如果太小某些设备无法启动。 配置PSE设备1.使用config命
12、令进入全局配置模式,再使用interface eth命令进入ETH模式。2.配置单板PoE供电管理方式。使用poepower-management命令配置单板PoE供电管理方式。单板PoE供电管理方式包括自动配置和手动配置,默认为自动配置。3.(可选)配置过温保护开关。使用poetemperature-protection命令使能PoE单板过温保护功能。当使能PoE单板过温保护功能后,系统检测到温度超过阈值时会关闭所有端口供电功能。4.配置端口PoE特性。使用poe命令配置端口PoE特性,包括使能/禁止端口功率输出,配置端口信号线供电传输方式、端口供电优先级、最大输出功率参数。5.(可选)查询
13、当前PoE端口的配置。使用displaypoe命令查询PoE端口配置和功率信息。 MA5626(config)#interface eth 0/1 MA5626(config-if-eth-0/1)#poe power-management auto MA5626(config-if-eth-0/1)#poe temperature-protection MA5626(config-if-eth-0/1)#port 5enable mode signal priority critical max-power 30000 MA5626(config-if-eth-0/1)#port 6enab
14、le mode signal priority critical max-power 30000 MA5626(config-if-eth-0/1)#port 7enable mode signal priority critical max-power 30000 MA5626(config-if-eth-0/1)#port 8enable mode signal priority critical max-power 30000 MA5626(config-if-eth-0/1)#display poe all - PortId PowerSwitch POEenable PowerMod
15、e Priority MaxPower PowerState -1 enable disable signalmode low 15400 detecting2 enable disable signalmode low 15400 detecting3 enable disable signalmode low 15400 detecting4 enable disable signalmode low 15400 detecting5 enable disable signalmode critical 30000 detecting6 enable disable signalmode
16、critical 30000 detecting7 enable enable signalmode critical 30000 powered8 enable disable signalmode critical 30000 detecting MA5626(config-if-eth-0/1)#display poe 7 -Port power on/off : enablePort power mode : signalmodePort power priority : criticalPort max power(mW) : 30000Port power enabled : en
17、ablePort power status : poweredPort PD class : 4Port current power(mW): 2291Port average power(mW): 2098Port peak power(mW) : 2750Port current(mA) : 47.729Port voltage(V) : 48.000数字光模块版的光口查询光功率MA5626(config-if-eth-0/0)#display port - Command of eth Mode:-ddm-info Display ddm information of optical m
18、oduleoptic-power-threshold Display TX optical power thresholdopticstate Display information of optical modulestate Display port statestatistics Display port statisticstraffic Display port trafficMA5626(config-if-eth-0/0)#display port opticstate all|portid : Command: display port opticstate % Incompl
19、ete command, the error locates at MA5626(config-if-eth-0/0)#display port opticstate - Command of eth Mode:-all All portsportid Port IDMA5626(config-if-eth-0/0)#display port opticstate all - Port bit 9um length 50um length 62.5um length copper length type rate supported supported supported supported
20、(100M/s) (km) (10m) (10m) (m) - 1 - - - - - - 2 21 10 55 55 0 M1000BASE_CX -MA5626(config-if-eth-0/0)#display port opticstate all - Port bit 9um length 50um length 62.5um length copper length type rate supported supported supported supported (100M/s) (km) (10m) (10m) (m) - 1 21 10 55 55 0 M1000BASE_
21、CX 2 - - - - - - -MA5626(config-if-eth-0/0)#quitMA5626(config)#display board 0 - SlotID BoardName Status SubType0 SubType1 Online/Offline - 0 H822EPUB Active_normal UP2A 1 H821EPFA Normal 2 -MA5626(config)#interface eth 0/0MA5626(config-if-eth-0/0)#display port opticstate all - Port bit 9um length 5
22、0um length 62.5um length copper length type rate supported supported supported supported (100M/s) (km) (10m) (10m) (m) - 1 21 10 55 55 0 M1000BASE_CX 2 - - - - - - -MA5626(config-if-eth-0/0)#display port state all - Port Port Optic MDI Speed Duplex Flow- Active Link Type Status (Mbps) Ctrl State - 1
23、 GE normal - auto_1000 auto_full off active online 2 GE absence - auto auto off active offline - Note: For a 1000 M, electrical port in the full-duplex mode, setting MDI to any value is invalidMA5626(config-if-eth-0/0)#display port ddm-info all % Parameter error, the error locates at MA5626(config-i
24、f-eth-0/0)#display port ddm-info portid : Command: display port ddm-info % Incomplete command, the error locates at MA5626(config-if-eth-0/0)#display port ddm-info 1 Temperature(C) : 49.700000 Supply voltage(V) : 3.300000 TX bias current(mA) : 31.290000 TX power(dBm) : -4.660000 RX power(dBm) : -2.9
25、90000MA5626(config-if-eth-0/0)#display port ddm-info 2 Failure: The optic module of port is absence, can not do such operationMA5626(config-if-eth-0/0)#display port ddm-info 2 Temperature(C) : 58.180000 Supply voltage(V) : 3.300000 TX bias current(mA) : 31.050000 TX power(dBm) : -4.690000 RX power(dBm) : -2.940000MA5626(config-if-eth-0/0)#
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1