其他分享
首页 > 其他分享> > Forth OLT 升级配置指导

Forth OLT 升级配置指导

作者:互联网

1、准备环境:
远程PC设置静态IP:200.1.1.111; 方便远程控制OLT(Telnet IP:200.1.1.1:5555 admin/forth)
PC 直连 OLT的 ETH端口
PC开启 tftp软件;文件路径定位到OLT升级软件目录

FORTH:> 
FORTH:> firmware 
Command list of: firmware 
|======================|====================================================|
| Command              | Description                                        |
|======================|====================================================|
| delete               | Delete firmware file.                              |
| get                  | Get new firmware from remote server.               |
| list                 | List all firmware*.tar.gz files.                   |
| reload               | Initialize or reload firmware temp.                |
| rename               | Rename firmware file.                              |
| select               | Select firmware file to load.                      |
|======================|====================================================|

1、查看当前的软件镜像文件
FORTH:> firmware list 

To see more options please type:
 firmware list ?

Boot name:		 firmware-Dev-1418.tar.gz
Available firmware:	 3
-----------------------------------------------------------------------------------
No.| File name                               
-----------------------------------------------------------------------------------
#1: firmware-Dev-1418.tar.gz                 
#2: firmware-V-01-00-10-54-DEV-1078.tar.gz   
#3: firmware-V-1-0-10-59-Dev-1138.tar.gz     
Done.

2、从远程PC机获取 要升级OLT的软件镜像
FORTH:> firmware get 
Command list of: firmware get 
|======================|====================================================|
| Command              | Description                                        |
|======================|====================================================|
| tftp                 | Get new firmware from TFTP server.                 |
| wget                 | Get new firmware from HTTP server.                 |
|======================|====================================================|

FORTH:> firmware get tftp 200.1.1.111 firmware-Dev-1432-PON-10-83.tar.gz
.....................
Download in progress, please wait.....
Done.

3、再次查看OLT已存储的OLT镜像文件
FORTH:> firmware list 
To see more options please type:
 firmware list ?

Boot name:		 firmware-Dev-1418.tar.gz
Available firmware:	 4
-----------------------------------------------------------------------------------
No.| File name                               
-----------------------------------------------------------------------------------
#1: firmware-Dev-1418.tar.gz                 
#2: firmware-Dev-1432-PON-10-83.tar.gz       
#3: firmware-V-01-00-10-54-DEV-1078.tar.gz   
#4: firmware-V-1-0-10-59-Dev-1138.tar.gz     
Done.

4、选择要升级的文件进行升级操作
FORTH:> 
FORTH:>firmware select firmware-Dev-1432-PON-10-83.tar.gz

Checking firmware valid, please wait.....
. . . . .           
Backup old firmware and copy selected firmware.
. . . . . Done.

5、升级完后检测当前boot name
FORTH:> 
FORTH:> firmware list 
To see more options please type:
 firmware list ?

Boot name:		 firmware-Dev-1432-PON-10-83.tar.gz
Available firmware:	 4
-----------------------------------------------------------------------------------
No.| File name                               
-----------------------------------------------------------------------------------
#1: firmware-Dev-1418.tar.gz                 
#2: firmware-Dev-1432-PON-10-83.tar.gz       
#3: firmware-V-01-00-10-54-DEV-1078.tar.gz   
#4: firmware-V-1-0-10-59-Dev-1138.tar.gz     
Done.

6、保存配置
FORTH:> 
FORTH:> config  save 

Generating config...Done!
Writing config to file...
config_save_cli_cmd wait pon-manager ack

Done!

7、系统重启生效
FORTH:> system 
Command list of: system 
|======================|====================================================|
| Command              | Description                                        |
|======================|====================================================|
| activate             | Activate the switch (forwarding start).            |
| alarm                | System alarm                                       |
| environment          | show system environment.                           |
| fan                  | System fan                                         |
| hostname             | Show or set hostname of this device.               |
| info                 | Show system informations.                          |
| ping                 | ping host                                          |
| port_monitor         | Set port monitor time interval.                    |
| reboot               | reboot                                             |
| time                 | Time management                                    |
| watchdog             | Watchdog settings                                  |
| led                  | led test                                           |
| syslog               | syslog management                                  |
|======================|====================================================|

FORTH:> system reboot 

CMD: system reboot [yes]
DESC: To reboot.

FORTH:> system reboot yes

<cli>system reboot in..3..2..1
FORTH:>

标签:10,tar,FORTH,firmware,gz,Dev,升级,OLT,Forth
来源: https://blog.csdn.net/weixin_42353331/article/details/101106799