華爲9306 如何註冊激活license 文件

S9300系列交換機作爲華爲主要運營商級、企業級核心、匯聚交換機,廣泛應用在各行各業的不同環境下。但是作爲重要功能的MPLS ***、NQA和IPv6功能卻需要單獨申請許可,方能使用。 在不加載License的情況下,交換機基本功能可以正常使用。但是不支持MPLS ***、NQA和IPv6功能。

本文以9306爲案例。

一、如何申請license?

申請License需要提供ESN給華爲銷售人員或代理商。

於S9306的license文件中的ESN(Equipment Serial Number,設備序列號)是存儲在設備的背板backplane上。。

登陸設備 查看ESN號,用以申請相應的許可。許可文件將是以DAT爲擴展名的一個文本文件。

<S9306-01>disp esn

ESN of backplane: 020PBVD0A9101013

二、上傳license文件

1、可以在9306交換機上開啓FTP功能,將9306作爲FTP服務端來上傳文件。

[AQY-S9306-02]ftp server enable
Info: Succeeded in starting the FTP server.

在電腦終端上用FTP客戶端上傳許可文件。

2、也可以將9306作爲你的FTP客戶端從你的電腦上下載許可文件。 順帶提一句,備份和升級固件、配置均可以用這個方法。

比如我用3CDaemon來作爲常FTP服務端。配置許可所在目錄,建立帳號和密碼。電腦地址爲:192.168.1.8

20131021113519

上傳文件:

<AQY-S9306-01>ftp 192.168.1.8

Trying 192.168.1.8 ...
Press CTRL+K to abort
Connected to 192.168.1.8.
220 3Com 3CDaemon FTP Server Version 2.0
User(192.168.1.8:(none)):tzq
331 User name ok, need password
Enter password:
230 User logged in

[ftp]ls
200 PORT command successful.
150 File status OK ; about to open data connection
.
..
Demo_QuidwayS9300_V100R003_All_20130926-1.dat
226 Closing data connection
FTP: 101 byte(s) received in 0.060 second(s) 1.68Kbyte(s)/sec.

[ftp]get Demo_QuidwayS9300_V100R003_All_20130926-1.dat
200 PORT command successful.
150 File status OK ; about to open data connection
226 Closing data connection; File transfer successful.
FTP: 1675 byte(s) received in 0.087 second(s) 19.25Kbyte(s)/sec.

驗證一下,文件是否上傳成功:

<S9306-01>dir
Directory of cfcard:/

Idx Attr Size(Byte) Date Time FileName
0 -rw- 26,184,259 Nov 27 2010 09:33:30 s9300.cc
1 drw- - Oct 06 2013 21:32:26 logfile
2 -rw- 198 Jan 22 2013 00:40:16 $_patchstate_a
3 -rw- 4 Oct 21 2013 04:47:44 snmpnotilog.txt
4 -rw- 524,405 Feb 10 2012 16:16:38 private-data.txt
5 -rw- 1,702,024 Nov 27 2010 09:52:06 s9300v100r002sph010.pat
6 -rw- 140,708 Jan 22 2013 00:40:16 patchhistory
7 -rw- 4,953 Oct 09 2013 18:16:14 vrpcfg.zip
8 -rw- 2,839,729 Jan 21 2013 16:39:12 s9300v100r002sph022.pat
9 -rw- 14 Oct 21 2013 09:41:20 system_sj_a
10 -rw- 14 Oct 21 2013 09:41:20 system_sj_b
11 -rw- 1,675 Oct 21 2013 11:08:14 demo_quidways9300_v100r003_all_20130926-1.dat

500,192 KB total (459,240 KB free)

三、註冊激活license文件

在沒有激活license文件之前,查看一下license許可證情況,顯示沒有激活license。

<AQY-S9306-02>disp license
Info: License activated does not exist on master board.

我們開始激活吧!

<S9306-01>license active demo_quidways9300_v100r003_all_20130926-1.dat
Info: The License is being activated. Please wait for a moment.
Info: No License was activated on slave board.

這個錯誤提示是什麼 意思呢?原來咱們的9306支持主備兩個主控板。其實一個活動的主控板爲當前主控板,咱們上傳的license文件就在這個主控板上,另一塊爲備用主控板,它上面是不會有license文件呢,如果設備 主控板發生切換,而原來的備機上沒有license文件,就會有問題。因此需要同步這個license文件到備用主控板。

<S9306-01>copy demo_quidways9300_v100r003_all_20130926-1.dat slave#cfcard:/
Warning: File cfcard:/demo_quidways9300_v100r003_all_20130926-1.dat will be copied to slave#cfcard:/demo_quidways9300_v100r003_all_20130926-1.dat. Continue? [Y/N]:y
Info: Copying file cfcard:/demo_quidways9300_v100r003_all_20130926-1.dat to slave#cfcard:/demo_quidways9300_v100r003_all_20130926-1.dat

同步完主備用主控板license文件後,咱們就可以進行激活操作了。再來激活:

<S9306-02>license active demo_quidways9300_v100r003_all_20130926-1.dat
Info: The License is being activated. Please wait for a moment.
PRD_VER not matched, but locate single segment with PRD_NAME & PRD_ESN
Info: Succeeded in activating the License file on the master board.
PRD_VER not matched, but locate single segment with PRD_NAME & PRD_ESN
Info: Succeeded in activating the License file on the slave board.

提示成功!那咱們來驗證一下吧

<S9306-01>display license
Active License on master board: cfcard:/demo_quidways9300_v100r003_all_20130926-1.dat

Huawei Technologies Co., Ltd.
All rights reserved.
Product name : Quidway S9300
Product version : V100R002
License Serial No : LIC20130926111F10
Creator : Huawei Technologies Co., Ltd.
Created Time : 2013-09-26 16:04:12
Feature name : ACCESS
Authorize type : DEMO
Expired date : 2013-12-25
Trial days : 60
Expired date of software maintain : 0000-00-00
Expired date of hardware maintain : 0000-00-00
Expired date of free software update : 0000-00-00
Configure items :
Item name : LLE0IPV601 value : 1
Item name : LLE0MPLS01 value : 1
Item name : LLE0NQAF01 value : 1

Active License on slave board: slave#cfcard:/demo_quidways9300_v100r003_all_20130926-1.dat

Huawei Technologies Co., Ltd.
All rights reserved.

Product name : Quidway S9300
Product version : V100R002
License Serial No : LIC20130926111F10
Creator : Huawei Technologies Co., Ltd.
Created Time : 2013-09-26 16:04:12
Feature name : ACCESS
Authorize type : DEMO
Expired date : 2013-12-25
Trial days : 60
Expired date of software maintain : 0000-00-00
Expired date of hardware maintain : 0000-00-00
Expired date of free software update : 0000-00-00
Configure items :
Item name : LLE0IPV601 value : 1
Item name : LLE0MPLS01 value : 1
Item name : LLE0NQAF01 value : 1

搞定收工。哦不,現在你就可以去使有你需要的增加型功能了。其他華爲設備的激活許可功能方法基本一致,本文可作參考。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章