Re: Restore the default settings HP 8/8 Base SAN Switch (90 Views)
Reply
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 1 of 13 (193 Views)

Restore the default settings HP 8/8 Base SAN Switch

[ Edited ]

Hello Please help. I have HP 8/8 Base SAN Switch and I want to restore the default settings. Restore the default settings via the web interface failed. I tried to load the new configurationю. Everything remains as it was.
Command configdefault didn't help too. everytime all settings remain as it was.
Why its heppend?

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,212
Registered: ‎10-02-2001
Message 2 of 13 (188 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

Try this:

cfgclear
cfgsave
switchdisable
configDefault
switchenable






NOTE: When using configdefault , all configuration parameters are reset to their default values with the exception of the following:
Ethernet MAC address, IP address, subnetmask, and boot ROM parameters
IP gateway address
License keys
OEM customization
Product ID and Vendor ID
SNMP configuration
iSCSI configuration
System name
Chassis name
World Wide Name
Zoning configuration (includes aliases, zones, and configurations)
Security parameters and policies
User account passwords (includes all user config and all built-in accounts)
Switch PID format
Ethernet Link Mode

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 3 of 13 (181 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

i tried:

cfgclear
cfgsave
switchdisable
configDefault -all
switchenable

Didn't help.

Framework v7.2.0b
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,212
Registered: ‎10-02-2001
Message 4 of 13 (173 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

Did you capture the session?

Please do and post.


See also

http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay?javax.portlet.begCache...

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 5 of 13 (170 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

FCSWA5:admin> cfgclear
The Clear All action will clear all Aliases, Zones, FA Zones
and configurations in the Defined configuration.
Run cfgSave to commit the transaction or cfgTransAbort to
cancel the transaction.
Do you really want to clear all configurations? (yes, y, no, n): [no] yes


FCSWA5:admin> cfgsave
WARNING!!!
The changes you are attempting to save will render the
Effective configuration and the Defined configuration
inconsistent. The inconsistency will result in different
Effective Zoning configurations for switches in the fabric if
a zone merge or HA failover happens. To avoid inconsistency
it is recommended to commit the configurations using the
'cfgenable' command.

Do you want to proceed with saving the Defined
zoning configuration only? (yes, y, no, n): [no] yes
"fcswk5" not found


FCSWA5:admin> switchdisable


FCSWA5:admin> configdefault
Executing configdefault...Please wait
Already in Native Mode continuing with configDefault
Committing configuration ... done.
The switch has to be rebooted to allow the changes to take effect.
2014/01/22-14:28:25, [CONF-1031], 618050, FID 128, INFO, FCSWA5, configDefault completed successfully for switch.


FCSWA5:admin> switchenable
WARNING:Switch is Persistently disabled the command will temporarily enable the switch.

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,212
Registered: ‎10-02-2001
Message 6 of 13 (167 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

I found another command sequence, the difference is a cfgdisable in the beginning, please try this too. Finally do y reboot.

Did you reboot the switch already?


switchdisable

cfgdisable (hit "y" at prompt)

cfgclear (hit "y" at prompt)

cfgsave (hit "y" at prompt)

configdefault

switchenable

reboot

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 7 of 13 (162 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

[ Edited ]

Yes rebooted it.
I want to reset all settings. Name, IP and all the rest. I use the command "configdefault -all".

 

switchdisable

cfgdisable (hit "y" at prompt)

cfgclear (hit "y" at prompt)

cfgsave (hit "y" at prompt)

configdefault -all

switchenable

reboot

 

But after a reboot all settings remain, Name, username, password, IP.


Is it possible to do through Shell?

 

 

 

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,212
Registered: ‎10-02-2001
Message 8 of 13 (154 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

The fabric OS user guide says:

"In some cases, the configRemoveAll root command is required for reset. If that is the case,
contact your system administrator",

so try "configremoveall -all"

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 9 of 13 (149 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

[ Edited ]

Tried, but he asks
configremove [options] [filename] , because he had not found "configremoveall -all" and "configremove -all" too.

I used configremove -local config,.txt

Then i used "configdefault -all" and reboot. But sittengs remain.

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,212
Registered: ‎10-02-2001
Message 10 of 13 (133 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

Did you do a "switchdisable" before?

It would be helpful to see the session log ... always.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 11 of 13 (125 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

yes i did "switchdisable".

But I can show the log tomorrow.
Please use plain text.
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 12 of 13 (109 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

[ Edited ]

FCSWA5:admin> configremove -all
configremove: unrecognized option `-all'
configremove Usage:
configremove [options] [<filename>]
Options:
-h Help. Prints this help information.
-local Remove config file previously created by configUpload -local <filename>
-USB Remove config file previously created by configUpload -USB <filename>
-U Same as -U above.
Run the command without <filename> for interactive mode.

FCSWA5:admin> configremove -local
File Name [config.txt]:

configremove: File config.txt not found
FCSWA5:admin> configremove -U

configremove: USB device either not present or not enabled
FCSWA5:admin> configlist

configlist: -local or -USB required
FCSWA5:admin> configlist -local
config,.txt 13522 2014 Jan 22 12:54
FCSWA5:admin> configremove -local config,.txt
2014/01/22-15:09:16, [CONF-1032], 618078, FID 128, INFO, FCSWA5, configRemove c ompleted successfully local file.
Removed the file config,.txt.
FCSWA5:admin> configlist -local
No files found
FCSWA5:admin> configdefault -all
Executing configdefault...Please wait
setting the default config on switch FCSWA5
Already in Native Mode continuing with configDefault
Committing configuration ... done.
The switch has to be rebooted to allow the changes to take effect.
Do you want to reboot the system (y/n) [y]: y
2014/01/22-15:09:45, [CONF-1031], 618079, FID 128, INFO, FCSWA5, configDefault completed successfully for all.
2014/01/22-15:09:46, [RAS-1007], 618080, CHASSIS, INFO, Brocade300, System is a bout to reboot.
Restarting system.

Please use plain text.
Occasional Advisor
Caraganda
Posts: 8
Registered: ‎01-22-2014
Message 13 of 13 (90 Views)

Re: Restore the default settings HP 8/8 Base SAN Switch

tried everything. nothing helped
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation