Loading... 设备型号:华为MA5626-8 #display [version](https://so.csdn.net/so/search?q=version&spm=1001.2101.3001.7020) VERSION : MA5626V800R308C00 PATCH : SPC500 SPH505 HP5105 PRODUCT MA5626 准备工作:超级终端(XP自带、win7下可用[secureCRT](https://so.csdn.net/so/search?q=secureCRT&spm=1001.2101.3001.7020)、Xshell、putty)、tftp、串口连接线、空密码库文件(文末提供下载) 设备的lan1口连接电脑的网口,本地连接设备ip为10.11.104.11,子网掩码为:255.255.255.0,默认网关:10.11.104.2 操作步骤: 1、用串口连接线连接好设备然后打开超级终端连接串口 2、打开设备电源 Copyright (c) 1998 - 2011 by Huawei Technologies Co.,Ltd. All Rights Reserved. The last update date of base BIOS B is : Jan 4 2011 09:43:09 =============================================================== BOARD INFORMATION : CPU: ARM Integrator - ARM1176JF (ARM). Processor running at 533Mhz 256M bytes DDRAM, 64M bytes flash memory installed on board Baudrate of serial channel is 9600bps Board's LAN IP address is 10.11.104.2 Board's LAN Subnet mask is 255.255.255.0 Board's LAN MAC address is 70:7B:E8:53:BE:D7 =============================================================== System is booting from base BIOS... Base BIOS version is 200 Press <D> key to stop auto-boot 0 当出现 Press <D> key to stop auto-boot 时按下D键 Main menu: ============================================== 0 Boot from flash 1 Load files 9 Reboot system Please enter a choice : 1 选择1 SubMenu: Load files ============================================== 0 Back to main menu 1 Download program file to flash 2 Download Data file to flash 3 Download basebios file to flash 4 Download cpld file 5 Download packet file d Download program file to ddram 6 Download updatetool file to flash 7 Download equipment file to flash Please enter a choice : 2 选择2 Please select load mode[default: 1 -- TFTP load mode]: ============================================ 0 Xmodem load mode 1 TFTP load mode Q Quit Please enter your choice:1 选择1 Board IP address : [10.11.104.2] Board mask address : [255.255.255.0] TFTP server IP : [10.11.104.1] 10.11.104.11 File name : [db\_sd5103.dat] 5626.dat You will download file '5626.dat' from TFTP server 10.11.104.11, are you sure? (y/n) [y] 在Board IP address和Board mask address行直接回车,在TFTP server IP 输入TFTP服务器地址,在File name输入文件名 are you sure? (y/n) [y]输入y开始下载,下载完成后返回菜单,选择0然后选择9重启。 重启完成后,使用默认用户密码root、mduadmin就可以登录了。 登录后用#erase flash data 删除全部设备 #reboot system 重启 空密码库文件:http://www.liangchan.net/liangchan/9469.html 华为MA5626如何配置成交换机模式 开光口级联: root 密码mduadmin (这是默认的用户名和密码) 登陆onu后输入的命令: enable ---回车 erase flash data ---回车 Y ---回车 reboot system---回车 Y---回车 回车后等待片刻onu重启后以前所配置的数据即可全部删除MA5626> enable config port mode 0/0/1 ge port mode 0/0/2 ge 指定1,2光口为GE模式。然后把业务口透传到光口,真要命,找好久还搞明白。 vlan service-profile profile-id 1 user-bridging enable 用户桥接使能 commit 加载 quit vlan 4000 smart 定义业务vlan 定义管理vlan vlan bind service-profile 4000 profile-id 1 将vlan邦定1号模板 multi-service-port vlan 4000 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6 批量加载业务口 interface vlanif4000 带内管理vlan ip address 111.111.111.1 255.255.255.0 带内管理ip地址 quit port vlan 4000 0/0 1 ETH口 vlan1 透传到上行口1 port vlan 4000 0/0 2 ETH口 vlan1 透传到上行口2 MA5620#config MA5620(config)#port mode 0/0 ? ------------------------------ Command of config Mode: ----------------------- adapt Adapt mode epon EPON mode ge GE mode gpon GPON mode MA5620(config)#display board 0/0 --- Board Name : H822EPUB Board Status : Active normal ----------------------------------------------------------------- Subboard[0]: H831UP2A Status: Normal ----------------------------------------------------------- Port Port Type Link State --------------------------------- 1 AUTO DOWN 2 AUTO DOWN --- MA5620(config)#port mode 0/0 ge If you want to set the work mode of nni port to fixed type, you need to clear the configuration of the port or erase the data. Are you sure to proceed? (y/n)[n]:y MA5620(config)#display board 0/0 --- Board Name : H822EPUB Board Status : Active normal ----------------------------------------------------------------- Subboard[0]: H831UP2A Status: Normal ----------------------------------------------------------- Port Port Optic MDI Speed Duplex Flow- Active Link Type Status (Mbps) Ctrl State ------------------------------------------------------------------------------------------------------------------------------ 1 GE absence - auto auto off active offline 2 GE normal - auto\_1000 auto\_full off active online --- Note: For a 1000 M, electrical port in the full-duplex mode, setting MDI to any value is invalid Last modification:December 1, 2023 © Allow specification reprint Support Appreciate the author Like 如果觉得我的文章对你有用,请随意赞赏