S9300系列交換機做爲華爲主要運營商級、企業級核心、匯聚交換機,普遍應用在各行各業的不一樣環境下。可是做爲重要功能的MPLS ×××、NQA和IPv6功能卻須要單獨申請許可,方能使用。 在不加載License的狀況下,交換機基本功能能夠正常使用。可是不支持MPLS ×××、NQA和IPv6功能。ide
本文以9306爲案例。ui
1、如何申請license?spa
申請License須要提供ESN給華爲銷售人員或代理商。代理
於S9306的license文件中的ESN(Equipment Serial Number,設備序列號)是存儲在設備的背板backplane上。。server
登錄設備 查看ESN號,用以申請相應的許可。許可文件將是以DAT爲擴展名的一個文本文件。blog
<S9306-01>disp esn ip
ESN of backplane: 020PBVD0A9101013rpc
2、上傳license文件get
一、能夠在9306交換機上開啓FTP功能,將9306做爲FTP服務端來上傳文件。同步
[AQY-S9306-02]ftp server enable
Info: Succeeded in starting the FTP server.
在電腦終端上用FTP客戶端上傳許可文件。
二、也能夠將9306做爲你的FTP客戶端從你的電腦上下載許可文件。 順帶提一句,備份和升級固件、配置都可以用這個方法。
好比我用3CDaemon來做爲常FTP服務端。配置許可所在目錄,創建賬號和密碼。電腦地址爲:192.168.1.8
上傳文件:
<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)
3、註冊激活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
搞定收工。哦不,如今你就能夠去使有你須要的增長型功能了。其餘華爲設備的激活許可功能方法基本一致,本文可做參考。