目录

返回首页

返回 全光网络 OLT 管理

华为 MA5680T等 OLT进阶操作

本篇适合阅读对象:专业技术人员

通过Console口连接交换机,串口波特率9600 主控口的初始IP是 10.11.104.2/24

OLT 默认telnet账号/密码:root/admin

恢复出厂设置

MA5683T(config)# erase flash data active
  This command will clear the active board data that has been loaded or saved
  Please remember to backup the system configuration data
  Are you sure to continue? (y/n)[n]:y
  Command executes successfully, and will take effect after active board
rebooted

MA5683T(config)# reboot system
  Please check whether data has saved, the unsaved data will lose if reboot
system, are you sure to reboot system? (y/n)[n]:y

创建多登录账号

root用户登录总是提示 Reenter times have reached the upper limit.

原因:root是超级管理员,限制同时只能有一个连接

可以新增一个用户如 admin123,设置用户可重复登录次数为4

MA5683T(config)#terminal user name
  User Name(length<6,15>):admin
  Failure: The user name must be equal to or more than 6 characters
  User Name(length<6,15>):admin123
  User Password(length<6,15>):      <= 输入密码
  Confirm Password(length<6,15>):   <= 确认密码
  User profile name(<=15 chars)[root]:root
  User's Level:
     1. Common User  2. Operator  3. Administrator:3
  Permitted Reenter Number(0--4):4
  User's Appended Info(<=30 chars):
  Adding user successfully
  Repeat this operation? (y/n)[n]:n

上行链路汇聚

将上行链路0/9板块的端口0和1汇聚:

link-aggregation 0/9 0 0/9 1 egress-ingress workmode lacp-static

H3C S5700/S5720 交换机对应的设置:

interface Eth-Trunk1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
 description to OLT
 mode lacp

interface GigabitEthernet0/0/27
 eth-trunk 1
#
interface GigabitEthernet0/0/28
 eth-trunk 1
#

H3C S5820V2-52QF 万兆交换机设置:

interface Bridge-Aggregation1                                                                                                  
 port link-type hybrid
 port hybrid vlan 1001 1003 to 1009 tagged                                                                                     
 port hybrid vlan 1 untagged                                                                                                   
 link-aggregation mode dynamic                                                                                                 
 link-aggregation load-sharing mode destination-mac source-mac    
#
interface Ten-GigabitEthernet1/0/44                                                                                        
 port link-mode bridge                                                                                                         
 port link-type hybrid                                                                                                         
 port hybrid vlan 1001 1003 to 1009 tagged                                                                                     
 port hybrid vlan 1 untagged                                                                                                   
 port link-aggregation group 1   
#
interface Ten-GigabitEthernet1/0/45                                                                                            
 port link-mode bridge                                                                                                         
 port link-type hybrid                                                                                                         
 port hybrid vlan 1001 1003 to 1009 tagged                                                                                     
 port hybrid vlan 1 untagged                                                                                                   
 port link-aggregation group 1                                                                                                 
#                                                                                                                              
interface Ten-GigabitEthernet1/0/46                                                                                            
 port link-mode bridge
 port link-type hybrid                                                                                                         
 port hybrid vlan 1001 1003 to 1009 tagged                                                                                     
 port hybrid vlan 1 untagged                                                                                                   
 port link-aggregation group 1                                                                                                 
#                                                                                                                              
interface Ten-GigabitEthernet1/0/47                                                                                            
 port link-mode bridge                                                                                                         
 port link-type hybrid                                                                                                         
 port hybrid vlan 1001 1003 to 1009 tagged                                                                                     
 port hybrid vlan 1 untagged                                                                                                   
 port link-aggregation group 1   

查看汇聚状态:

[H3C-Ten-GigabitEthernet1/0/45]display link-aggregation verbose                                                                
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing                                                                 
Port Status: S -- Selected, U -- Unselected, I -- Individual                                                                   
Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,                                                               
        D -- Synchronization, E -- Collecting, F -- Distributing,                                                              
        G -- Defaulted, H -- Expired                                                                                           
                                                                                                                               
Aggregate Interface: Bridge-Aggregation1                                                                                       
Aggregation Mode: Dynamic                                                                                                      
Loadsharing Type: Shar                                                                                                         
System ID: 0x8000, 487a-da97-e57c                                                                                              
Local:                                                                                                                         
  Port             Status  Priority Oper-Key  Flag                                                                             
--------------------------------------------------------------------------------                                                                                                                           
  XGE1/0/44        U       32768    2         {AG}                                                                             
  XGE1/0/45        U       32768    2         {ACG}                                                                            
  XGE1/0/46        S       32768    2         {ACDEF}                                                                          
  XGE1/0/47        S       32768    2         {ACDEF}                                                                          
Remote: 
Remote:                                                                                                                        
  Actor            Partner Priority Oper-Key  SystemID               Flag                                                      
--------------------------------------------------------------------------------
  XGE1/0/44        0       32768    0         0x8000, 0000-0000-0000 {EF}
  XGE1/0/45        0       32768    0         0x8000, 0000-0000-0000 {EF}
  XGE1/0/46        1       16384    1         0x8000, d0ef-c1eb-c7ce {ABCDEF}
  XGE1/0/47        2       16384    1         0x8000, d0ef-c1eb-c7ce {ABCDEF}                                                                            

忘记OLT密码复位

步骤1:使用USB转Console线,usb连秒开路由器,console线连OLT主控板的CON口

支持的USB芯片:PL2303/CH341/FT32R

打开云穿透连接,如果能看到如下的提示,说明串口连接正常:

>>User name:      

步骤2:OLT断电重启,在系统启动时,按串口打印提示进行操作

Platform System start ...                                                                                                     
                                                                                                                               
 Memory Data Bus Test .................pass.                                                                                   
 Memory Address Bus Test ..............pass.                                                                                   
 Press 'Ctrl+T' To Start Memory Complete Test                                                                                  
 Trace code : 0x00000000                                                                                                       
 Copy from ROM to RAM       ...... OK!                                                                                         
 Uncompress from ROM to RAM ...... OK!                                                                                         
 Update fpga...OK.                                                                                                             
                                                                                                                               
 Copyright (c) 1998 - 2013 by Huawei Technologies Co.,Ltd.                                                                     
 All Rights Reserved.                                                                                                          
                                                                                                                               
 The last update date of base BIOS B is : Aug 26 2013   08:21:05                                                               
                                                                                                                               
 ===============================================================                                                               
 BOARD INFORMATION :                                                                                                           
   CPU: P2010.  Processor #1.(Rev 5.01) running at 1200Mhz                                                                     
   1024M bytes DDR(ECC), 256M bytes flash 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 64:3E:8C:9D:6D:3E                                                                                
 ===============================================================                                                               
                                                                                                                               
 Base BIOS version is 309                                                                                                      
                                                                                                                               
 Save extended BIOS disable start flag...OK!                                                                                   
                                                                                                                               
 Transferring control to the extended BIOS ...OK!                                                                              
                                                                                                                               
 System Vfs init...OK                                                                                                          
                                                                                                                               
 The last update date of extended BIOS is : Mar 22 2013 17:46:38                                                               
                                                                                                                               
 System is booting from extended BIOS...                                                                                       
                                                                                                                               
 Extended BIOS version is 312                                                                                                  
                                                                                                                                                              
 Press <D> key to stop auto-boot    

按 D 中断自动启动:

 Main Menu:                                                                                                                    
 ==============================================                                                                                
 0    Boot from flash                                                                                                          
 1    Boot from serial port by Xmodem                                                                                          
 2    Boot from ethernet port by TFTP                                                                                          
 3    Erase extended BIOS and reboot                                                                                           
 9    Reboot system                                                                                                            
 t    Emtest                                                                                                                   
                                                                                                                                    

Please enter a choice : 2
需要通过TFTP 加载空数据库。