Skip to content

Note

不挑戰記憶力的技術筆記

Menu
Menu

>[HP]ProCurve 2610 basic config

Posted on 2011 年 1 月 13 日 by febr

>commands與Cisco雷同,存檔、config、ping、traceroute然後不要的項目no掉就好。
回復初廠值和清除密碼請準備可以戳的細小堅固物體(Exmple:迴紋針)。

commonly use commands:
?:查看當前可用的所有命令
show:配合後面指令,查看狀態用
no:不要的就砍掉
exit:退出
end:回到#

Show:
hostname#  show version

Image stamp:    /sw/code/build/nemo(ndx)

                           May 16 2010 23:43:19

                           R.11.54

                           2

Boot Image:    Primary

//R.11.54為版本

hostname#  show console

Console/Serial Link


  Inbound Telnet Enabled [Yes] : Yes

  Web Agent Enabled [Yes] : Yes

  Terminal Type [VT100] : VT100

  Screen Refresh Interval (sec) [3] : 3

  Displayed Events [All] : All


  Baud Rate [Speed Sense] : speed-sense

  Flow Control [XON/XOFF] : XON/XOFF

  Session Inactivity Time (min) [0] : 0

hostname#  show [config/running-config] status
會提出訊息更改running-config後是否有存檔:
Running configuration has been changed and needs to be saved.
or
Running configuration is same as the startup configuration.
*upgrade:(previous:R.11.30 ; Current:R.11.54)
配合TFTP使用
http://h10144.www1.hp.com/customercare/support/software/summarypages/r-j9085-c.htm
R_11_54.swi
Switch有兩個flash可以用
將更新檔案copy至secondary flash
hostname#  copy tftp flash 192.168.1.2 R_11_54.swi secondary
Validating and Writing System Software to FLASH…
hostname#  boot system flash secondary
從第二個複製到第一個:
hostname# copy flash flash primary
hostname# sh version
若有變更卻忘記存檔,系統重開時都會出現提醒列
P.S 沒有試過直接從TFTPcopy至當前使用的flash會發生什麼事

存檔:
#write memory

*set time:
sntp server 120.119.28.1
timesync sntp
sntp unicast

(config)#clock timezone gmt +8:00

Host name:
ProCurve Switch 2610-24(config)#  hostname
//不能有空白

設定帳號密碼:
只能設定一組,分為operator(read-only)和manager(read-write),
hostname(config)#  password [operator/manager/all] user-name username
接著輸入帳號密碼。

清除密碼:
hostname(config)#  no password [operator/manager/all]

忘記密碼:
壓住Clear兩秒即清除

vlan:
hostname(config)#  vlan ip address /
hostname(config)#  vlan ip address dhcp-bootp

hostname(config)#  vlan 1 ip address 192.168.1.1/24
hostname(config)#  ip default-gateway 192.168.1.254/24

vlan

interface : 
hostname(config)#  interface name hostname(config)#  interface 1 name port1
hostname# sh name
sh int breif

int 10
speed-duplex 100 full

針對port的流量限制:
[no] int rate-limit <0-100>int 1 rate-limit 60
sh rate-limit all

gateway:
hostname(config)#  ip default-gateway 192.168.1.1


回復出廠值:
Method 1 :
hostname#erase startup-config

Method 2 : (unfinished)
(嘗試過但是無效,暫時用方法1)同時按住reset和clear按鈕,燈全亮後後放開reset,待Test燈滅掉後放開clear,switch的燈會保持全亮的狀態。
hostname(config)#  [no] front-panel-security [password-clear reset-on-clear]


注意:密碼並不會清除

*Switch config backup and recover:
backup:
copy tftp [pc|unix]
copy config tftp [pc|unix]
copy startup-config tftp 192.168.1.2 pc2610.cgf pc
recover:
copy tftp   [pc|unix]

copy tftp config [pc|unix]

copy tftp startup-config 192.168.1.2 pc2610.cgf pc

Terminal:
web介面:
hostname(config)#  [no] web-management

telnet:

hostname(config)#  [no] telnet-server



unfinished note:

LLDP
#sh lldp config
#[no] lldp run

hostname(config)#  interface name
hostname#  show interfaces [brief/config/]

發佈留言 取消回覆

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

近期文章

  • [AWS] S3 Object Initiate restore (復原回 Standard)
  • [Windows] 使用者快速登出的方法 Logout/ Logoff/Sign Out from Windows User Account
  • [Windows] Windows 11 安裝Server管理工具Install RSAT(Remote Server Administrator Tools)
  • Chrome出現:你的連線不是私人連線 Your connection is not private
  • [C#] 取得 Request URL 的方法

近期留言

    彙整

    分類

    • Ajax
    • Android
    • ASP
    • ASP.NET MVC
    • Azure
    • C#
    • Cisco
    • CSS
    • Delphi
    • Developer Tools
    • Framework
    • FreeBSD
    • Git
    • HTML5
    • javascript
    • jQuery
    • Juniper
    • Linux
    • Mac
    • PHP
    • Python
    • Server&OS
    • Software
    • SQL server
    • Sublime Text
    • Ubuntu
    • Visual Studio
    • Vmware
    • Web Design
    • Web Development
    • Windows
    • WordPress
    • 未分類
    • 未分類

    彙整

    分類

    • Ajax
    • Android
    • ASP
    • ASP.NET MVC
    • Azure
    • C#
    • Cisco
    • CSS
    • Delphi
    • Developer Tools
    • Framework
    • FreeBSD
    • Git
    • HTML5
    • javascript
    • jQuery
    • Juniper
    • Linux
    • Mac
    • PHP
    • Python
    • Server&OS
    • Software
    • SQL server
    • Sublime Text
    • Ubuntu
    • Visual Studio
    • Vmware
    • Web Design
    • Web Development
    • Windows
    • WordPress
    • 未分類
    • 未分類

    其他操作

    • 登入
    • 訂閱網站內容的資訊提供
    • 訂閱留言的資訊提供
    • WordPress.org 台灣繁體中文
    © 2025 Note | Powered by Superbs Personal Blog theme