NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
M4300NG
Jun 27, 2024Follower
Importing saved config with credentials (M4300 series)
I want to backup and restore/import a saved configuration from a Netgear M4300 - potentially to a different physical switch of identical model/firmware (v12.0.17.12). I've been able to do this successfully with the exception of SNMPv3 user credentials when importing in to a different switch from the one that the account was originally created on.The account will be listed in the second device, but fails to authenticate as if the password is bad.
It's almost as if the account authentication hashes created are bonded to the specific switch the hash was created on, possibly using CPU ID or a private key as inputs?
Steps to reproduce:
- Create SNMPv3 user in Netgear M4300 #1
- Using snmpwalk, verify user successfully authenticates
- Export text config
- Delete created user
- Confirm snmpwalk fails, as expected, unknown user
- Import text config in to M4300 #1, and verify user works again
- Import the same config in to M4300 #2
- Inspect that SNMPv3 user entry exists as expected
- Using snmpwalk, observe failed authentication
Using switch #1, if I delete the user, manually recreate it with identical credentials, and export to text config, I can see the hash always remains the same. ABC input always results in XYZ hash consistently. But if I manually create the same user, with the exact same credentials, on switch #2, the exported hash is completely different.
It appears there is no way to backup a config and be able to restore the included credentials unless it's to the originating device the password hash was originally created on. Is this documented/expected behavior? Or possibly a bug? Might there be a workaround or alternative path?
No RepliesBe the first to reply
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!