× NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Orbi WiFi 7 RBE973
Reply

M4300 - Question regarding place were the stack config is stored?

festus4711
Aspirant

M4300 - Question regarding place were the stack config is stored?

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

Model: XSM4316S|M4300-8X8F - Stackable Managed Switch with 16x10G including 8x10GBASE-T and 8xSFP+ Layer 3
Message 1 of 5

Accepted Solutions
LaurentMa
NETGEAR Expert

Re: M4300 - Question regarding place were the stack config is stored?

Hi, yes stacking configuration is stored at a different place. Please find these how-to's, you can use the general command, or delete stacking configuration manually. Below is CLI, but obviously you can follow the manual method in the GUI as well.

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!

View solution in original post

Message 4 of 5

All Replies
DaneA
NETGEAR Employee Retired

Re: M4300 - Question regarding place were the stack config is stored?

@festus4711,

 

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

Message 2 of 5
festus4711
Aspirant

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

Message 3 of 5
LaurentMa
NETGEAR Expert

Re: M4300 - Question regarding place were the stack config is stored?

Hi, yes stacking configuration is stored at a different place. Please find these how-to's, you can use the general command, or delete stacking configuration manually. Below is CLI, but obviously you can follow the manual method in the GUI as well.

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!
Message 4 of 5
festus4711
Aspirant

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

Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 1942 views
  • 1 kudo
  • 3 in conversation
Announcements