其指令和原本的 HP ProCurve 不大一樣
將 HP A5500 設定恢復原廠預設值的指令如下:
(其它A系列的應該也適用)
<HP>rest saved
至於 HP 與 Cisco 網路交換器指令的對照表,則可以參考底下
HP原廠的文件
The most content which tagged as "科技英文" came from the class content in "Engineering English", it was taught by Porf. Mao Qu-Wu, Dept. of Electrical Engineering, National Cheng Kung University. The others are my working experience and notes for references.
上述指令輸出的資訊,識別碼 3為目前使用中的遠端桌面 session, 識別碼1則是已經斷掉但還佔用中的連線,在這種狀況下,就要把識別碼 1 的 session 刪除,刪除使用底下指令:
工作階段名稱 使用者名稱 識別碼 狀態 類型 裝置console 0 已連線 wdconrdp-tcp 65536 接聽 rdpwd Administrator 1 已中斷連線 rdpwd>rdp-tcp#3 Administrator 3 使用中 rpdwd
create account admin admin
Enter a case-sensitive new password:********
Enter the new password again for confirmation:********
上述指令為建立 admin 這個帳號,輸入完成後會需要輸入兩次密碼確認
config account <username>
輸入上述指令後,會出現要求輸入舊密碼,然後再輸入兩次新密碼即可
show ipif
config ipif System ipaddress xxx.xxx.xxx.xxx/24
子網路遮罩(submask)依照原廠說明書是以上述表示方式,而一般 255.255.255.0
config vlan MGM add untagged 1:1-1:21,1:23 advertisement enable
上述指令為將 Port 1-21, 23加入vlan MGM當中,advertisement設定為 enable 則是用於宣告此vlan,advertisement 設定僅 D-Link 設備才有,建議打開。
a. 進入Switch Web介面,L2 Features / LLDP / LLDP / LLDP Global Setting
將LLDP State與LLDP Forward Message更改為 enable,此頁面下方的System Name是在System Configuration / System Information Setting 中設定。
b. 進入Switch Web介面,L2 Features / LLDP / LLDP / LLDP Baasic TLVs Setting
假設所有的 port 都開 lldp,則From Port 選 01, To Port 選 24,再將其中的 Port Description, System Name, System Description,System Capabilities(這個不確定作用,但勾了好像沒壞處),全部勾選, 再按下 apply 即可。
D-Link 的 vlan 是認名稱而非 vlan ID. 若管理用的 vlan 並非使用預設的 vlan (名稱: default),則必需在 Management / IP Interface / System IP Address Settings 中將 Management VLAN Name 更改為要使用的管理 vlan 名稱