1、华为MA配置成普通交换机的方法 Revised by BETTY on December 25,2020华为MA配置成普通交换机的方法华为MA5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超级终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626enableMA5626#configMA5626(config)#vlan service-profile profile-id 1user-bridging enablecommitquitvlan bind service-profile 1 profile-id 1multi-service-po
2、rt 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上对应的CONSOLE接口(插入“网线头”即可)电脑端操作首先打开超级终端:开始程序附件
3、-通信超级终端打开超级中断后出现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定出现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置 点击确定然后到文件属性设置中按下图方式一定要设置ASCII码按照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超级终端出点击回车即可出现要求输入用户名和密码 华为onu 登陆用户名root 密码 mduadmin 登陆后界面如下登陆onu后输入的命令:enable -回车erase flash data -回车Y -回车reboot system-回车Y-回车回车后等待片刻onu重启
4、后以前所配置的数据即可全部删除查看光功率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 GBIC/SFP function is defined by serial ID only C
5、onnector Optical pigtail Encoding NRZ BR,Nominal(100Mbps) 13 Length(9um)(km) Length(50um) Not support Length Not support Length(Copper) Not support Cc_base 0xaa CC_EXT 0x7b BR,max Unspecified BR,min Unspecified SFF-8472 Compliance TBD Options Invalid Vendor Rev Unspecified Vendor PN SFU3424THPCDFIAC
6、 Vendor SN C4L2011876 Vendor OUI 000000 Manufactured 12-03-21 Vendor name SOURCEPHOTONICS TX Bias current(mA) Supply Voltage(V) Temperature(C) TX power(dBm) RX power(dBm) 8口实例MA5626enableMA5626#configMA5626(config)#vlan service-profile profile-id 1 |profile-name : Command: vlan service-profile profi
7、le-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)#vlan bind service-profile 1 profile-id 1MA5626(config)#multi-service-port vlan 1 port 0
8、/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 virtual port in th
9、is 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-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6 It will take several minutes
10、, 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 virtual port in this operation: 8 Creating start. Creating end: The number of total service
11、virtual port which need be created: 8 The number of total service virtual port which have been created: 0MA5626(config)#savePOE功能数字光模块版的光口查询光功率MA5626(config-if-eth-0/0)#display port - Command of eth Mode:-ddm-info Display ddm information of optical moduleoptic-power-threshold Display TX optical powe
12、r 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 % Incomplete command, the error locates at MA5626(config-if
13、-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 length copper length type rate supported supported supported supported (100M/s) (km) (10m) (10m) (m) - 1 - - - - - - 2 21 10 55
14、55 0 M1000BASE_CX -MA5626(config-if-eth-0/0)#display port opticstate all - Port bit 9um length 50um length 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)#quitMA5626(config)#d
15、isplay 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 50um length length copper length type rate supported supported su
16、pported 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 GE normal - auto_1000 auto_full off active online 2 GE absence - auto
17、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-if-eth-0/0)#display port ddm-info portid : Command: display port ddm-inf
18、o % Incomplete command, the error locates at MA5626(config-if-eth-0/0)#display port ddm-info 1 Temperature(C) : Supply voltage(V) : TX bias current(mA) : TX power(dBm) : RX power(dBm) : MA5626(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) : Supply voltage(V) : TX bias current(mA) : TX power(dBm) : RX power(dBm) : MA5626(config-if-eth-0/0)#
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1