- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
M4300 - Question regarding place were the stack config is stored?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Community,
I am using multiple stacks of M4300.
However, I have problems with the stack at one customer.
Maybe something was missed during the setup and so I booted the mini stack from two 8x8 switches with factory-defaults. My normal config was deleted, but there was still the config around the stack!
In which file is the stack config stored and with which CLI command can I really delete everything?
Thanks in advance
Dirk
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HOW TO TOTALLY CLEAR STACK CONFIG FROM ONE SWITCH:
- POWER DOWN THE SWITCH WE WANT TO REMOVE FROM THE STACK
- DISCONNECT THE STACKING CABLES COMING TO AND/OR STARTING FROM THAT SWITCH
- RESTART THIS SWITCH SEPARATE, IN STANDALONE MODE
- LOG INTO THE CONSOLE
- ISSUE FOLLOWING COMMANDS:
User:admin
Password:
(M4300-8X8F) >en
(M4300-8X8F) #config
(M4300-8X8F) (Config)#switch 1 priority 1
(M4300-8X8F) (Config)#exit
(M4300-8X8F) #write memory
(M4300-8X8F) #erase stack-config
-->it reboots. After reboot, the switch is standalone.
Optional: Clear the configuration
User:admin
Password:
(M4300-8X8F) >en
(M4300-8X8F) #clear config
(M4300-8X8F) #reload
Are you sure you want to reload the stack? (y/n) y
MANUAL Method
Manually if switch 2 disconnected from the 3-switch stack:
(M4300-8X8F) (Config)#stack
(M4300-8X8F) (Config-stack)#no member 1
(M4300-8X8F) (Config-stack)#no member 3
(M4300-8X8F) (Config-stack)#stack-port 2/0/9 ethernet
(M4300-8X8F) (Config-stack)#stack-port 2/0/10 ethernet
(M4300-8X8F) (Config-stack)#exit
(M4300-8X8F) (Config)#switch 2 renumber 1 but it requires reboot......
(M4300-8X8F) (Config)#switch 1 priority 1
(M4300-8X8F) (Config)#exit
(M4300-8X8F) #write memory
(M4300-8X8F) #reload
I hope this will help, please let us know how it goes!
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: M4300 - Question regarding place were the stack config is stored?
You may use the clear config command in Privileged EXEC Mode to reset the switch configuration to its factory default settings without powering off the switch. As reference. kindly read page 240 of the M4300 CLI Reference Manual here.
Regards,
DaneA
NETGEAR Community Team
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: M4300 - Question regarding place were the stack config is stored?
Hi DaneA,
thank you for the provided CLI reference guide.
Unfortunately the CLI command "clear config" again only deleted the standard configuration, like VLANs, Port-description, etc. Furthermore all settings around STACKING are still available! The previously configured stacking ports are still there, but also the priorities of the stack members. It must be somehow possible to delete everything?
I am glad for all tips.
Thanks and greetings in advance
festus4711
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HOW TO TOTALLY CLEAR STACK CONFIG FROM ONE SWITCH:
- POWER DOWN THE SWITCH WE WANT TO REMOVE FROM THE STACK
- DISCONNECT THE STACKING CABLES COMING TO AND/OR STARTING FROM THAT SWITCH
- RESTART THIS SWITCH SEPARATE, IN STANDALONE MODE
- LOG INTO THE CONSOLE
- ISSUE FOLLOWING COMMANDS:
User:admin
Password:
(M4300-8X8F) >en
(M4300-8X8F) #config
(M4300-8X8F) (Config)#switch 1 priority 1
(M4300-8X8F) (Config)#exit
(M4300-8X8F) #write memory
(M4300-8X8F) #erase stack-config
-->it reboots. After reboot, the switch is standalone.
Optional: Clear the configuration
User:admin
Password:
(M4300-8X8F) >en
(M4300-8X8F) #clear config
(M4300-8X8F) #reload
Are you sure you want to reload the stack? (y/n) y
MANUAL Method
Manually if switch 2 disconnected from the 3-switch stack:
(M4300-8X8F) (Config)#stack
(M4300-8X8F) (Config-stack)#no member 1
(M4300-8X8F) (Config-stack)#no member 3
(M4300-8X8F) (Config-stack)#stack-port 2/0/9 ethernet
(M4300-8X8F) (Config-stack)#stack-port 2/0/10 ethernet
(M4300-8X8F) (Config-stack)#exit
(M4300-8X8F) (Config)#switch 2 renumber 1 but it requires reboot......
(M4300-8X8F) (Config)#switch 1 priority 1
(M4300-8X8F) (Config)#exit
(M4300-8X8F) #write memory
(M4300-8X8F) #reload
I hope this will help, please let us know how it goes!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: M4300 - Question regarding place were the stack config is stored?
Hi Laurant,
thank you for the provided information.
In which file is the Stack-Configuration saved?
I think it´s not the startup-config file...
Thanks in advance.
Kind Regards,
festus4711