Reference File and Links
1. HP OpenFlow Administrator Guide
2. HP2920_InstallationGuide (As an attached file at the end of this page)
3. Different Firmware versions
回復原廠設定
同時按下交換器左下角reset跟clear鍵, 放開reset鍵, 持續按clear鍵直到test燈號閃爍即可放開(約25秒)
Putty Setting
(Access HP switch through console port)
PUTTY serial link(COM1 or COM3)
RJ45 Management port
Any Baud Rate between 1200 and 115200
8 data bits
1 stop bit
no parity
flow control – Xon/Xoff
(default設定就是這樣 不用改)
What you see after a successful putty connection
Connected at 9600 baud
HP J9726A 2920-24G Switch
Software revision WB.15.16.0004
Copyright (C) 1991-2014 Hewlett-Packard Development Company, L.P.
RESTRICTED RIGHTS LEGEND
Confidential computer software. Valid license from HP required for possession,
use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
Software, Computer Software Documentation, and Technical Data for Commercial
Items are licensed to the U.S. Government under vendor's standard commercial
license.
HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
20555 State Highway 249, Houston, TX 77070
We'd like to keep you up to date about:
* Software feature updates
* New product announcements
* Special events
Please register your products now at: www.hp.com/networking/register
Press any key to continue
How to reset all passwords in switch? ( In case you don't know the password)
Press "clear" button at front left rear side, longer than 1 sec but shorter than 5 secs. Then all the password will be removed.
Enable OpenFlow Setting
HP-2920-24G> enable
HP-2920-24G#
HP-2920-24G# config
HP-2920-24G(config)#
HP-2920-24G(config)# openflow enable
HP-2920-24G(config)# exit
HP-2920-24G# show openflow
OpenFlow : Enabled
IP Control Table Mode : Disabled
Egress Only Ports Mode : Disabled
Instance Information
No. of No. of OpenFlow
Instance Name Oper. Status H/W Flows S/W Flows Version
--------------------------------- ------------ ---------- ---------- --------
openflow1 Up 0 0 1.0
Change OpenFlow Version from 1.0 to 1.3
HP-2920-24G> enable
HP-2920-24G#
HP-2920-24G# config
HP-2920-24G(config)# openflow instance openflow1 version 1.3
^^^^^^^^^^
上述名稱會不同, 要用show openflow看
Delete Controller
HP-2920-24G> enable
HP-2920-24G#
HP-2920-24G# config
HP-2920-24G(config)# openflow instance openflow1 disable
^^^^^^^^^^
上述名稱會不同, 要用#show openflow看
HP-2920-24G(config)# no openflow controller-id 1
^^
上述數字會不同, 要用#show openflow controller看
HP-2920-24G(config)# openflow instance openflow1 enable
HP-2920-24G(config)# exit
HP-2920-24G# show openflow controller
Create a Instance and a Controller then add Controller into Instance
HP-2920-24G> enable
HP-2920-24G#
HP-2920-24G# config
HP-2920-24G(config)# openflow instance openflow1 (如果你沒有Instance先建立一個)
^^^^^^^^^^
自己取一個instance名稱
HP-2920-24G(config)# openflow instance openflow1 disable
^^^^^^^^^^
跟你剛剛創建的Instance相同名稱
HP-2920-24G(config)# openflow controller-id 1 ip 192.168.68.132 port 6633 controller-interface vlan 1
(創立一個controller-id為1, IP位址在192.168.68.132的controller, 其port為6633, 且使用vlan 1)
HP-2920-24G(config)# openflow instance openflow1 controller-id 1
(把controller跟instance做連結)
HP-2920-24G(config)# openflow instance openflow1 enable
HP-2920-24G(config)# exit
HP-2920-24G# show openflow