? - List all available commands
h - List all available commands
b - Boot an executable p_w_picpath
g - Boot an executable p_w_picpath with default configurations
u - Load and boot an executable p_w_picpath
l - Load configuration file and boot an executable p_w_picpath
r - Reboot system
Press 'h' or '?' To get helping information.
此时输入g:告诉设备装载HOS,然后按照默认的配置进行引导。这样设备将按照默认配置进入操作系统,系统默认的用户名密码是:admin/harbour,enable的密码是harbour。
!HammerOS system config file
hostname cditlab_ipdata
!
create vlan ipdata tag 100
config vlan ipdata add port 24 tagged
config vlan ipdata add port 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 untagged
config port 1 inputvlan ipdata
config port 2 inputvlan ipdata
config port 3 inputvlan ipdata
config port 4 inputvlan ipdata
config port 5 inputvlan ipdata
config port 6 inputvlan ipdata
config port 7 inputvlan ipdata
config port 8 inputvlan ipdata
config port 9 inputvlan ipdata
config port 10 inputvlan ipdata
config port 11 inputvlan ipdata
config port 12 inputvlan ipdata
config port 13 inputvlan ipdata
config port 14 inputvlan ipdata
config port 15 inputvlan ipdata
config port 16 inputvlan ipdata
config port 17 inputvlan ipdata
config port 18 inputvlan ipdata
config port 19 inputvlan ipdata
config port 20 inputvlan ipdata
config port 21 inputvlan ipdata
config port 22 inputvlan ipdata
config port 23 inputvlan ipdata
config ipaddress 192.168.1.100 255.255.255.0
!
!
!STPD config
!
!
!
!
!
!
!
!
!
!Port bind config
!
!
!
!
!
user add admin login-password b58317da28dc92ba6c5509c317c633b8
user role admin ADMIN enable-password c10d2cf2b4494982558849e8b9c5b129
!
!
!Web manage service config
!
!
!
!
!
!End of config
!User Name : admin
!Address : console
!Through : Cli
!End
Harbour(config)#
如果对FTP或者XMODEM协议不是非常熟悉的建议采用第一种方式:删除原来的startup-configration(命令是erase startup-config),然后按照内容进行一项一项逐一进行配置即可。所有的配置完成之后,保存!(save start-configration)